Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 01-24-2008, 05:14 AM Rollover Colour
dave9713's Avatar
Ultra Talker

Posts: 264
Name: David
Location: London
Trades: 2
Hi All!

Basically what i want to is change the color or even better the entire image when the mouse rolls over the top of the image.

Has anyone got any insight on how to do this?

Thanks

Dave
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

dave9713 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-24-2008, 10:18 AM Re: Rollover Colour
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 961
Name: Darren
Location: England
Trades: 0
Loads of info all over the web by Googling "image rollovers"

Heres one link to get you started!

http://www.dynamicdrive.com/dynamicindex15/domroll.htm

__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 01-24-2008, 11:04 AM Re: Rollover Colour
dave9713's Avatar
Ultra Talker

Posts: 264
Name: David
Location: London
Trades: 2
Thanks Rolda, i'll give it a try and post back if i need help... probability
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

dave9713 is offline
Reply With Quote
View Public Profile
 
Old 01-24-2008, 02:00 PM Re: Rollover Colour
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It is also possible to do that WITHOUT javascript - using CSS - depends on what the purpose of the image is.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-24-2008, 02:15 PM Re: Rollover Colour
myownfreeweb.co's Avatar
Novice Talker

Posts: 5
Name: Bill
Trades: 0
CSS would be more efficient and faster loading than java. You can create either internal style sheets if each page will have different images or use an external style sheet if you want all your pages to look the same.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
myownfreeweb.co is offline
Reply With Quote
View Public Profile Visit myownfreeweb.co's homepage!
 
Old 01-24-2008, 03:27 PM Re: Rollover Colour
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 961
Name: Darren
Location: England
Trades: 0
I know, I know, Sorry... CSS! CSS! CSS! CSS!

I'll get my head round it one day!
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 01-24-2008, 09:11 PM Re: Rollover Colour
carloncho's Avatar
Skilled Talker

Posts: 80
Name: Carlos
Trades: 0
if i understand, this maybe work:

<img src="firstImage.jpg" onmouseover="this.src='secondImage.jpg';" />

if you need to show the original image when mouse out, must add:

... onmouseout="this.src='firstImage.jpg';" />

This must work, but there is better ways to perform it
__________________
-----------------------

Please login or register to view this content. Registration is FREE
carloncho is offline
Reply With Quote
View Public Profile Visit carloncho's homepage!
 
Reply     « Reply to Rollover Colour
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.12164 seconds with 12 queries