Hi,
The problem is that you must set that aI string to type=html;
Code: Select all
aI("separatorsize=1;text=Copy Selected;url=javascript:Dupme();type=html;");
You do know that this isn't going to work in other than IE? For example, in FF [an older version] it does copy to clipboard but it copies the aI string, not any text you highlight. I believe that's going to be an issue, since the copy to clipboard I think is IE only. Here's a post which kind of say it's not going to happen, since in reality the right click and get a context menu with copy on it is not part of the web page but part of the operating system, and for security reasons FF and Moz don't allow that kind of access.
viewtopic. ... 0065#30065
Info on allowing access for FF which I found
http://kb.mozillazine.org/Granting_Java ... _clipboard
and one site which says they have a function that works across the browsers, something about having to sign the js. The page is hard to read since it is dark and seems to have dark green text in parts of the 'code' examples, but I highlighted the page which makes it look white and could read it

I thought it might give you some help if you know anything about js, which I don't.
http://www.krikkit.net/howto_javascript ... board.html
Hope this helps
Ruth