x_maras Posted July 21, 2009 Share Posted July 21, 2009 Hi, is it possible to detect scrollbar with php? I m working with a website and when you move from one page to another if the one has a scrollbar and the other dont then it looks like the pages are moving. So I want to detect if there is a scrollbar and if there is to show the page as it is. Else to show another one changed to fit with the rest. Thanks in advance, Dinos Link to comment https://forums.phpfreaks.com/topic/166759-detect-scrollbar/ Share on other sites More sharing options...
trq Posted July 21, 2009 Share Posted July 21, 2009 php executes on the server and has no concept of things like scrollbars. You need a client side language such as Javascript. Link to comment https://forums.phpfreaks.com/topic/166759-detect-scrollbar/#findComment-879329 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.