Results 1 to 9 of 9

Thread: AnyLink Drop Down - drop down menu - Help!

  1. #1
    Join Date
    Nov 2004
    Location
    Geelong, Victoria, Australia
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down - drop down menu - Help!

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

    This drop down menu is exactly what I am after.

    I am using Frontpage 2002. I have cut and paste all the code into default.htm and then I hav cut and paste the heading "Geelong" into the shared border at the top and it works but only once.

    The url is www.sfs.org.au and mouse over "Geelong" choose a drop down link - it goes to it.... go back to the top of the page (ctrl home) and it doesn't work again.

    Any ideas appreciated .....
    Cheers

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmmm it still works for me after clicking a link in the menu and pressing back to return. What browser are you using?

  3. #3
    Join Date
    Nov 2004
    Location
    Geelong, Victoria, Australia
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any drop down menu

    Internet Explorer 6 is the brower I am using -

  4. #4
    Join Date
    Nov 2004
    Location
    Geelong, Victoria, Australia
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any drop down menu

    Ah - just figured out why yours worked - because you pressed back!

    Click on a drop down link (only Geelong works at this stage) then go to the top of the page (ctrl home) and it doesn't work even after pressing refresh.

  5. #5
    Join Date
    Nov 2004
    Location
    Geelong, Victoria, Australia
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any ideas please... should I be using a different drop down menu.....?

  6. #6
    Join Date
    Nov 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default post script in every page

    you have to paste the javascript code in each and every page u want the drop down menu to appear. & not just default.htm.
    u have to paste the drop down menu script in the head section of all the other pages too. then it will work.

    hope this helps.

  7. #7
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Xia is right- the script has to appear on every page that will have the drop down menu, unless I misunderstood your question.

  8. #8
    Join Date
    Nov 2004
    Location
    Geelong, Victoria, Australia
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank-you.... although....

    This now poses another question...... I am using Frontpage 2002 with shared borders but I cannot see the top shared border html code anywhere. I rang my service provided who usually helps with these odd questions and he couldn't find it either so I am back to square one!

    I have been creating the code in the default page, then copying and pasting it into the top shared border using the "normal" view tab in frontpage, but then it is only in the file "default.htm" and the borders aren't being shared...

    Any ideas where the top shared border is stored in frontpage (html code) ?

  9. #9
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    I'm not familiar with shared border in Frontpage, though I gather your web host has to support FP extensions in order to work. That's on the server's side.

    A much better way to easily include the same content (or script) on multiple pages is to use Server Side Includes. Your web host has to support this (ie: .shtml). See this tutorial for more info: http://www.javascriptkit.com/howto/externalhtml3.shtml

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
  •