View Single Post
Old 05-04-2005, 07:37 AM  
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
Quote:
Originally Posted by celebx
The solution:

<a href="http://www.FAKEURL.com/" onmousedown="this.href='TARGETURL';"></a>

Have Fun!
Snt
Nice solution

I'd probably change it to this, just so all the people with JS disabled wouldn't go to http://www.FAKEURL.com/

<script>
document.write('<a href="http://www.FAKEURL.com/" onclick="this.href='TARGETURL';"></a>')
</script>
<noscript>
<a href="http://www.TARGETURL.com/"></a>
</noscript>


Just to be on the safe side.
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote