<a href="x.html" onmouseup="functiona()" onmousedown="function()" class="myclass">MY LINK!</a>

<a href="x.html" onmouseup="functiona()" onmousedown="function()" class="myclass">MY LINK!</a>
How could this hapen to meeeeeeeeeeeeeee?lol.
Reconix, thanks but no thanks. That won't work, I don't have control of the link. Think of it like it's in an iframe.
Craig's working on it for me anyway now![]()
Kind Regards,
Guy__________________
Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
Tech-Hosts.co.uk.
Guy, i think the javascript behind the ad is preventing the onclick function from working sorry :S
I dont really know what to suggest :S
Coming and going...
Highers are getting the better of me
Hehe, your screwedboo..
How could this hapen to meeeeeeeeeeeeeee?lol.
Is there some way of "onEvent" or possibly putting it in a table or something?
Kind Regards,
Guy__________________
Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
Tech-Hosts.co.uk.
its not that, its just when anywhere inside the ad is clicked, the ad javascript overtakes any previous onclick functions..
I could put it inside 20 tables and 30 divs each with an onclick but as long as its the inside of the ad thats being clicked, thats the JS that will run.
Coming and going...
Highers are getting the better of me
<a href="x.html" onmouseup="functiona() return false;" onmousedown="function() return false;" class="myclass">MY LINK!</a>
That will make it so it goes to x.html if you don't have javascript enabled.
Why have you put onmouseup/onmousedown there? And also Craig, onmouseout works.. even after they've clicked the ad. In internet explorer, you can click it then close the new window and voila it'd have run the javascript function by then because it's onmouseout, when you move the mouse away to close the new window.
Kind Regards,
Guy__________________
Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
Tech-Hosts.co.uk.
I copied Reconix' code.Why have you put onmouseup/onmousedown there? And also Craig, onmouseout works.. even after they've clicked the ad. In internet explorer, you can click it then close the new window and voila it'd have run the javascript function by then because it's onmouseout, when you move the mouse away to close the new window.
i know onmouseout works. But onclick doesnt which is the whole point of people having to click it..
Coming and going...
Highers are getting the better of me
Want to hide these adverts? Register an account for free!