Can I control webpage scrollbars with PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
viking273
Forum Newbie
Posts: 1
Joined: Tue Jan 27, 2004 12:45 pm
Location: UK

Can I control webpage scrollbars with PHP?

Post by viking273 »

I've written a database query webpage using PHP4 and MySQL and I display the results in the form of quite large alphabetically ordered tables (the tables get scrollbars automatically in the IE 6 browser window because of their size). I'd like to give users a way of jumping to somewhere mid-table by typing letter characters into a textbox. Can I do this with PHP or do I need to invoke some VB script? If so, how, please? Thanks in advance.

Viking273, UK.
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

PHP can't do anything to or with the browser because it's a server-side language.. you will need to use JavaScript (which is client-side).

A good JavaScript resource can be found at http://www.faqts.com/knowledge_base/index.phtml/
Post Reply