Results 1 to 4 of 4

Thread: Help with DHTML Menu script Please!

  1. #1
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Help with DHTML Menu script Please!

    1) DHTML Menu v5.7

    2) http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) I was wondering if anyone could help me.

    My problem is this I am using this menu on a future site I have it set up so that the main page calls the menu file (SSI) since I do not want to have to update all pages. The problem I am having is that I can't make it stay within the table on the original page. Once the main page calls it goes to the top of the screen instead of in the table. I know I could go in and change the parameter by pixel position but if I change my site banner (which I will) if it is a different size I need it to auto adjust. So what I really need to happen is to anchor the menu inside the table on the menu page. So that when the main page calls the menu page the menu stays where it is suppose to in the table. Any help would be appreciated very much.

    Here is a link to my page any help is great full
    http://home.hot.rr.com/forbes/pages/test/index1.shtml

  2. #2
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Please Can anyone help the poor. Or at least me

  3. #3
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Ouch... what a nasty piece of code...
    You'll have to replace this segment of text in all of the browser detected js files:
    Code:
    this.main.style.top = y + "px";
    with
    Code:
    this.main.style.top = (y+300) + "px";
    Edit the number in red if you need to adjust it some more.
    - Mike

  4. #4
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for your response. This will not work if I change the banner or add anything to the top I will have to reposition it every time. I was hoping to find something that would lock it into the table the SSI calls up but might not be able to do this. I guess I will try and find some other types of menus that do similar to this one. Any suggestions

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
  •