Skip to main content

Bug Tracker

Side navigation

#10564 closed bug (invalid)

Opened October 24, 2011 01:10PM UTC

Closed October 24, 2011 10:21PM UTC

ScrollTop and ScrollLeft does not work

Reported by: anonymous Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

$('html,body').attr("scrollTop", GetCookie('posiTop'));

$('html,body').attr("scrollLeft", GetCookie('posiLeft'));

It works at the Version 1.5.2 but not in the Version 1.6.4

Attachments (0)
Change History (1)

Changed October 24, 2011 10:21PM UTC by timmywil comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → invalid
status: newclosed

scrollTop is not an attribute. There are functions for setting scrollTop/scrollLeft (http://api.jquery.com/scrollLeft/, http://api.jquery.com/scrollTop/). To set them manually, use http://api.jquery.com/prop.