+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16

 

Thread: masking aff links in the status bar

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Oct 2006
    Posts
    551
    Thanks
    72
    Thanked 48 Times in 29 Posts


    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's Avatar
    Oranges & Lemons

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    1,578
    Thanks
    108
    Thanked 250 Times in 190 Posts
    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

  3. #3
    accelerator's Avatar
    Online shopping rocks!

    Status
    Offline
    Join Date
    Nov 2004
    Location
    England
    Posts
    3,008
    Thanks
    54
    Thanked 180 Times in 161 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
    Registered User

    Status
    Offline
    Join Date
    Oct 2006
    Posts
    551
    Thanks
    72
    Thanked 48 Times in 29 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's Avatar
    Online shopping rocks!

    Status
    Offline
    Join Date
    Nov 2004
    Location
    England
    Posts
    3,008
    Thanks
    54
    Thanked 180 Times in 161 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's Avatar
    Oranges & Lemons

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    1,578
    Thanks
    108
    Thanked 250 Times in 190 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" 
    Time passes. Listen. Time passes. Dylan Thomas
    CIAO Super SIC

  8. #7
    Registered User

    Status
    Offline
    Join Date
    Oct 2006
    Posts
    551
    Thanks
    72
    Thanked 48 Times in 29 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's Avatar
    Oranges & Lemons

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    1,578
    Thanks
    108
    Thanked 250 Times in 190 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
    Time passes. Listen. Time passes. Dylan Thomas
    CIAO Super SIC

  10. #9
    Registered User

    Status
    Offline
    Join Date
    Oct 2006
    Posts
    551
    Thanks
    72
    Thanked 48 Times in 29 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
    Registered User

    Status
    Offline
    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's Avatar
    Oranges & Lemons

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    1,578
    Thanks
    108
    Thanked 250 Times in 190 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
    Time passes. Listen. Time passes. Dylan Thomas
    CIAO Super SIC

  13. #12
    Registered User

    Status
    Offline
    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
    Registered User

    Status
    Offline
    Join Date
    Oct 2006
    Posts
    551
    Thanks
    72
    Thanked 48 Times in 29 Posts
    lmao

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

    ((((silver420))))

  15. #14
    Registered User

    Status
    Offline
    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's Avatar
    Super Dancer

    Status
    Offline
    Join Date
    Jun 2005
    Posts
    3,213
    Thanks
    181
    Thanked 147 Times in 108 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 | Partnerships Director | TopCashBack

+ Reply to Thread
Page 1 of 2 1 2 LastLast


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. 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
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2