Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > HTML Programming

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites.

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-18-2006, 09:13 AM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Credits: 0
Rep Power: 11
dirkfirst is on a distinguished road
Default Mouseover with images

i believe this is possible since i seen it before. What i want to have is code that has an image that shows in white color and when you moveover it, it turns a color. I know it requires 2 images but that is all i know.
__________________
DirkFirst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
  #2 (permalink)  
Old 05-20-2006, 02:46 PM
RobSoftware RobSoftware is offline
Programmer
 
Join Date: Nov 2005
Posts: 143
Credits: 0
Rep Power: 11
RobSoftware is on a distinguished road
Default

So basically you want the image to change to a new image when you do a mouseover?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old 05-25-2006, 02:27 AM
Frantic's Avatar   
Frantic Frantic is offline
Learning Programmer
 
Join Date: May 2006
Posts: 91
Credits: 0
Rep Power: 9
Frantic is on a distinguished road
Default

You will need to use javascript for this, not html.

You could do it with CSS as well and thats more recommended than using javascript.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old 07-04-2006, 02:15 PM
DevilsCharm's Avatar   
DevilsCharm DevilsCharm is offline
Programming God
 
Join Date: Jul 2006
Posts: 887
Credits: 0
Rep Power: 14
DevilsCharm is on a distinguished road
Default

If you design a web page with Flash, that's easy, and as Frantic said it's possible to do with Javascript (although I didn't know that).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old 07-06-2006, 06:27 PM
Dan Dan is offline
Programmer
 
Join Date: Jun 2006
Posts: 145
Credits: 0
Rep Power: 9
Dan is on a distinguished road
Default

Simple!

Code:
<script language="Javascript">
<!--
//Slide Show script (this notice must stay intact)
//For this and more scripts
//visit java-scripts.net or http://wsabstract.com

if (document.images) {
     button1 = new Image
     button2 = new Image

     button1.src = 'img1.gif'
     button2.src = 'img2.gif'
 }
//-->
</script>
Obviously you can edit the values above to match your requirements.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Sponsored Links
  #6 (permalink)  
Old 07-08-2006, 12:00 PM
Jimbo Jimbo is offline
Programmer
 
Join Date: Jul 2006
Posts: 121
Credits: 0
Rep Power: 9
Jimbo is on a distinguished road
Default

I'd use css to do this

http://www.google.com/search?q=css+rollover

loads of tutorials there
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old 10-08-2006, 01:31 AM
egon egon is offline
Newbie
 
Join Date: Oct 2006
Location: Iowa
Posts: 13
Credits: 0
Rep Power: 0
egon is on a distinguished road
Send a message via AIM to egon
Default

Dan, I'm not good at all with JavaScript, but shouldn't he use the on.mouseover() function?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8 (permalink)  
Old 10-12-2006, 07:57 PM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,149
Credits: 112
Rep Power: 16
Lop will become famous soon enough
Default

Nice, CSS looks a lot easier than Javascript. I didn't realize CSS could do this.
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9 (permalink)  
Old 12-30-2006, 12:48 AM
xtraze xtraze is offline
Programming God
 
Join Date: Dec 2006
Location: Sri lanka
Posts: 921
Credits: 5
Rep Power: 0
xtraze is on a distinguished road
Send a message via MSN to xtraze Send a message via Skype™ to xtraze
Default

I have found some nice tutorials at JavaScript Kit- Comprehensive JavaScript, DHTML, CSS tutorials and over 400+ free JavaScripts! and here is the link to the place you must go to get whatever you want.
JavaScript Kit- Images and music scripts
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Added]Security images support mihha easyContact 2 07-28-2007 02:37 AM
Resize Images And Maintain Original Sharpness AfTriX Photoshop Tutorials 7 04-20-2007 09:55 AM
Preload Images xtraze Tutorials 3 01-07-2007 02:16 AM
CSS vs HTML images John JavaScript and CSS 1 12-23-2006 08:02 PM
Optimizing Images DevilsCharm Search Engine Optimization 3 08-20-2006 09:36 AM


All times are GMT -5. The time now is 04:49 AM.

Contest Stats

Xav ........ 1097.16
MeTh0Dz|Reb0rn ........ 986.37
morefood2001 ........ 850.04
John ........ 841.93
WingedPanther ........ 684.54
marwex89 ........ 638.26
Brandon W ........ 493.36
chili5 ........ 292.12
Steve.L ........ 188.37
orjan ........ 187.41

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 79%

Ads