Jump to content

Chandra.Vedantham@gmail.com

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by Chandra.Vedantham@gmail.com

  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>
  16. Hi,Check this out: <!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><title>Menu</title> <meta name="Author" content="Chandra Vedantham"> <meta name="Description" content="Html Page"> <style> *,body { background-color: "#FFFFF2"; margin-left: 0px; font-family: "Tahoma"; font-size: 11; color: Navy; margin-top: 0; margin-bottom: 0; margin-right: 0; } div.menucontainer { background-color: "#990000"; margin-left: 0px; padding-left: 2px; width:200px; height:100%; font-family: "Tahoma"; font-size: 11; color: Navy; margin-top: 0; margin-bottom: 0; margin-right: 0; } .menuitem { margin-left: 10px; margin-top: 1px; margin-bottom: 1px; margin-right: 1px; background-color: transparent; color: "#FFFFF2"; font-weight: bold; } .menuitem a { background-color: transparent; color: "#FFFFF2"; font-weight: bold; display: block; } </style></head><body> <div class="menucontainer"> <div class="menuitem"> <a href="#"> Chandu </a> <div class="menuitem"> <a href="#"> Sandeep </a> <a href="#"> Arnab </a> <a href="#"> Rigdhi </a> <a href="#"> Imran </a> </div> </div> <br/> <span class="menuitem">Another menu: </span><br/> <ul class="menuitem"> <li class="menuitem"> Chandu <ul class="menuitem"> <li class="menuitem">Sandeep</li> <li class="menuitem">Arnab</li> <li class="menuitem">Rigdhi</li> <li class="menuitem">Imran</li> </ul> </li> </ul> </div></body></html>
  17. Hi,You can change the stylesheet being used as given below: <!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><title></title> <meta name="Author" content="Chandra Vedantham"> <meta name="Description" content="Html Page"> <link id="lnkSheet" href="Chandu.css" rel="stylesheet" /></head><body> Chandu <script> var lnkSheet = document.getElementById("lnkSheet"); lnkSheet.href = "style.css"; </script> Chandu</body></html> Tweak the javascript code given above to suit your requirement.Still need some further help, let me know.
  18. Hi,Try using the styles for the leftcontent, main, and rightcontent as given below: #leftcontent { height: auto; width:100px; background:#ffffff; color:#475868; padding:10px 10px 0px 10px; margin:0px; display: inline; vertical-align: top; } #main { color:#475868; width:500px; height: 79%; background:#f5f5f5; border-left:1px dotted #475868; border-right:1px dotted #475868; padding:10px; margin:0px; display: inline; vertical-align: top; } #rightcontent { width:100px; height: auto; background:#ffffff; color:#475868; text-align:center; padding:0px 10px 10px 10px; margin:0px; display: inline; vertical-align: top; }
  19. Hi,Remove the ";" after the if(password==pass1) statement.It will work. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><script language="JavaScript" type="text/JavaScript"> var password; var pass1="sh95@hotmail.com" password=prompt('enter email',''); if(password==pass1){ window.location("text.txt"); } else alert("no access");</script></body></html>[code][/font]
  20. Hi,The simplest way is to use a hidden variable and keep add the selected items name as a concatenated string and assign it to the hidden variable on posting back the page you can get the selected items by using the string.Split() method.If u need more info.Let me know.
  21. Hi,Since the height of the container style is set as 100%, the footer appears far below the page.Setting the height to auto will fix the problem, however if the content is too less then the footer will look odd.Try it out and if it is not ok let me know.
×
×
  • Create New...