JavaScript and client side scripting.
Moderator: General Moderators
rrumrill
Forum Newbie
Posts: 2 Joined: Mon Jan 19, 2004 7:51 pm
Location: NJ - USA
Post
by rrumrill » Mon Jan 19, 2004 7:51 pm
I have a message board in php. Recently one of my users swiched to a MAC using OS X ver 10.2.7 and IE ver 5.0
When she goes to my board and scrolls down then releases the mouse the board goes back to the top.
This does not happen on other parts of my site where I do not use php and does not happen when she visits other sites.
I am stumped. Any thoughts? Is there something in PHP that may cause this to occur?
Gen-ik
DevNet Resident
Posts: 1059 Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.
Post
by Gen-ik » Mon Jan 19, 2004 9:43 pm
PHP is server-side so it doesn't have any direct effect on the browser.
It sounds like a client-side problem... are you using any kind of JavaScript scrolling functions?
rrumrill
Forum Newbie
Posts: 2 Joined: Mon Jan 19, 2004 7:51 pm
Location: NJ - USA
Post
by rrumrill » Mon Jan 19, 2004 10:09 pm
Funny you should mention that, I started looking for Javascript within my board and there are a few, I am trying to track down the offender now.
Gen-ik
DevNet Resident
Posts: 1059 Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.
Post
by Gen-ik » Tue Jan 20, 2004 8:19 am
You probably want to look for any JavaScript that has got either "onscroll" on "scrollTop" in it.