Jump to content

b_suneetha

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by b_suneetha

  1. hi friendz,,,,can anyone tell me how the web page can be displayed without the scrollbars.i had used the following code in between stylebody{overflow:hidden}but if there is any overflow then i am unable to view the page so help me out

  2. how to validate a text box that takes only alphabets and not numeric using regular expression, i had written the code as follows, it is not taking the numeric but the combination that is aplha numeric it is taking. i need the text box to take only aphabets var a=/\D[a-z]\D/; if (document.asform.author.value.search(a)==-1) { alert("Please enter only letters"); document.asform.author.value=""; document.asform.author.focus(); return false; } else return true;

  3. hi all,i had written the code like thz,,but i am not getting the reference page in tha same window,,,can anybody aolve thz as i am new to thz.<html ><head><meta http-equiv="Content-Type" content="text/html><script type="text/javascript"><!--window.onload=montre;function montre(id) {var d = document.getElementById(id); for (var i = 1; i<=10; i++) { if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';} }if (d) {d.style.display='block';}}//--></script><style type="text/css"><!--body {background: white;padding:0;margin:0;font-family: verdana, arial, sans-serif;font-size: 90%;color: black;}dl, dt, dd, ul, li {margin: 0;padding: 0;list-style-type: none;}#menu {position: absolute;top: 1em;left: 1em;width: 10em;}#menu dt {cursor: pointer;background: #A9BFCB;height: 20px;line-height: 20px;margin: 2px 0;border: 1px solid gray;text-align: center;font-weight: bold;}#menu dd {position: absolute;z-index: 100;left: 8em;margin-top: -1.4em;width: 10em;background: #A9BFCB;border: 1px solid gray;}#menu ul {padding: 2px;}#menu li {text-align: center;font-size: 85%;height: 18px;line-height: 18px;}#menu li a, #menu dt a {color: #000;text-decoration: none;display: block;}#menu li a:hover {text-decoration: underline;}#mentions {font-family: verdana, arial, sans-serif;position: absolute;bottom : 200px;left : 10px;color: #000;background-color: #ddd;}#mentions a {text-decoration: none;color: #222;}#mentions a:hover{text-decoration: underline;}--></style></head><body><!-- Menu --><dl id="menu"> <dt onmouseover="java script:montre('smenu1');"><a href="#">Category</a></dt> <dd id="smenu1" onmouseover="java script:montre('smenu1');" onmouseout="java script:montre();"> <ul> <li><a href="logo.jpg" target="_top">categ</a></li> <li><a href="#">Menu 1.2</a></li> <li><a href="#">Menu 1.3</a></li> </ul> </dd> <dt onmouseover="java script:montre('smenu2');" onmouseout="java script:montre();">Menu 2</dt> <dd id="smenu2" onmouseover="java script:montre('smenu2');" onmouseout="java script:montre();"> <ul> <li><a href="#">Menu 2.1</a></li> <li><a href="#">Menu 2.2</a></li> </ul> </dd> <dt onmouseover="java script:montre('smenu3');" onmouseout="java script:montre();">Menu 3</dt> <dd id="smenu3" onmouseover="java script:montre('smenu3');" onmouseout="java script:montre();"> <ul> <li><a href="#">Menu 3.1</a></li> <li><a href="#">Menu 3.1</a></li> <li><a href="#">Menu 3.1</a></li> <li><a href="#">Menu 3.1</a></li> <li><a href="#">Menu 3.1</a></li> <li><a href="#">Menu 3.1</a></li> </ul> </dd> <dt onmouseover="java script:montre('smenu4');" onmouseout="java script:montre();">Menu 4</dt> <dd id="smenu4" onmouseover="java script:montre('smenu4');" onmouseout="java script:montre();"> <ul> <li><a href="#">Menu 4.1</a></li> <li><a href="#">Menu 4.1</a></li> </ul> </dd></dl><div id="mentions">Raphael GOETTER<br /> <a href="http://www.alsacreations.com">Alsacréations</a><br /> <a href="http://tutorials.alsacreations.com/deroulant">Back</a></div></body></html>

  4. hiI need a help regarding how to load other jsp page on click of a button from current jsp page.My requirement is that I have a jsp page with two check boxes and a submit button. I need to load another jsp page on clicking the submit button depending opens select check box.I m new to jspAny help will be sppreciated.

  5. hi guys,,,,i am new 2 thz javascript,,,, i have 2 doubts plz clarify them , itz urgent----there are 2 combo boxesone for CATEGORY and another for SUB CATEGORYi need the javascript code in which if i select a category all the corresponding sub categories should be displayed in the subcategory combo box from the database

  6. hi guys,,,,i am new 2 thz javascript,,,, i have 2 doubts plz clarify them , itz urgent-------i have a small doubt in thz,,,,in the first page all the details related to the category will be displayed. if i want to edit the category then i will check a check box,now if i click on edit button the details of the checkbox that i had checked should come ...Ex: if i checked on java category then, if i want to edit the details then i will click on edit button here it should display me the corresponding name and description that i had inserted in the category database.the category database is as follows:category(Id, name,description)

×
×
  • Create New...