-
Need help with drop down menu and iframe
1) Script Title:
IFrame SSI script II & AnyLink Drop down menu
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...iframessi2.htm
http://www.dynamicdrive.com/dynamici...pmenuindex.htm
3) Describe problem:
I am trying to combine these two scripts into the same page. I have 5 header/navigational links, 2 of which are suppose to have menus coming down. They did until I inserted my links to the iframe.
Ideally, I want my menus items to be able to link to display content to the iframe. is this possible?
Here is my code for the items that the menus should come out of:<a href="javascript:loadintoIframe('mainframe1', 'info.html')" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '100px')" onMouseout="delayhidemenu()">About</a>
<td width="116" height="52" nowrap bordercolor="#000033" bgcolor="#CC9966" class="style5"><div align="center"><span class="style2">
<a href="javascript:loadintoIframe('mainframe1', 'walks.html')" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '100px')" onMouseout="delayhidemenu()">The Walks</a>
</span></div></td>
Here is my code for the menu items:
var menu1=new Array()
menu1[0]='<a href="javascript:loadintoIframe('mainframe1', 'info.html')">Information</a>'
menu1[1]='<a href="javascript:loadintoIframe('mainframe1', 'pack.html')">The Pack</a>'
var menu2=new Array()
menu2[0]='<a href="javascript:loadintoIframe('mainframe1', 'info.html')">The Parks</a>'
menu2[1]='<a href="javascript:loadintoIframe('mainframe1', 'wildlife.html')">Wildlife</a>'
menu2[2]='<a href="javascript:loadintoIframe('mainframe1', 'bring.html')">What to Bring</a>'
thanks so much for the help!!!
-
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