0
Help with JQuery
How can I write the “return false function in JQuery” so after pressing a button it returns false. How can I add in JQuery that when pressing a button an image go +1 Y position or -1 Y position. Also +1 or -1 X position. So when I press a button my image moves and stop moving when I stop pressing the button. And if you know, how can I import images from my IPad to Solo Learn. It’s cause I am making a game in another app. The game is not finished but when it is finished I want to make it publish in Solo Learn. If you help me with this Questions you can play it like “The Ballon And The Cactus”. Please help.
7 Respostas
+ 1
In the Returns False, I want that after pressing the button my CSS animation happends and then it restarts the button so you can press it again
+ 1
Can you post a code for sample just for understand and help you?
+ 1
Octavio Aguayo I want help you but you have to make me in help position... Start with place your images online... Next i noticed some reference to js file "script.js" and i dont know his content... Futhermore where you defined RFunc, LFunc etc.??
0
And for the final part, can you tell me how to make that when an image touch something (The Cactus touch the ballon) an animation happends.
0
https://code.sololearn.com/W9x2rGnAsqfz/?ref=app
The images of background, cactus & ballon aren’t there cause I dont now how to import images.
0
Octavio Aguayo You have used relative url like src value... Instead use absolute url
0
But please help me with the other things, I use url cause I use images from my ipad.