Computing.Net > Forums > Web Development > Copy image url on click

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Copy image url on click

Reply to Message Icon

Name: RTAdams89
Date: May 25, 2004 at 11:26:00 Pacific
OS: XP Home SP1
CPU/Ram: pent 4 2.53GHz/512
Comment:

http://www.blessy.com/airsoft/

I'm makign an avatar page (that is jsut an example). If yo ugo down to the bottom of that page you'll see a punch of avatar images. Is there some script I could use so that when a person clicks on an image, the image url is automatically copyed to the clipboard?

-Ryan Adams
Ryan's
Custom Computers



Sponsored Link
Ads by Google

Response Number 1
Name: tImmaY
Date: May 25, 2004 at 12:06:14 Pacific
Reply:

*example* replace [] with <>
[a href="http://img16.photobucket.com/albums/v48/anarchy85/wink.gif" onclick="window.clipboardData.setData('Text', this.href); return false;"][img src="http://img16.photobucket.com/albums/v48/anarchy85/wink.gif"][/a]


0

Response Number 2
Name: RTAdams89
Date: May 25, 2004 at 13:25:38 Pacific
Reply:

Thnaks, that's perfect.

-Ryan Adams
Ryan's
Custom Computers


0

Response Number 3
Name: tImmaY
Date: May 25, 2004 at 16:01:47 Pacific
Reply:

no prob, my pleasure.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Web site size? Domain Names



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Copy image url on click

on click down help www.computing.net/answers/webdevel/on-click-down-help/2379.html

Include and change image www.computing.net/answers/webdevel/include-and-change-image/664.html

background images won't load www.computing.net/answers/webdevel/background-images-wont-load/272.html