Webmastersite.net
Register Log In

Is there a mouseover hack for links?
How can I "hide" the link out URL?

Comments on Is there a mouseover hack for links?

Errk!
Member

Usergroup: Customer
Joined: Nov 26, 2005
Location: MI, USA

Total Topics: 11
Total Comments: 35
Errk!
Posted Nov 26, 2005 - 6:20 PM:

Could anyone point me to some kind of hack or something that will let me "hide" the linkout URL for directory links?

For example, if I link to ESPN in my directory, the link that displays is something along the lines of http://mysite.com/links/2 with modrewrite turned on. I would like it to display the actual URL; in this case, www.espn.com.

I searched and didn't see anything.

On an unrelated note, I would also like to display the actual URL right after the site title, but not as a functioning link (so the visitor has to click the link title to visit the site). It looks like I would add something in the link details template and maybe the CSS, but I'm not sure how it could be done. Could anyone give me some pointers?
helios
Beginner

Usergroup: Customer
Joined: Sep 29, 2005

Total Topics: 2
Total Comments: 7
helios
Posted Nov 29, 2005 - 4:53 PM:

Errk! wrote:
Could anyone point me to some kind of hack or something that will let me "hide" the linkout URL for directory links?

For example, if I link to ESPN in my directory, the link that displays is something along the lines of http://mysite.com/links/2 with modrewrite turned on. I would like it to display the actual URL; in this case, www.espn.com.

I searched and didn't see anything.

You can do something like this:

<a href="{TRACKLINKURL}" {EXTERNALLINKS} onmouseover="window.status='{LINKURL}';return true;" onmouseout="window.status=' ';return true;">{LINKTITLE}</a>

This only works in IE. Firefox will not display anything in the status bar for the link and Opera just ignores it altogether and continues to display the link as though you did nothing at all.
Errk!
Member

Usergroup: Customer
Joined: Nov 26, 2005
Location: MI, USA

Total Topics: 11
Total Comments: 35
Errk!
Posted Nov 29, 2005 - 9:38 PM:

Thanks helios, I'll try that.

If there are any other suggestions please let me know.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 30, 2005 - 9:05 PM:

There's probably something at dynamicdrive.com for it.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.