Gossamer Forum
Home : Products : Links 2.0 : Customization :

MouseOver Link - Plz help -

Quote Reply
MouseOver Link - Plz help -
For link2.0 -
In links 1 I had no problem with this but how can I make it so I can hide the jump.cgi with mouse over in link2.0?
Like for example:
http://www.yoururl.com/cgi-bin/jump.pl?ID=318
and lets say it goes too www.yahoo.com
I want it so when someone puts their mouse on that link it will show
http://www.yahoo.com on the task bar.
I tried using the old version from what I had in my Links 1.1 but I didn't work.
I'm also using the TEMPLATES so if that might help.
Thanks please reply.

------------------
Mean bbs deleted me ;(
Quote Reply
Re: MouseOver Link - Plz help - In reply to
Trent,

I think it would add this to you anchor:
Code:
onMouseOver="window.status='<%URL%>';return true"
onMouseOut="window.status=' ';return true"

That's assuming you've left the default anchor with the jump.cgi reference alone otherwise.

Phoenix
Quote Reply
Re: MouseOver Link - Plz help - In reply to
um? what I don't know where the anchor is.
I didn't talk anything in the jump
just renamed it to .pl
Quote Reply
Re: MouseOver Link - Plz help - In reply to
if you use template it's the first line in link.html
Quote Reply
Re: MouseOver Link - Plz help - In reply to
Thanks it worked Smile
hehe

------------------
Mean bbs deleted me ;(
Quote Reply
Re: MouseOver Link - Plz help - In reply to
Sorry about that... I misread your first question. But glad you've found it.

If you are using the "build Detailed Pages" option, you'll also want to make this addition in detailed.html.

Phoenix
Quote Reply
Re: MouseOver Link - Plz help - In reply to
nope I don't use it Smile I think its a waste of space to use detailed view.


------------------
Mean bbs deleted me ;(
Quote Reply
Re: MouseOver Link - Plz help - In reply to
Trent, could you tell me how you are doing this. It seems much cleaner than the regular jump.cgi.
Thanks in Advance
ZigMan
Quote Reply
Re: MouseOver Link - Plz help - In reply to
Trent,
Sorry to waste your time by suggesting that you waste your space. Silly me. Just trying to be helpful.

Zig,
It's real easy. Just follow the code I gave in my first post on this thread. In links.html, your link should end up looking something like this:
Code:
<a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"
onMouseOver="window.status='<%URL%>';return true"
onMouseOut="window.status=' ';return true">
<%Title%></a>
This will make it so the actual link loaction appears in the status bar rather than jump.cgi when the mouse is over the link.

Phoenix
Quote Reply
Re: MouseOver Link - Plz help - In reply to
Phoenix,

Thanks that worked great.

Zig
Quote Reply
Re: MouseOver Link - Plz help - In reply to
I know you were phoenix I wasn't being rude toward ya ;p
^_^ :B

------------------
Mean bbs deleted me ;(