Re: JavaScript for Dropdown HTML control
I think that you want the coding very similar to the search box. Because in search also, when the user clicks on a link, the content drops down and is shown on demand. So I have provided you with an example of drop down search box. The following example shows a search form that drops to the right of a DIV when clicked on. And below is the code for that :
Code:
<div id="src_parent">Site Search</div>
<form id="src_child">
<b>Enter search terms:</b>
<br />
<input type="text" name="Conditions" size="25" />
<center>
<input type="submit" value="Submit" />
</center>
</form>
<script type="text/javascript">
at_attach("src_parent", "src_child", "click", "abc", "pointer");
</script>
I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.
Bookmarks