Results 1 to 4 of 4

Thread: Link to AnyLink Drop Down Menu contents

  1. #1
    Join Date
    Nov 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Link to AnyLink Drop Down Menu contents

    1) Script Title: AnyLink Drop Down Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.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
    Code:
    <link rel="stylesheet" href="menu.css" type="text/css" />
    which should be fine.

    the problem is that i am using
    Code:
    <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. #2
    Join Date
    Nov 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Nevermind!

    I'm embarassed for my stupidity lol


    i figured it out.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,138
    Thanks
    3
    Thanked 1,007 Times in 992 Posts
    Blog Entries
    16

    Default

    Hehe I was just about to post my response. Glad I refreshed the thread first.

  4. #4
    Join Date
    Dec 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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?

    thanks,
    g

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •