Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Jim's DHTML Menu V5.7

  1. #1
    Join Date
    Aug 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Jim's DHTML Menu V5.7

    Script: DD Tab Menu
    http://www.dynamicdrive.com/dynamici...menu/index.htm

    Hi, I was just wondering how I go about saving the menu to other pages.
    I've managed to make extra menus which I wanted, but when i try save the example page (that works when I change the config.js file) to a new page it doesnt work. When I preview it it always says some sort of error.

    Do I have to upload all files to my server to make it work, when I mean work, I mean preview it through frontpage ?

    What am I doing wrong
    Thanks

  2. #2
    Join Date
    Aug 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think Ive worked out part of the problem. I can save the menu as different pages as long as i dont copy it into sub folders on my directory.

    Is there a way to fix this ? ( hope I havent confused anyone)

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Frontpage does unpleasant things to scripts.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Aug 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What would be the best thing to use then ?

  5. #5
    Join Date
    Aug 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If anyone can help me out can u send me a private message as I'm still having trouble with it

    I have a link here on how the page is http://www.myefl.org/example.htm

    I want my menu to somehow go in the grey table up the top

    I'm also still having trouble on how to to make the menu appear in new pages, I've added another test page but u cant see anything the link is http://www.myefl.org/afl/testing.htm not that you can see alot LOL it just says error?

    I have tried using the tutorial pages but that hasnt helped me

    help will be very appreciated
    Last edited by MEANXE; 08-26-2005 at 01:52 PM.

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This is a complicated third party script and as such usually not thoroughly, if at all, supported in these forums. I suggest that you read the full documentation. Especially as regards using it in a table as found near the middle of config.htm where it talks about using the TargetLoc variable.

    As to your other problem, try setting this:
    Code:
    //---- Set this variable only! ----
    var buildDir = "includes/";
    //---------------------------------
    at the top of browser.js to:
    Code:
    //---- Set this variable only! ----
    var buildDir = "http://www.myefl.org/includes/";
    //---------------------------------
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Aug 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks heaps that worked, but I have a little problem the main menu isnt working right, the arrows on the page dont work ? http://www.myefl.org/example.htm

    Thanks

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In config.js, where you have:
    Code:
    "rollover:images/tri-down1.gif:images/tri-down2.gif"
    That's ok for files where the images are in that directory but, once you leave the root, it is no longer the case. This should work:
    Code:
    "rollover:/images/tri-down1.gif:/images/tri-down2.gif"
    If not, I have seen this work:
    Code:
    "rollover://www.myefl.org/images/tri-down1.gif://www.myefl.org/images/tri-down2.gif"
    Ideally, you would use the absolute path:

    http://www.myefl.org/images/tri-down1.gif

    but, that confuses the script.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Aug 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks John, that worked

  10. #10
    Join Date
    Aug 2005
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I got it to work, but it doesnt work if i view it in microsoft frontpage, yet it does when i go to the actuall site, but thats ok.

    Twey said earlier that microsoft frontpage does unpleasant things to scripts. Can I use something else ? I only use microsoft as its pretty easy to use.

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
  •