d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Html/jquery Question
Add Reply New Topic New Poll
Member
Posts: 1,144
Joined: Jul 25 2012
Gold: 0.00
Oct 2 2012 09:56am
I need to create a simple webpage for a CS class that uses some simple jquery functions and etc....but I'm a little confused on what I should use...


There is a picture a .gif that I need to animate to move across the screen within a box when there is a cursor click within the box. How would I go about animating the mario.gif to animate across the screen on a mouse click?
Member
Posts: 13,630
Joined: Dec 4 2009
Gold: 0.00
Oct 2 2012 10:07am
Write a function for it, then tie the button click to that function.
Member
Posts: 1,144
Joined: Jul 25 2012
Gold: 0.00
Oct 2 2012 10:33am
I'm just wondering what jquery options to use? Would it be like .animate and .onclick and etc?
Member
Posts: 827
Joined: Jan 16 2012
Gold: 0.00
Warn: 10%
Oct 2 2012 02:35pm
Quote (Hypertrophy @ Oct 2 2012 02:33pm)
I'm just wondering what jquery options to use? Would it be like .animate and .onclick and etc?


yes. have you tried to google it? i've already found a lot of results related to your question.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll