View Full Version : Link to AnyLink Drop Down Menu contents

11-16-2006, 04:56 PM
1) Script Title: AnyLink Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: I want my page to be xhtml transitional, so in order to do that, i need to link to the javascript for this script. I linked to the css portion of it using
<link rel="stylesheet" href="menu.css" type="text/css" /> which should be fine.

the problem is that i am using
<script type="text/javascript" src="menu.js"></script> to link to the javascript portion, and it isn't working because i have the variables defined later in the page at the links assuming the info for them is on the same page.

I'm not sure if this is making any sense, but i just need to know how I get my "any links" to know to pull the javascript from a different page?

Any help is really appreciated.


11-16-2006, 05:38 PM
I'm embarassed for my stupidity lol

i figured it out.

11-16-2006, 08:20 PM
Hehe I was just about to post my response. Glad I refreshed the thread first.

12-19-2006, 06:22 PM
i'm actually having the same problem. it works fine when the javascript is included in the actual page, but when i save the script into a .js file and link to it, it doesn't load in ie. any ideas?