HTML Help
HTML Help Central . com

» Online Users: 61

1 members and 60 guests
Most users ever online was 695, 02-16-2011 at 08:01 AM.

» Site Navigation

 > FAQ

» Domains For Sale

Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2006
    Posts
    2

    Exclamation Text to Text Hover

    Hello...
    I was wondering if I can create a hover where it says one thing (i.e - My Vacation Photos) and when a site visitor hovers over it it says anither thing (i.e - ''My Vacation Photos -----> Coming Soon). And if I can do that can I make it so that the link is ''un-clickable'' .Is this possible...If wo please let me know how to do it.

    Thanks,
    Matt

  2. #2
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,306
    you can use the title attribute (all elements can have this attribute except document elements, i.e. html, body, head, title) to display text in a tooltip

    there are 2 simple measures you can do to disable a link:
    Code:
    <a href="#" title="coming soon">link</a>
    or
    Code:
    <a href="http://www.google.com/" onclick="return false;" title="coming soon">link</a>

  3. #3
    Join Date
    Jul 2006
    Posts
    2

    Lightbulb Another Way??

    Is there ANY other ways...Like on the hover the text changes to another word...

    Thanks,
    Matt

  4. #4
    Join Date
    Apr 2005
    Location
    Upland, CA
    Posts
    1,031
    Code:
    <a href="http://www.google.com/" onhover="return false;" title="coming soon">link</a>
    Chris

    Computers are like Air Conditioners..
    Once you open windows they both stop working.
    Updated Links

    My Blog | MadReligion | My facebook | Twitter

    Windows has Written There Code to fail!! Save YourSelf.. Go Linux!!

  5. #5
    Join Date
    Mar 2005
    Location
    Singapore
    Posts
    1,766
    HTML Code:
    <a href="javascript:void(0);" onmouseover="this.innerHTML='My Vacation Photos -----> Coming Soon';" onmouseout="this.innerHTML='My Vacation Photos';">My Vacation Photos</a>
    Someone can move this to the JS forum

Similar Threads

  1. hover over text
    By wvarner in forum Javascript / AJAX / VBScript
    Replies: 1
    Last Post: 06-15-2011, 05:18 AM
  2. hover over text
    By wvarner in forum HTML / XHTML / XML
    Replies: 11
    Last Post: 10-26-2008, 04:40 PM
  3. Text to Text Hover
    By saladboy2 in forum HTML / XHTML / XML
    Replies: 4
    Last Post: 07-04-2006, 11:38 PM
  4. image hover displaying text
    By decka in forum Javascript / AJAX / VBScript
    Replies: 2
    Last Post: 03-16-2004, 02:34 PM
  5. Hover Text?
    By crystalskies in forum HTML / XHTML / XML
    Replies: 4
    Last Post: 12-19-2003, 03:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1