1. #1
    TheBoyMitchell is an unknown quantity at this point Registered User
    Join Date
    Oct 2006
    Posts
    515
    Thanks
    70
    Thanked 47 Times in 28 Posts

    masking aff links in the status bar

    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!

  2. #2
    scriptmonkey is an unknown quantity at this point Oranges & Lemons
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    791
    Thanks
    38
    Thanked 122 Times in 83 Posts
    Use this in the <a> tag onMouseOver="window.status=''whatever you want the status bar to say'; return true"
    If you build it, they will come. Then what?

  3. #3
    accelerator is an unknown quantity at this point Online shopping rocks!
    Join Date
    Nov 2004
    Location
    England
    Posts
    2,351
    Thanks
    43
    Thanked 140 Times in 124 Posts
    ... 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

  4. #4
    TheBoyMitchell is an unknown quantity at this point Registered User
    Join Date
    Oct 2006
    Posts
    515
    Thanks
    70
    Thanked 47 Times in 28 Posts
    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"

  5. #5
    accelerator is an unknown quantity at this point Online shopping rocks!
    Join Date
    Nov 2004
    Location
    England
    Posts
    2,351
    Thanks
    43
    Thanked 140 Times in 124 Posts
    Maybe try in the body tag:

    Code:
    <body onmouseover="window.status='Your Site Name';return true;">
    Rgds

  6. The Following User Says Thank You to accelerator For This Useful Post:

    Vrindavan (31-07-09)

  7. #6
    scriptmonkey is an unknown quantity at this point Oranges & Lemons
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    791
    Thanks
    38
    Thanked 122 Times in 83 Posts
    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" 
    If you build it, they will come. Then what?

  8. #7
    TheBoyMitchell is an unknown quantity at this point Registered User
    Join Date
    Oct 2006
    Posts
    515
    Thanks
    70
    Thanked 47 Times in 28 Posts
    "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

  9. #8
    scriptmonkey is an unknown quantity at this point Oranges & Lemons
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    791
    Thanks
    38
    Thanked 122 Times in 83 Posts
    Each banner separately yes, after the url and before final > of the <a href bit.

    original code example

    PHP Code:
    <a href="something" target="_blank"><img src="something" width="" height="" alt=""/></a
    new code example

    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
    If you build it, they will come. Then what?

  10. #9
    TheBoyMitchell is an unknown quantity at this point Registered User
    Join Date
    Oct 2006
    Posts
    515
    Thanks
    70
    Thanked 47 Times in 28 Posts
    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

  11. #10
    Silver420 is an unknown quantity at this point Registered User
    Join Date
    Jun 2009
    Posts
    41
    Thanks
    3
    Thanked 2 Times in 2 Posts
    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

  12. #11
    scriptmonkey is an unknown quantity at this point Oranges & Lemons
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    791
    Thanks
    38
    Thanked 122 Times in 83 Posts
    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
    If you build it, they will come. Then what?

  13. #12
    Silver420 is an unknown quantity at this point Registered User
    Join Date
    Jun 2009
    Posts
    41
    Thanks
    3
    Thanked 2 Times in 2 Posts
    So I cant mask my aff urls at all then?

  14. #13
    TheBoyMitchell is an unknown quantity at this point Registered User
    Join Date
    Oct 2006
    Posts
    515
    Thanks
    70
    Thanked 47 Times in 28 Posts
    lmao

    Sorry, but thats really made me chuckle after all the hoo haa to find out

    ((((silver420))))

  15. #14
    Silver420 is an unknown quantity at this point Registered User
    Join Date
    Jun 2009
    Posts
    41
    Thanks
    3
    Thanked 2 Times in 2 Posts
    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....

  16. #15
    3wdl 3wdl's Avatar Registered User
    Join Date
    Jun 2005
    Posts
    2,902
    Thanks
    155
    Thanked 98 Times in 66 Posts
    Quote Originally Posted by TheBoyMitchell View Post
    lmao

    Sorry, but thats really made me chuckle after all the hoo haa to find out

    ((((silver420))))
    I can't believe that you just virtually hugged someone on the affiliate forum.

    If you want to mask the links then use tinyurl or something like that - easiest way and no code required

    Cheers
    James
    James Little | Head of Affiliate Development | AffiliateFuture
    Email/MSN: james.little@affiliatefuture.co.uk | Phone: 0207 927 6579

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Masking / Cloaking Affiliate Links
    By DLINKLA in forum Getting Started in Affiliate Marketing
    Replies: 21
    Last Post: 06-03-09, 11:16 AM
  2. Wordpress and Masking Links
    By JillyT in forum Affiliate Marketing Lounge
    Replies: 16
    Last Post: 20-02-09, 07:38 PM
  3. Masking Affiliate Links
    By munchkin in forum Programming
    Replies: 7
    Last Post: 03-12-06, 05:14 PM
  4. Masking Affiliate Links
    By goforbroke in forum Search Engine Strategies
    Replies: 1
    Last Post: 08-06-04, 06:34 PM
  5. Status Bar hiding code and no underline links.
    By pericom in forum Programming
    Replies: 2
    Last Post: 08-12-02, 07:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.0 RC2