Results 1 to 5 of 5

Script for changing text color on mouseover

This is a discussion on Script for changing text color on mouseover within the Web Design forums, part of the Web Designing & Development category; [FONT=Arial, Helvetica, sans-serif][SIZE=2]You can change the color of your text, be it a full paragraph or just one word by ...

  1. #1
    Senior Member Array akash's Avatar
    Join Date
    Oct 2008
    Location
    Heaven (Earth)
    Posts
    500

    Default Script for changing text color on mouseover

    [FONT=Arial, Helvetica, sans-serif][SIZE=2]You can change the color of your text, be it a full paragraph or just one word by applying the code below to any valid html tag. The code is applied inline to your text where you want the text mouseover color applied.
    Code:
    <html>
    <head>
    </head>
    <body>
    This 
    is an<i onmouseout="this.style.color = 'black';" onmouseover="this.style.color 
    = 'red';" align="justify"> example </i>of changing the 
    color of text using a MouseOver.
    </body>
    </html>
    [/SIZE][/FONT]

  2. #2
    msc
    msc is offline
    Member Array msc's Avatar
    Join Date
    May 2009
    Location
    Manchester England
    Posts
    57

    Default Re: Script for changing text color on mouseover

    What is the point of it? Will it not confuse the visitors to make them think it is a link?
    Medical Specialists Blog [COLOR=Blue]| Do follow blog from UK with special focus on health and life style [/COLOR]
    Viagra UK [COLOR=Blue]| UK's first legal online clinic since 2001[/COLOR]

  3. #3
    Senior Member Array akash's Avatar
    Join Date
    Oct 2008
    Location
    Heaven (Earth)
    Posts
    500

    Default Re: Script for changing text color on mouseover

    It is depend on the use. I mean to say that where this code has used. it can be used to create force on the particular line or text..

  4. #4
    Junior Member Array
    Join Date
    May 2009
    Location
    Multan
    Posts
    10

    Default Re: Script for changing text color on mouseover

    LOL The point of it is that if you visited the link it would change in color in the links you visited in that site. For those who have short term memory loss like me it would be a great help

  5. #5
    Senior Member Array akash's Avatar
    Join Date
    Oct 2008
    Location
    Heaven (Earth)
    Posts
    500

    Default Re: Script for changing text color on mouseover

    Quote Originally Posted by iamboredr View Post
    LOL The point of it is that if you visited the link it would change in color in the links you visited in that site. For those who have short term memory loss like me it would be a great help

    I agree with you. But is specially to make web page attractive. you can see many sites. where color of the text change on the mouse over.



Similar Threads

  1. Changing the value of overflow using JavaScript
    By online.education in forum Programming
    Replies: 4
    Last Post: 05-18-2011, 11:13 AM
  2. RSS Feeds Color Change?
    By psunate1977 in forum Scripts & Content Management
    Replies: 1
    Last Post: 04-27-2011, 12:01 PM
  3. Free Advanced DHTML Color Picker
    By SticKer in forum Web Design
    Replies: 3
    Last Post: 01-06-2010, 06:35 AM
  4. Color Comes to Next-gen Super HDTV System (PC World)
    By mike42 in forum Member Discussion
    Replies: 0
    Last Post: 05-29-2008, 07:28 AM

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
  •  
SEO Forum | Web Hosting Forum | Websites For Sale |