Need to have a "copy to clipboard" feature on my News Articles

Need to have a "copy to clipboard" feature on my News Articles

I like the site at the company with which I am partnered...but want to be sure I am as little like their site as possible.

Here is the feature in question...

To the right of the article is an icon.

Icon Only
When you click the icon, three choices display themselves.

I only use the "Copy Link" feature

Copy Link
Which opens this box...

Copy Link 2
I want to be sure this feature exists on my website, partly so I can use it to send to articles to clients and so can my sales agents. Obviously, there will be a page label in the URL so that URL opens not only the right page, but to the part of the page where the article is visible.

What similar thing can you show me from some other site? I do not want to copy my partner's site. So, I am taking out the LinkedIn and Email features. I just want that URL in the clipboard.

I know this has been part of the web standard since forever. But I just need to see one example of it some where.

newbiewebSr. Software EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pravin AsarPrincipal Systems EngineerCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
copy/paste don't work well in all browser

Any how why asking the user the click copy link when you can get the link automatically...

I would no use Javascript for this but PHP or other server side language.
example with PHP

Open in new window

you will probably need to edit the .htaccess
RewriteRule (.*) index.php?id=$1 

Open in new window

If you are using WP or other opensource CMS there are several widgets for this.

You can also check on codecanyon for social widgets
newbiewebSr. Software EngineerAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.