Curious if anyone can suggest a method, using jQuery perhaps, to click a div and have the related code copied to the pasteboard. Or something similar.
This is what bit.ly uses along with majority of other sites.
in the past i’ve used this plugin: https://sites.google.com/site/yangshuai10/jquerycopyplugin
note that it also requires flash, but is really easy to implement.
Thank you – will have a further read
@NSR Click the titles and you will see it in action
Any way to do this in IOS?
Not with flash. It does not work on some Android tablets either.
Yeah I googled the other day for awhile looking for a non flash way.
Your best bet is to detect if flash is supported (somehow), if not, remove the flash button. The user can tap (click) on the input and copy it the hard way.
Interesting Thanks for all the feedback
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".