PDA

View Full Version : Questions to "Dropdown HTML control"



isrie
05-08-2009, 03:58 PM
Hi there,

would this code (example 2) work with images instead (parent and child).


<div id="src_parent">Site Search</div>

<form id="src_child">
<b>Enter search terms:</b>
<br />
<input type="text" name="terms" size="35" />
<center>
<input type="submit" value="Submit" />
</center>
</form>

<script type="text/javascript">
at_attach("src_parent", "src_child", "click", "x", "pointer");
</script>

Tried it but couldn't figure it out.
Need a function like this - I would be happy if somebody recommend some similar codes, scripts,...

Thanks a lot!
isrie :confused:

traq
05-09-2009, 01:36 AM
are you asking if it would work to search for images on your site?

isrie
05-14-2009, 07:39 PM
The function should work just like the script "Dropdown HTML control" (example 2) which I copied from this site.
No search function...

Thanks again!