mendoz Posted December 17, 2006 Share Posted December 17, 2006 Hey freaksI have a div with a scrollbar on it.Is there a way that the entire page won't scroll down/up when I finish scrolling inside the div?Thanks,Mendoz Quote Link to comment https://forums.phpfreaks.com/topic/30980-overflowauto-scroller-question/ Share on other sites More sharing options...
Daniel0 Posted December 17, 2006 Share Posted December 17, 2006 If you use the div's scrollbar it wont continue scrolling, but if you use a scroll wheel I guess it will continue scrolling. No way to "fix" that as it is supposed to do so. Quote Link to comment https://forums.phpfreaks.com/topic/30980-overflowauto-scroller-question/#findComment-143036 Share on other sites More sharing options...
Jtech Posted December 17, 2006 Share Posted December 17, 2006 Well you can scroll="no" tag inside the body attributeE,G<body scroll="no" >it will take the scroll bar off , but its not ideal Quote Link to comment https://forums.phpfreaks.com/topic/30980-overflowauto-scroller-question/#findComment-143055 Share on other sites More sharing options...
mendoz Posted December 17, 2006 Author Share Posted December 17, 2006 Another forum did it using position:fixed, but it worked only in firefox.My boss insists I don't care about it.Thanks Quote Link to comment https://forums.phpfreaks.com/topic/30980-overflowauto-scroller-question/#findComment-143156 Share on other sites More sharing options...
Daniel0 Posted December 17, 2006 Share Posted December 17, 2006 [quote author=Jtech link=topic=118979.msg486768#msg486768 date=1166383029]Well you can scroll="no" tag inside the body attributeE,G<body scroll="no" >it will take the scroll bar off , but its not ideal [/quote]Then people can't scroll at all.[quote author=mendoz link=topic=118979.msg486871#msg486871 date=1166396838]Another forum did it using position:fixed, but it worked only in firefox.My boss insists I don't care about it.Thanks[/quote]I'd have to agree with your boss on this. Quote Link to comment https://forums.phpfreaks.com/topic/30980-overflowauto-scroller-question/#findComment-143168 Share on other sites More sharing options...
monkey_05_06 Posted December 17, 2006 Share Posted December 17, 2006 That part actually confused me. I was unsure if he was saying "my boss insists [i]that[/i] I not care about it", or if he was saying "[i]my boss[/i] insists; personally [i]I[/i] don't care." Quote Link to comment https://forums.phpfreaks.com/topic/30980-overflowauto-scroller-question/#findComment-143201 Share on other sites More sharing options...
mendoz Posted December 20, 2006 Author Share Posted December 20, 2006 the second one lolI finally beat some sense into himwww.control-pc.co.il Quote Link to comment https://forums.phpfreaks.com/topic/30980-overflowauto-scroller-question/#findComment-145264 Share on other sites More sharing options...
ToonMariner Posted December 21, 2006 Share Posted December 21, 2006 if you are confident that the contents of your page will fit within a 600px high screen then you could set the height of the html and body to 100% and give the scrolling div a fixed height. Think is using something like FF with a couple of extensions showing as tool bars you are severly restricted in teh actual height of teh viewing area of the site.IMO it is best to avoid going dwon the fixed height route - especially if you don't want to annoy your visitors A LOT. Quote Link to comment https://forums.phpfreaks.com/topic/30980-overflowauto-scroller-question/#findComment-145574 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.