/    Sign up×
Community /Pin to ProfileBookmark

Javascript click thing help

Hi all. can someone help me out plz. on my website, i want to have it so that every time the mouse is clicked, a .gif animation is shown where the mouse was clicked. i have got the gif animation. i have tried modifying the fireworks script similar to my idea, but it didnt work. any help would be apreciated, thx

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliJul 30.2003 — This is what yo need to do.

Capture mouse down event on the document level.

then get the mouse co-ordinates from the event object and then display the image at those coords...
Copy linkTweet thisAlerts:
@pigcoauthorJul 30.2003 — ok understood, but how do i go about doing this? i use dreamweaver if thats any help
×

Success!

Help @pigco spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...