SitePoint Sponsor

User Tag List

Results 1 to 13 of 13

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can someone please direct me to code (freeware?) I can use to create a simple mouseover for text, not graphics.

    I've looked around in the various forums and can't seem to locate exactly what I need.

    Thanks in advance for any help you can provide.

    Regards,
    Shirley

  2. #2
    Kat's Meow Senior ******* WebKat's Avatar
    Join Date
    Jul 1999
    Location
    California USA
    Posts
    1,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not quite sure of the text/mouseover effect that you want but WSAbstract has great scripts, including this one...

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>"to add a highlight effect to any link, with the highlight color for each link fully customizable. Great way to add emphasis to particular links on your site! Updated to work in NS 6 too!"

    http://wsabstract.com/script/script2/highlight.shtml <HR></BLOCKQUOTE>



    ------------------
    Dlynn ~SitePoint Moderator~
    PawPrint Designs by WebKat
    "Let's keep Ethics on the Web"

  3. #3
    SitePoint Zealot Ace Nova's Avatar
    Join Date
    Aug 2000
    Posts
    197
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok look at this html code, it highlights text
    (Note To Moderators: Even though this links to my site it is just an example)

    &lt;style&gt;
    A:hover{color:red}
    &lt;/style&gt;
    &lt;a href="http://www.supernovanetworks.com/"&gt;Click Here To Goto My Site&lt;/a&gt;

    This will highlight any links, if you want a different color for highlighting the links,
    change where it says:
    {color:red}

    I'm not sure if it works on lower versions of browsers.

    Have A Nice Day

    ------------------
    Webmaster
    www.supernovanetworks.com

  4. #4
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    No it doesn't because the hover command was initially only supported by IE.

    ------------------
    www.gib-online.com
    The Rock of Gibraltar on the WEB
    www.urban-studios.com
    ...for all your IT solutions

  5. #5
    SitePoint Wizard wdmny's Avatar
    Join Date
    Jul 2000
    Location
    Here
    Posts
    1,010
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    &lt;a href="page.htm" onMouseover="this.style.color='#000000';" onMouseout="this.style.color='blue';"&gt;

    ------------------
    Wes
    wes@demoney.net
    http://www.demoney.com/www
    http://www.600webstudios.com

  6. #6
    ********* Addict
    Join Date
    Feb 2000
    Location
    NE FL, USA
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try looking into CSS and DHTML. That's what SuperNovaNetworks.com suggested. It works for IE 4.0+ but isn't supported by Netscape 4.7, maybe 6.0 but I'm not sure.

    Mike

    ------------------
    Street Bikers United - protecting the rights of motorcyclists worldwide.
    Cosmic Custom Airbrush - Hawaii's premier airbrush studio.
    New Life Community Church - Your Christian online community

  7. #7
    SitePoint Zealot Ace Nova's Avatar
    Join Date
    Aug 2000
    Posts
    197
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    DHTML is supported by MSIE 4.0 and NS 4.0, although MSIE is way ahead at using it than NS.

    ------------------
    Have A Nice Day
    Webmaster
    webmaster@supernovanetworks.com
    http://www.supernovanetworks.com

  8. #8
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you so much for taking the time to reply. I'm sorry I didn't provide enough info. (I'm fairly new at this.)

    This is what I need the mouseover to do:
    When you cursor passes over a linked URL, display text in the mouseover. I need to display a sentence or two of what is contained in the article. I do not need any color changes or visual effects, just text to display in the mouseover box. I know this can be done with &lt;IMG&gt; and "alt="coding, but I can't seem to do it with only an &lt;A HREF&gt; code.

    Can you still point me in the right direction for help?

    Many thanks.

    Shirley

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Originally posted by WebKat:
    Not quite sure of the text/mouseover effect that you want but WSAbstract has great scripts, including this one...


    <HR></BLOCKQUOTE>


  9. #9
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    There are scripts to do exactly what you want located at Dynamic Drive.

    ------------------
    Wayne Luke - Sitepoint Forums Administrator
    Digital Magician Magazine - MetaQuark Creations (Coming Soon)
    sitepoint@digitalmagician.com

  10. #10
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The feature you want can be found at:
    http://www.dynamicdrive.com/dynamici...o2.htm?feature

    Best regards
    Big Nothing

  11. #11
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ya you want to use overlib.
    www.bosrup.com/web/overlib/

    Chris

  12. #12
    SitePoint Member
    Join Date
    Aug 2000
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Many thanks! One more quick question, if you don't mind.

    I already have the following STYLE code in place:
    &lt;STYLE TYPE="text/css"&gt;&gt;
    &lt;!--
    .link1:link{COLOR: #663300; TEXT-DECORATION: underline}
    .link1:visited{COLOR: #663300}
    .link1:active{COLOR: #663300}
    --&gt;

    &lt;/STYLE&gt;

    Can I add the add'l STYLE coding (for pop-up text) before &lt;/STYLE&gt;? Or will one override the other?

    Thanks again for your help and knowledge!

    Regards,
    Shirley

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Originally posted by BigNothing:
    The feature you want can be found at:
    http://www.dynamicdrive.com/dynamici...o2.htm?feature

    Best regards
    Big Nothing
    <HR></BLOCKQUOTE>


  13. #13
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    They will only override if named exactly the same. If they are named the same just consolidate the two and separate each CSS tag by semi-colons.

    ------------------
    Wayne Luke - Sitepoint Forums Administrator
    Digital Magician Magazine - MetaQuark Creations (Coming Soon)
    sitepoint@digitalmagician.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •