Results 1 to 6 of 6

Thread: Drop down memu problem with Front Page borders

  1. #1
    Join Date
    May 2008
    Location
    Arkansas
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Unhappy Drop down memu problem with Front Page borders

    1) AnyLink Drop Down Menu
    2) http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    3) I am in the process of redoing my whole web site and I want to change from using frames to borders. With this in mind I created my drop down menu using the Any Link Drop Menu in Front Page and it works perfectly if I use it as a paste in menu on my web pages. However, since I want to use it on all my web pages I went to Front Page borders and pasted it in the top border area. When I open up any of the pages I have created, Front Page shows the border with my menu. So far so good. However, when I go to the preview pane, and put the curson on any of the menu items, I get a script error message. The message is that "menu1" (or menu2, menu3, etc.) is undefined, code 0. If I say I want to continue running scripts, I then get the error message "object expected", code 0. I have 9 separate menus totally.

    I know that Front Page creates a directory called _borders and the border file is called top.htm. I have checked this file and cannot find any errors in it. So I am at a loss as to what to do next.

    Any ideas would be greatly appreciated.
    Joejean

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

    Default

    As long as the script gets embedded in its entirety and without changes to it, it will work, regardless of how it's embedded. I believe Frontpage Borders is a method of dynamically including the contents of a file onto multiple pages right? If your site supports SSI (server side includes), you should just use that, which is a lot more straightforward: http://www.javascriptkit.com/howto/ssi2.shtml

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    Joejean (05-30-2008)

  4. #3
    Join Date
    May 2008
    Location
    Arkansas
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I need to read up on SSI, so I will do that first and let you know the results.
    Thanks for the info.
    Joejean

  5. #4
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    I learned web-building on FrontPage, and I would definitely recommend not using any frontpage-specific features (such as the "borders," also anything that uses FPSE). I use this Ajax script to dynamically include menus, etc., across a site.

  6. The Following User Says Thank You to traq For This Useful Post:

    Joejean (05-31-2008)

  7. #5
    Join Date
    May 2008
    Location
    Arkansas
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Traq,
    I took a quick look at the Ajax script, and it looks really simple. I'm going to give it a try. Thanks for the advise.
    Joejean

  8. #6
    Join Date
    May 2008
    Location
    Arkansas
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    As long as the script gets embedded in its entirety and without changes to it, it will work, regardless of how it's embedded. I believe Frontpage Borders is a method of dynamically including the contents of a file onto multiple pages right? If your site supports SSI (server side includes), you should just use that, which is a lot more straightforward: http://www.javascriptkit.com/howto/ssi2.shtml
    I did the quick test to see if my server supports SSI and it does, and using the includes code, I can get the menu to work as designed. My next question is, with the shtml extension, will all viewers (whatever browsers they may be using) be able to view the site normally? All my pages currently have htm extensions.
    Thanks,
    Joejean

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
  •