Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this Due to Jquery #37

Closed
wilson12 opened this issue Feb 18, 2013 · 4 comments
Closed

Is this Due to Jquery #37

wilson12 opened this issue Feb 18, 2013 · 4 comments

Comments

@wilson12
Copy link

Uncaught TypeError: Object function (e,t){return new v.fn.init(e,t,n)} has no method 'scrollTo' asset.php:598
(anonymous function) index.php:598
v.event.dispatch jquery.min.js:2
o.handle.u
jQuery v1.8.3

$("nav ul li a").click( function(e) {
var id = $(this).attr("href");
var t = "div";
var total = t+id;
console.log($.scrollTo( $(total), 2000, {offset:-250} ));
});
Getting this error is the call right??

@flesler
Copy link
Owner

flesler commented Feb 18, 2013

Seems like you're not including jQuery.scrollTo in the page correctly. Make sure the script is added and it's not 404. It's neither a bug of jQuery or this plugin most certainly.

@wilson12
Copy link
Author

<script src="js/vendor/jquery.min.js"></script> <script src="js/vendor/jquery.scrollTo.min.js"></script>

jquery.min.js /js/vendor GET 200 OK application/javascript asset.php:12Parser(from cache)
jquery.scrollTo.min.js /js/vendor GET 200 OK

could any error occur due to any other script

@flesler
Copy link
Owner

flesler commented Feb 19, 2013

Do you have this online? I can take a look

On Tue, Feb 19, 2013 at 2:40 AM, wilson12 notifications@github.com wrote:

jquery.min.js /js/vendor GET 200 OK application/javascript
asset.php:12Parser(from cache)
jquery.scrollTo.min.js /js/vendor GET 200 OK

could any error occur due to any other script


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-13757813.

Ariel Flesler

@wilson12
Copy link
Author

sorry for the late reply have been too busy i was not able to solve the issue..
i will post my code as soon as possible.

@flesler flesler closed this as completed Apr 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants