selina
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.
thanks
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.
thanks