Reply
Javascript? Copy code to clipboard...
Old 02-12-2005, 01:58 PM Javascript? Copy code to clipboard...
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Hmm...

We've all seen those lil text boxes with, for example, HTML code in, with a neat button/link underneath which copies the code onto your clipboard for you. Does anybody know how I can do this? An example of it would be great.

Thanks!
Harvey is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 02-12-2005, 03:44 PM
Unknown.

Posts: 1,693
It can be done.. But functionality is the problem.. It will only work in IE and therefore you wont be catering for FireFox users..

A good tutorial is...

http://www.htmlgoodies.com/beyond/clipboard.html
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Old 02-17-2005, 01:41 PM Re
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Excellent, thanks for that. I use firefox myself but I'll have to make that sacrifice...
Harvey is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Javascript? Copy code to clipboard...
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11340 seconds with 13 queries