-
Dropdown HTML control
1) Script Title: Dropdown HTML control
2) URL: http://www.dynamicdrive.com/dynamici...owncontrol.htm
This is going to be a stupid question but it will show you what little experience I have with javascript! I've substituted my own titles for Main Menu, Item 1, Item 2, and Item 3 as you can see.
In the script below, how would I enter the link for About the Library:
http://jaxpubliclibrary.org/lib/about.html
I assume I wouldn't use the javascript:alert('About the Library'); and place the link there...is that correct?
<div id="sample_attach_menu_parent" class="sample_attach">General Library Info</div>
<div id="sample_attach_menu_child">
<a class="sample_attach" href="javascript:alert('About the Library');">About the Library</a>
<a class="sample_attach" href="javascript:alert('Location and Hours');">Location and Hours</a>
<a class="sample_attach" href="javascript:alert('Search the Catalog');">Search the Catalog</a>
</div>
<script type="text/javascript">
at_attach("sample_attach_menu_parent", "sample_attach_menu_child", "hover", "y", "pointer");
</script>
Thanks for your help, Elbee
Last edited by Elbee; 09-07-2010 at 03:15 PM.
-
-
So Far I Have Figured it out on my own
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks