Results 1 to 3 of 3

Thread: Any link drop down

  1. #1
    Join Date
    Feb 2006
    Location
    Georgia-USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any link drop down

    I'm a little confused as to how to make this code

    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    an external link.
    I use it on several pages on my site and it sure would be easier if it were external when I have to make changes.
    Any help would be greatly appreciated.

  2. #2
    Join Date
    Oct 2005
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    keep the CSS in the head, and use an external src js after it, then use the links as it describes (onClick="action")

    Code:
    <script type="text/javascript" src="path/file.js">
    /***********************************************
    * AnyLink Drop Down Menu- &#169; Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    </script>
    then of course delete the javascript portion from the pages - I'm not sure how to call external css files, so you'll have to wait for somebody else on that one...

  3. #3
    Join Date
    Feb 2006
    Location
    Georgia-USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for your reply.
    If I understand you right, I keep the call for the external js in the head as well, not in the body?
    I'm pretty sure the call for the external css goes in the head, but I could be wrong.
    I am kind of new to this stuff.

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
  •