☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
Off-Topic
>
Computers & IT
>
Programming & Development
> Html/jquery Question
Add Reply
New Topic
New Poll
Views: 226
Replies: 3
Track Topic
Hypertrophy
Member
Posts: 1,144
Joined: Jul 25 2012
Gold
:
0.00
#1
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?
BreakPoint
Member
Posts: 13,630
Joined: Dec 4 2009
Gold
:
0.00
#2
Oct 2 2012 10:07am
Write a function for it, then tie the button click to that function.
Hypertrophy
Member
Posts: 1,144
Joined: Jul 25 2012
Gold
:
0.00
#3
Oct 2 2012 10:33am
I'm just wondering what jquery options to use? Would it be like .animate and .onclick and etc?
StormHasHe
Member
Posts: 827
Joined: Jan 16 2012
Gold
:
0.00
Warn: 10%
#4
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
© 2003-2026 d2jsp
Contact