Bug Tracker

Opened 8 years ago

Closed 8 years ago

#10564 closed bug (invalid)

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

Change History (1)

comment:1 Changed 8 years ago by timmywil

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.

Note: See TracTickets for help on using tickets.