vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   How do I create hover text over a text link? (https://vborg.vbsupport.ru/showthread.php?t=40721)

justsomedude 07-06-2002 12:12 AM

How do I create hover text over a text link?
 
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:

PHP 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)

PHP Code:

<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

Quote:

Originally posted by justsomedude
Hi all,

Quick and hopefully easy question.

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

Try this:
Code:

<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/fo...ages/stats.gif

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


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01146 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete