Use this in the <a> tag onMouseOver="window.status=''whatever you want the status bar to say'; return true"
Hello
Well I never thought that I would find myself in this particular forum, but there you go.
One of my affiliates wants to hide the affiliate link in the user bar, and doesnt know the correct piece of code to do this.
Can anyone post up the relevant bit of code, or pm it to me? Please?
Many thanks!
Use this in the <a> tag onMouseOver="window.status=''whatever you want the status bar to say'; return true"
Time passes. Listen. Time passes. Dylan Thomas
CIAO Super SIC
... although I personally don't like the link being masked with Javascript, especially if the status bar is just going to show a message instead of a url, and I would recommend you do link masking with php instead, so your can display friendly urls, see:
Link Masking
Rgds
My man has just asked me to say the following - his name is Silverback btw, so give him a wave as he is reading this
"I want this code for my banners to hide the affiliate url, is there a code that will make all banners hide the addy in the status bar (bottom left) or do i need to edit every banner one by one? Because when I paste that code it shows "tag onMouseOver....." or do i need to put it in the <head> </head> secton? I tried using
html basix generator but that wouldnt work either"
Maybe try in the body tag:
RgdsCode:<body onmouseover="window.status='Your Site Name';return true;">
Vrindavan (31-07-09)
I should have made it clearer
PHP Code:<a href="whatever the banner link is" onMouseOver="window.status=''whatever you want the status bar to say'; return true" >
Time passes. Listen. Time passes. Dylan Thomas
CIAO Super SIC
"scriptmonkey, do I take the banners and insert that to each banner seperatly then? Is there anything I can do for all the banners at once or? If I have to put it in each banner Do i put it after the URL but before the IMG URL? "
I'm getting good at this arent I![]()
Each banner separately yes, after the url and before final > of the <a href bit.
original code example
new code examplePHP Code:<a href="something" target="_blank"><img src="something" width="" height="" alt=""/></a>
PHP Code:<a href="something" onMouseOver="window.status='whatever you want the status bar to say'; return true" target="_blank"><img src="something" width="" height="" alt=""/></a>
Time passes. Listen. Time passes. Dylan Thomas
CIAO Super SIC
Hello mate, I did that and made this code...
<a href="http://serve.williamhill.com/promoRedirect?member=SL420&campaign=DEFAULT&channe l=DEFAULT&zone=713215115&lp=717280712"onMouseOver= "window.status='www.williamhill.com'; return true" target="_blank">
<img src="http://serve.williamhill.com/promoLoadDisplay?member=SL420&campaign=DEFAULT&cha nnel=DEFAULT&zone=713215115&lp=717280712" width="728" height="90"border=0/>
</a>
Whats wrong with that code then as it still shows the whole url on mouseover, where am I going wrong? Thanks for all the help
Silverback
Silverback owes me a cup of tea![]()
about time.. for some reason this site wouldnt let me set up with my yahoo email, whats up with that
Thank you neil, yes I owe you a cup of tea![]()
you have no space between 717280712 and "onMouseOver 717280712"onMouseOver
Bit of a late-in-the-day point, but, firefox and IE from 7 onwards have disabled the window.status
So, it's not actually going to work.
:td
Time passes. Listen. Time passes. Dylan Thomas
CIAO Super SIC
So I cant mask my aff urls at all then?
lmao
Sorry, but thats really made me chuckle after all the hoo haa to find out
((((silver420))))
ha ha neil
there has to be a way. Affiliates all over the world somehow manage to hide there urls... I just want to make it nicer so it shows WH home page rather than all the code for the aff link
Every time someone type's the address manually cause theyve seen its an aff code, means we lose comission..
ill find a way....
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks