-
Notifications
You must be signed in to change notification settings - Fork 488
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
Uncaught TypeError: Object [object Object] has no method 'goTo' #43
Comments
Please use the following:
This should do exactly what you've attempted to do above. Note the data() on the end of the Sequence initiation. |
Thanks for your answer, but it isn't the purpose of this line, this was just for testing. I want to display 1 button per frame and affect an event on it to trigger transition |
Then you can do something like this:
Let me know if that helps. Please show me the HTML you are using if it doesn't. |
That's what i've done. I tried several calls to this method but each time, my navigator (chrome or safari mobile) answered that the object hasn't got the method. Did you ever had this issue? |
Can you link me to your demo please? |
--link removed-- sequence is in the "Palettes" div |
You're initiating Sequence wrong, it should be this on line 220 of grapholine.js:
Then on line 231, you are trying to goTo frame 2 but you haven't put the goTo within an event (such as a click event). If you remove that, Sequence will work as it should. |
Closed the issue as it isn't an issue with Sequence, but feel free to comment again if you need further assistance. |
That's what i was doing in the beginning. As I said, this line is just for testing. I've written it back, but it still doesn't work... You can see it now if you want |
The event is triggered by clicking on a number button on top |
I downloaded it and there seems to have been a few modifications made to the Sequence script. If you reference the original v0.2 script, your page should work. |
Oh Sorry... In the first time, I forgot .data("sequence"). It's ok now. Thank you for all. |
No problem. |
Not related to the issue, but just wanted to say a big thank you! I've just made what I wanted and it works great! |
Glad you got it working and thanks for the tip. |
Hi,
All is in the title...
The text was updated successfully, but these errors were encountered: