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

smint.js Firebug error #17

Open
dai0903 opened this issue Jul 29, 2014 · 4 comments
Open

smint.js Firebug error #17

dai0903 opened this issue Jul 29, 2014 · 4 comments

Comments

@dai0903
Copy link

dai0903 commented Jul 29, 2014

I am writing this sentence in the google translator because I do not speak English.

I am making a one-scrolling site using smint.js but, java error has occurred in Firebug.
http://www.outyear.co.uk/smint/demo/

TypeError: $(...).position(...) is null
$(mySelector+"."+id).position().top-menuHeight,

However, the error is not happening in the demo site that the user of Japan was created using version 1.
http://pannyatto.firebird.jp/sample/smint/sample.html

Where is the difference between version 1 and 3, I do not know, but I would should I refer to the Which?

FireFox ver31.0
Firebug ver2.0.2

@sebastien-fauvel
Copy link
Contributor

@rabmyself the problem occurs with the external link, obviously. Please make sure you have a check like if (id.length && $(mySelector+"."+id).length) in the next version you publish here!

@dai0903
Copy link
Author

dai0903 commented Aug 5, 2014

@rabmyself

I was supported by such modifications of the following.
I am looking forward to a new version is coming out.

if (typeof optionLocs[index+1] != "undefined") {
$("#"+optionLocs[index+1][2]).removeClass("active");
}

@sebastien-fauvel
advise, thank you.

@terryapodaca
Copy link

I'm curious if there is a solution to this? I get this error too...

@sebastien-fauvel
Copy link
Contributor

@rabmyself are you actually planning to maintain this plugin any further?

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

3 participants