|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
#1
|
|||
|
|||
|
1) Script Title: Anylink Drop down menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.htm 3) Describe problem: Drop down does not appear when I link to it in subfolders. I realize I have to update the links, but couldn't seem to locate the missing code. I realize this is probably a pretty stupid question, but it's in fact driving me nuts, and any help is appreciated. A link to a page that is not functioning is http://www.mikegrantonline.com/login/clients.html --- The top three tabs should be dropping down as seen on the homepage. Thanks in advance. Mike |
|
#2
|
||||
|
||||
|
Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first. You may take care of the above violation by changing the external tag from (and similar) on all pages using this menu: HTML Code:
<script src="../js/dropdown.js" type="text/javascript"></script> HTML Code:
<script src="../js/dropdown.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> Code:
<!-- Code:
//--> On to your problem - Where you have: Code:
dropdownmenu(this, event,
Code:
dropdownmenu(this, event,
Code:
//Contents for menu 1 var menu1=new Array() menu1[0]='<a href="about.html">About Mike Grant</a>' menu1[1]='<a href="resume.html">View Resume</a>' Code:
//Contents for menu 1 var menu1=new Array() menu1[0]='<a href="/about.html">About Mike Grant</a>' menu1[1]='<a href="/resume.html">View Resume</a>' Code:
dropmenuobj.style.left=dropmenuobj.style.top=-500 Code:
dropmenuobj.style.left=dropmenuobj.style.top='-500px';
__________________
WWWWWWWWWWWW - John________________________ Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate |
|
#3
|
|||
|
|||
|
Hi John,
Thanks for your quick reply. In response -- 1. Sorry about the notice, I didn't realize it should even appear on external linked files. I'll put it in there. On to the problem -- 2. When dreamweaver 'updated my links' I saw it updated the '../menu1' etc. arrays, I thought this was odd, and changed it, but it did not work, so I changed it back to the way it was. Anyhow, I modified it like you suggested, and am still not seeing my drop down, any other thoughts?? Thanks in advance.. Mike |
|
#4
|
||||
|
||||
|
I don't think so, remove the quote marks so that it looks like what I put in my post. Do it like this:
Code:
dropdownmenu(this, event,menu1, '135px') Code:
dropdownmenu(this, event,'menu1', '135px')
__________________
WWWWWWWWWWWW - John________________________ Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate |
| The Following User Says Thank You to jscheuer1 For This Useful Post: | ||
Mng026 (08-05-2008) | ||
|
#5
|
|||
|
|||
|
oops! Dreamweaver must of added the '' when it changed the array to a link -- that did the trick indeed! Thanks a bunch.
Mike |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|