Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dragging and Overflow problem???

    Draging items causes scrollbars to appear.

    On this pages code when you drag an item beyond the right or bottom edge of screen scroll bars appear on both IE and Firefox. http://www.dynamicdrive.com/dynamici...ag/example.htm

    but on this eyeos demo http://eyeos.org/demo/ when you pop open an item and drag it past edge of screen. there is no scrollbars.

    Anyone know how they are doing this?

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    They set overflow:hidden; to the body and html elements so no scrollbars will ever appear.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks. I was just putting it on body. I never thought about html.

    Although it gets rid of scroll bars it still scrolls background image some.
    Last edited by darkcyde; 02-05-2007 at 12:02 AM.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Make the background image fixed and it won't scroll.
    Code:
    background-attachment:fixed;
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •