SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Passionate Web Developer Egyptechno's Avatar
    Join Date
    Jan 2004
    Location
    Dubai
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb Javascript Windows Position changes with scrollbar !

    Well,

    I have created a windown using DHTMLmenu .. and i have set the position say to : top 200px, left 200px"

    the problem that when i move the scroll bar to down .. the position changes ..


    actually, it doesn't cchange ... but it's relative with the browser's top .. not with the website's top !


    attachments explains more ..


    i have read some about this problem, some said i have to change the position to " fixed " but it didn't work for me + it doesn't work with IE7


    I thought i might make the position related to other div or something ..

    like : stick to the bottom of " div2 ", so no mattre where is the scrollbar .. the window till stay sticked to the bottom of div2 ..

    or stick to its top + 200px .. is the same ..


    so any ideas ? or any help ?

    Thanks
    Attached Images Attached Images
    I adore PHP

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you have an url we can look at?



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
  •