PDA

View Full Version : onclick problem in fire fox


borckly
10-06-2004, 06:30 AM
Hi all thanks in advance for any help,

Ok here is my problem i have a page with this code to copy diferent links in to the clip board i have the same code through out the page with diferent links

<p class="common" onmouseover="popup('<b>Famous Popstar</b><br/>1 Attacks<br/>','212d50')" onmouseout="kill()" onclick="window.clipboardData.setData('Text', 'http://www.outwar.com/mob.php?id=115')"></p>

It works as intended in IE but when tring in fire fox/ monzila it does nothing, im not to good with java scripting so any help would be very greatfull.

coothead
10-06-2004, 08:14 AM
Hi there borckly,

unfortunately, for you anyway, popup, clipboardData and setData() are all I.E. only :supereek:

borckly
10-06-2004, 09:29 AM
Yeah i thought it would be somthing like that the popup works on both its just the onclick="window.clipboardData.setData('Text', 'http://www.outwar.com/mob.php?id=115' bit would anyone know a way for fire fox to do this