PDA

View Full Version : Dock Content & Safari 3.1



TTW
04-25-2008, 01:30 AM
1) Script Title: Dock Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dockcontent.htm

3) Describe problem: Doesn't seem to work in Safari 3.1.

I believe it was a-okay in 3.0.x. Anybody know of a workaround?

Troy

ddadmin
04-26-2008, 08:27 AM
Looks like a problem with Safari 3.1 and the scrollTop property. Try changing the line:


obj.pagetop=truebody().scrollTop;

to:


obj.pagetop=window.pageYOffset? window.pageYOffset : truebody().scrollTop;

TTW
05-02-2008, 01:29 AM
Thanks for taking a look at that! I had played a little with that line and others, but wasn't finding anything that did the trick.

Troy