Results 1 to 2 of 2

Thread: Jim's DHTML horizontal positioning

  1. #1
    Join Date
    May 2005
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Jim's DHTML horizontal positioning

    Now I am needing help on centering the toolbar in our webpage.

    tmoodaddicts

    I've centered it before at 274 but have changed it to 174 position in order to 'compromise' with the other visitors who aren't getting theirs centered. I think it has to do with the resolution (or browser version also) of the screen.

    Is there a code I can use (or replace what's existing) so that everyone can see the toolbar centered?

    Thanks in advance for any help.

  2. #2
    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

    I see you are using the:

    menus[0].floatMenu(1024, 768, 20, 50);

    option in your config.js. The documentation says that the 50 you have there should be:

    ". . .how you want the menu's positioned (i.e. horizontally, vertically or both [0, 1, 2])"

    Not 50.

    Also, where you have '20' above, the documentation has '10'. No explanation is given for this parameter so, it would probably be best to leave it at '10'

    Once that is set properly and you configure the menu using the left (red) and top (blue) here:

    menus[0] = new menu(20, "horizontal", 260, 20

    to appear as you wish at 1024x768 (the first two parameters in floatMenu), all other resolutions should work well with it.
    - John
    ________________________

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

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
  •