Hi Does anyone know how can add a button to my site that you can click and it copies the web page address that they are viewing, So that people who like the page can click a button and copy the address and share it with others. So far I have: <script language="javascript" type="text/javascript"> document.write (document.location.href); </script> which will retrieve the current web address? Can anyone help please!
If you want to make it to automatically copy the URL to their clipboard, you'll have to use Flash for cross-browser and cross-plataform support. There is a very neat script which can do this for you, Zeroclipboard (just google it).
I found another post similar to this on here. http://forums.digitalpoint.com/showthread.php?t=267256 This may help.