Opened 9 years ago
Closed 9 years ago
#14647 closed bug (notabug)
Interface.js crash with animate scrollTop
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The interface.js file i downloaded from http://interface.eyecon.ro/download doesn't work with the code below:
$('.comparepricenow').click(function() {
$('html, body').animate({
scrollTop: $("#notsure").offset().top
}, 800); event.preventDefault();
});
Note: See
TracTickets for help on using
tickets.
That is not code managed as a jQuery project. In fact, it's ancient. Did you see the comment about jQuery 1.1.4? Yeah, we're up to 1.10.2 now. Don't use that code. Ask for help on a forum.