Results 1 to 9 of 9

Thread: Dropdown menu going out of the screen area

  1. #1
    Join Date
    May 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dropdown menu going out of the screen area

    Hi
    I have built this CSS based menu using this totally modified code from the Suckerfish dropdowns modified by this guy from Solardreamstudios.com.

    The problem is that the second level of the bottom most dropdown option goes out of the screen for 800x600 resolution. Is there any way to make it pop up and fill the screen area instead of dropping down as usual ?

    I'm stuck with this cuz i have spent a lot of time customising and modifying the css code and then i get this..

    THE LINK :
    http://www.theoceaniqueresort.com/images/menu.html

    YOUR SUGGESTIONS AND COMMENTS ARE WELCOME !


    The code :
    Attachment 549
    Last edited by alstonfds; 09-14-2006 at 05:22 PM.

  2. #2
    Join Date
    May 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ANYBODY ??? I STILL NEED HELP ....

    i cant really do much .. i could do with some guidance..

  3. #3
    Join Date
    Sep 2006
    Location
    uk
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    want to post a sample page so it's easier to see??

  4. #4
    Join Date
    May 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The bottom most link under DEPARTMENTS is OTHER MEDICAL SPECIALITIES and goes so low down that it drops out of sight of the screen. I need it to pop up instead.


    http://www.theoceaniqueresort.com/images/menu.html

  5. #5
    Join Date
    May 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have already heavily modified the script and cant really fall back on some other script at the eleventh hour.. Wish ANYLINK SCRIPT was multilevel ...

    Have used it on my previous site and is bloody amazing.

  6. #6
    Join Date
    Sep 2006
    Location
    uk
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sorry matey, I can't figure it myself just now... how about using a specific selector for those elements that are too low?

  7. #7
    Join Date
    May 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    tried what i could with my limited knowledge .. but no can do. Guess i'm screwed ....

  8. #8
    Join Date
    Aug 2006
    Posts
    239
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    well, you could check if the menucontainer...
    Code:
    rootHeight = ((document.all) ? document.body.offsetHeight : window.innerHeight); 
    if (myMenuContainer.offsetHeight + myMenuContainer.offsetTop > rootHeight)
    myMenuContainer.style.top = rootHeight - myMenuContainer.offsetHeight + "px"

  9. #9
    Join Date
    May 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I ended up using a negative margin-top value for that ul to make it permanently pop-up. Someone in the [H]ardforum gave that tip. Its not the most pleasant looking solution but its functional ...

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
  •