Regarding a swap image, I gather you mean for the anchor link itself? Whereas by default you'd have:
Code:
<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a>
Instead this may look something like:
Code:
<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()"><img src="off.gif" onMouseover="this.src='on.gif'" onMouseout="this.src='off.gif'" /></a>
Regarding #2, simply save everything inside the <script> tags in a separate file (ie: anylinkmenu.js), and everything inside the <style> tag a file such as anylinkmenu.css. Then in the HEAD section of your page, reference these two files:
Code:
<link rel="stylesheet" type="text/css" href="anylinkmenu.css" />
<script src="anylinkmenu.js" type="text/javascript">
/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
Bookmarks