allan8904 Posted December 13, 2007 Share Posted December 13, 2007 Hi, i have a chat window inside a web page, where the most recent message is displayed last (the way i wanted it). I was just wondering if there was a way so when the user loads the page, it will automatically go to the bottom of the window to the most current message (As the messages are stored in a MYSQL DB) Thanks, -Allan Link to comment https://forums.phpfreaks.com/topic/81462-solved-start-a-php-scroll-bar-from-the-bottom-when-page-loads/ Share on other sites More sharing options...
Lumio Posted December 13, 2007 Share Posted December 13, 2007 Javascript. not PHP. Use scrollBy and/or scrollTo Link to comment https://forums.phpfreaks.com/topic/81462-solved-start-a-php-scroll-bar-from-the-bottom-when-page-loads/#findComment-413589 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.