lemmin Posted September 14, 2007 Share Posted September 14, 2007 I'm not sure what causes this, but when I have a database create and populate divs, the universal scroll button (middle mouse button) won't activate on those divs (to scroll). This is true for almost every website I've been to that dynamically creates content with divs. I think it might have to do with them being inline, but I'm really not sure. Does anyone know exactly what causes this or how I can make them scrollable? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/69356-div-tags-will-not-allow-universal-scroll/ Share on other sites More sharing options...
Azu Posted September 15, 2007 Share Posted September 15, 2007 Try clicking inside the div. I think that it's acting like a separate frame E.G. a separate webpage so you need to click on it to make your actions apply to it instead of the main page? Quote Link to comment https://forums.phpfreaks.com/topic/69356-div-tags-will-not-allow-universal-scroll/#findComment-348853 Share on other sites More sharing options...
lemmin Posted September 17, 2007 Author Share Posted September 17, 2007 Using this site as an example, if you try to click the middle mouse button on someone's posted text, nothing happens; however, it works when you do it in the title of the post ("Re: DIV tags will not allow universal scroll.") This is because the title is in a table while the post text is in a div. When divs have static content the scrolling seems to work fine but when they are populated with a database, they don't. It might be something other than that, but that is the only thing I notice. Quote Link to comment https://forums.phpfreaks.com/topic/69356-div-tags-will-not-allow-universal-scroll/#findComment-349912 Share on other sites More sharing options...
Azu Posted September 17, 2007 Share Posted September 17, 2007 No I mean LEFT CLICK on it first, THEN middle click. Quote Link to comment https://forums.phpfreaks.com/topic/69356-div-tags-will-not-allow-universal-scroll/#findComment-350193 Share on other sites More sharing options...
lemmin Posted September 18, 2007 Author Share Posted September 18, 2007 The middle mouse button actually grabs focus so that wouldn't matter. Does anyone know if you can scroll on divs better in Firefox? I would believe that it was strictly an IE problem, but I am really curious to figure out what causes it. Quote Link to comment https://forums.phpfreaks.com/topic/69356-div-tags-will-not-allow-universal-scroll/#findComment-350477 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.