Go Back   Dynamic Drive Forums > General Coding > HTML
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 05-02-2005, 01:05 AM
xxstarvisionsxx xxstarvisionsxx is offline
Junior Coders
 
Join Date: Oct 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Link Cloaking

Does anyone know anything about how to hide those links on the bottom left side of internet explorer, so it shows something different when they put their mouse cursor over the link, thanks alot for any help.
Reply With Quote
  #2  
Old 05-02-2005, 08:22 AM
ddadmin's Avatar
ddadmin ddadmin is offline
Administrator
 
Join Date: Aug 2004
Posts: 7,626
Thanks: 2
Thanked 639 Times in 629 Posts
Blog Entries: 13
Default

Simply use the onMouseover/ onMouseout events within the link in question, such as:

<a href="http://google.com" onMouseover="window.status='Search here'; return true" onMouseout="window.status=''">Google></a>
Reply With Quote
  #3  
Old 05-02-2005, 01:13 PM
mwinter mwinter is offline
Elite Coders
 
Join Date: Dec 2004
Location: UK
Posts: 2,361
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ddadmin
Simply use the onMouseover/ onMouseout events within the link in question [...]
I think it's rather irresponsible to hand out advice like this. I find it hard to believe there can be any legitimate reason to disguise link destinations, particularly considering the potential abuse.

Thankfully, decent user agents will prevent this from happening. Both Opera and Mozilla products can disable tampering with the status bar. Moreover, Opera will always display link information in the status bar, and in a tool-tip (if enabled), regardless of script options.

Mike
Reply With Quote
  #4  
Old 05-02-2005, 07:13 PM
ddadmin's Avatar
ddadmin ddadmin is offline
Administrator
 
Join Date: Aug 2004
Posts: 7,626
Thanks: 2
Thanked 639 Times in 629 Posts
Blog Entries: 13
Default

There is a moral issue with this depending on how the webmaster decides to use such a status bar effect, but I think in the majority of cases, it's simply an annoying technique, such as putting a description of the link onMouseover. And xxstarvisionsxx wouldn't have trouble learning how to do this easily on any JavaScript archive (well, DD doesn't have one, but...).
Reply With Quote
  #5  
Old 05-03-2005, 02:56 PM
xxstarvisionsxx xxstarvisionsxx is offline
Junior Coders
 
Join Date: Oct 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is mainly due to the fact that I run 1 massive affiliate site search portal, 2 other sites and 3 forums total, and link cloaking for affiliate links is a smart idea if you ask me.

The links actually do go to the proper sites but does not show the actual affiliate link after the main URL in the browser.

Thankyou for this code I have implemented it into my main page and have alot of links to update, this is going to take a seriously long time.

Last edited by xxstarvisionsxx; 05-03-2005 at 03:03 PM.
Reply With Quote
  #6  
Old 02-03-2006, 01:16 AM
mpreviews mpreviews is offline
New Comer (less than 5 posts)
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Try this this will hide where the links are going Hide Status bar message

http://www.javascriptkit.com/script/cutindex19.shtml

Hide Status bar message http://www.javascriptkit.com/script/...destatus.shtml

also add this and you can say what ever you like

<body OnLoad="window.defaultStatus='Add your text here';" >
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:11 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.