Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,611 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 928 people online right now. Registration is fast and FREE... Join Now!




Text Rollover

 
Reply to this topicStart new topic

Text Rollover

dewjunkie
post 14 Jul, 2008 - 07:20 AM
Post #1


New D.I.C Head

*
Joined: 6 Mar, 2008
Posts: 49

Hey all,

I was hoping someone could show me how to do a text rollover image. If that isn't clear, I want there to be a word on my webpage that when I hover on it the word changes. I know how to change a link to change color or underline when you hover on it. Is it similar to doing this? If someone could show me an easy example that'd be awesome!!
User is offlineProfile CardPM

Go to the top of the page

ahmad_511
post 14 Jul, 2008 - 08:48 AM
Post #2


D.I.C Regular

Group Icon
Joined: 28 Apr, 2007
Posts: 351



Thanked 8 times

Dream Kudos: 400
My Contributions


I don't think you can do this with CSS,but it's prety simple to do it with JS
jscript

<p onmousemove="this.innerHTML='there'" onmouseout="this.innerHTML='Hello'">Hello</p>
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 02:34AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month