PDA

View Full Version : How do I create hover text over a text link?


justsomedude
07-06-2002, 12:12 AM
Hi all,

Quick and hopefully easy question.

I'm trying to create hover text over a text link.

For Example, If i were to use the following code:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank"><img src="https://vborg.vbsupport.ru/greentek/profile.gif" border="0" alt="Click Here to See the Profile for $post[username]"></a>

The text displayed while hovering over the mouse would be "Click Here to See the Profile for so and so"

That's exactly what I want, but without the image Using Text instead

For Example: (yea..I know this won't work, but hopefully it'll demonstrate what i'm trying to accomplish)

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank">$post[username]<alt="Click Here to See the Profile for $post[username]"></a>

I'd like to put this in my postbit template so users can just click the username of a poster & get to their profile.

any suggestions?

FWC
07-06-2002, 01:12 AM
Originally posted by justsomedude
Hi all,

Quick and hopefully easy question.

I'm trying to create hover text over a text link.
Try this:<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="_blank" title="Click Here to See the Profile for $post[username]">$post[username]</a>

justsomedude
07-06-2002, 02:02 AM
Worked like a charm FWC :)

Thanks for your help!!

FWC
07-06-2002, 05:05 AM
You're welcome. :)

Units
07-06-2002, 11:16 AM
where would we add that bit of code?...what template?

FWC
07-07-2002, 04:14 AM
The postbit template.

justsomedude
07-07-2002, 05:27 AM
inspired by the layout of vbullitentemplates.com i modified my postbit template so it looks like this:

http://www.searchingforsignal.com/images/postbit.JPG

what that bit of code does is creates a link to a users profile by clicking their username which when hovered over produces the text "Click Here to See the Profile for so and so".

Dean C
07-07-2002, 03:10 PM
wouldn't the "user stats" button be illegal to use..... :rolleyes:

justsomedude
07-07-2002, 10:04 PM
yea, I thought of that afterwards :surprised:

I'm making a new one now to replace it.

justsomedude
07-08-2002, 12:17 AM
here's the new one...

http://www.searchingforsignal.com/forum/images/stats.gif

didn't mean to steal anything, just thought it looked great.