DaveC426913
Programmer
I'm trying to build the following:
- link on page says: Bob
- click on link, Bob's email address bob[at]bob.com is copied into the clipboard, ready to be pasted elsewhere.
I'll have lots of entries on one page (it's an HTML phone book) so I don't want a complex function in every entry.
What I have so far is this:
<a href="bob[at]bob.com">Bob</a>
I right-click and 'Copy Shortcut'. But what this copies is:
file://c:/<full filepath>/bob[at]bob.com
Oddly, different combinations of letters produce different results:
None of which are helpful.
I have looked at scripts that copy *selected* text into the clipboard, but that's not quite what I'm trying to do. I want to click on one piece of text, but have something else copied.
Advice?
- link on page says: Bob
- click on link, Bob's email address bob[at]bob.com is copied into the clipboard, ready to be pasted elsewhere.
I'll have lots of entries on one page (it's an HTML phone book) so I don't want a complex function in every entry.
What I have so far is this:
<a href="bob[at]bob.com">Bob</a>
I right-click and 'Copy Shortcut'. But what this copies is:
file://c:/<full filepath>/bob[at]bob.com
Oddly, different combinations of letters produce different results:
Code:
mailto:bob[at]bob.com = mailto:bob[at]bob.com
mm:bob[at]bob.com = mm:bob[at]bob.com
m:bob[at]bob.com = file:///m:bob[at]bob.com
:bob[at]bob.com = file://c:/<full filepath>/:bob[at]bob.com
bob[at]bob.com = file://c:/<full filepath>/bob[at]bob.com
I have looked at scripts that copy *selected* text into the clipboard, but that's not quite what I'm trying to do. I want to click on one piece of text, but have something else copied.
Advice?