Jump to content

Chandra.Vedantham@gmail.com

Members
  • Posts

    21
  • Joined

  • Last visited

Chandra.Vedantham@gmail.com's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Is it possible to attach all the image files to this post?
  2. I agree with Moridian.It could be implemented in simple terms as having an approve and deny feature.The articles would be helpful for those who are looking for some help in creating a new set of component or utility or a Custom Control(as in Asp.Net since I am a .Net Guy )
  3. Hi,If somone wants to handle/disable right click doesn't always mean that is will be used to restrict the users from downloading the images or javscript source. Moreover it cannot be acheived in simple means.There could some instanes where the designer wants to incorporate a Windows style browsing (I have no experience with other UI based OS ) as in the Explorer View etc. In Such cases you can use the OnContextMenu event handler which is raised when a User right clicks on an element. It is equivalent to the OnClick event of the HTML DOM with only exception that the former is the result of the Right Click and the later is the result of the left click.
  4. Hi,You have a DOM property by name className which can be used to assign a CSS Class to a HTMl element.For e.g.: <elementVarName>.className = "blahblah";Refer to the HTMl Code Below: <!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><title>Dynamic Class</title> <meta name="Author" content="Chandra Vedantham"> <meta name="Description" content="Html Page"> <style> * { font-family: "Tahoma"; } .bigRed { font-size: 25px; font-weight: bold; color: "Red"; } .bigBlue { font-size: 25px; font-weight: bold; color: "Blue"; } </style></head><body> <div id="divTest">Chandu</div> <input type=button value="Make It Red!" onClick="divTest.className = 'bigRed'" /> <input type=button value="Make It Blue!" onClick="divTest.className = 'bigBlue'" /> <input type=button value="Make It Normal!" onClick="divTest.className = ''" /></body></html>
  5. As an aliter you can use a table and place your boxes in adjacent table cells.
  6. Hi,Couple of minor changes are required for the code you are using.First thing ins in the form tag.Return a boolean value whether the form is valid or not. This could be done by using return false in the else part of the errors = "" check of the contactCheck function.Also instead of using onsubmit = "contactCheck()" use onsubmit = "return contactCheck()" Finally in the contactCheck function if the error == "" then add the line below before the SignUpForm.submit() statement: SignUpForm.action= <Your Url>; This should solve your problem.Let me know for any further issues.
  7. Hi,You can use the innerText property exposed by the DOM to get the above output.
  8. So does this mean custom attributes can be used in the Commercial Web Designs.I got this doubt when I started working on creating a Tree Menu which is similar to the Microsoft Tree Menu.I was really confused if I can use Custom Attributes to maintain the states of the nodes of the tree and does it work on all browsers.But if a Product from Microsoft is using the custom attributes I just wanted to make sure if it is a part of the HTML standards.Thanks.
  9. Hi Gurus,Have one basic query that has been haunting me since a long time.In ASP.Net when we use a validator like the required field validator, it is rendered as a span element.So far so good.Span element also contains some attributes like "controltovalidate", "errormessage", "evaluationfunction" and "initialvalue", which for sure I believe are not a HTML compliant attributes.But strangely they seem to work as the validation process is carried out.How is it possible with the custom attributes in usage?Isn't this not violation of the HTML Standards?Can anyone explain me if I am wrong in my reasning or if this is a valid approach?Thanks.
  10. Hi,I have clicked on the "CLick Here" link and also on the Image, both of which are taking me to the required page which opens in the same window.What the problem you are talking about?Can you explain?Hi,I have clicked on the "CLick Here" link and also on the Image, both of which are taking me to the required page which opens in the same window.What the problem you are talking about?Can you explain?
  11. Hi,Put the picture of IFrame in a anchor tag and set the target attribute of the anchor tag to "_parent". THis should work. <a href="http://w3schools.invisionzone.com" target="_parent"><img src="<YOUR IMAGE PATH"/> </a> But are you using iframe only to show the picture or is there any other content.If it is being used to show the pciture then there is no point using the iframe you can use the img straight away inyour web Page.
  12. Hi,Is it possible to add the Articles section to this site, where in the users can add any good article about various technologies etc.. ?If this already exists can someone help me finding it out.Thanks!
  13. Hi,If you are trying to use this javascript in a HTML Page that is served by a server, you cannot achieve this as javascript cannot access files on the client machine.
  14. Hi,Looks like you have worked on aspnetguy's feedback.Now the site looks good!!Another choice for font would be Tahoma size=11px.Even this looks good!
  15. Hi,Hope this helps: <!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><title>Unhide</title> <meta name="Author" content="Chandra Vedantham"> <meta name="Description" content="Html Page"> <style> * { font-family: "Tahoma"; font-size: 11; color: Navy; } body { background-color: "#FFFFF2"; margin-left: 0; font-family: "Tahoma"; font-size: 11; color: Navy; margin-top: 0; margin-bottom: 0; margin-right: 0; } td.leftholder { width: 20%; background-color: "#D6D69E"; text-align: right; vertical-align: top; font-weight: bold; border-style: solid; border-width: 1px; border-color: black; padding-right: 15px; } td.rightholder { width: 80%; border-style: solid; border-width: 1px; border-color: black; text-align: left; vertical-align: top; padding-left: 15px; } .text { text-align: left; border-width: 1px; border-color: Gray; border-style: inset; margin-top: 1px; margin-bottom: 1px; } .title { font-weight: bold; color: #993300: font-size: 15px; } </style></head><body> <br/> <br/> <table width="100%" rules="all" bordercolor="black" border="1" cellspacing=0 cellpadding=0 style="border-collapse:collapse"> <tr> <td colspan=2 ><span class="title">Fill all the details:</span></td> </tr> <tr> <td class="leftholder">Name</td> <td class="rightholder"><input type="text" class="text" /></td> </tr> <tr> <td class="leftholder">Address</td> <td class="rightholder"><input type="text" class="text" /></td> </tr> <tr> <td class="leftholder"> Telephone<input type="checkbox" onClick="txtTelephone.style.visibility = (this.checked)?'':'hidden'"/> </td> <td class="rightholder" align="center"> <input type="text" class="text" id="txtTelephone" style="visibility:hidden"/> </td> </tr> </table></body></html>
×
×
  • Create New...