SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Resource

Highlight Button


Sponsored Links
Developer's Paradise : Inside Technique :
Highlight Button
Submission by SiteExperts Staff

Go to the resource:
Highlight Button

Add to Assistant

Short Description
Add dynamic highlights to standard input buttons.

Long Description
Add dynamic highlights to standard input buttons.

Author
Scott Isaacs
Submission URL
http://www.SiteExperts.com/tips/styles/ts06/page1.asp
Submission Date
Jul 21,1997
 

Discussion and Rate this Resource
Overall Rating: 3.8

tunkeymicket on Nov 20, 2000 at 2:08:37 PMRating: 3

Devant->Add a class to each of the Input boxes then reference them in a style sheet.  And make sure [in the onmouseout code] to refresh them to their origional class.

e.g.:

<style>
.out { background-color: blue; }
.over { background-color: red; }
.down { background-color: orange; }
</style>

<input type=button class=out
onmouseover="this.className='over';"
onmouseout="this.className='out';"
onmousedown="this.className='down';">

kleal on Nov 20, 2000 at 10:02:38 AMRating: 5
This is such a slick addition to forms.  I would love to use it on my site.  Nice touch. Too bad Netscape can't keep up with anything. Why doesn't someone tell Netscape to get with it?
Devant on Nov 19, 2000 at 4:11:44 PMRating: 5

How would one combine this with a defined class style tag for width and default colours as used in http://www.devant.com/T-Rex

?

 

dinesh123 on Nov 16, 2000 at 3:30:51 AMRating: 1

It will not work in Netscape

Please mention everywher about cross browser compatibility

Poor

moxyfruvous on Nov 11, 1999 at 2:14:33 PMRating: 2
okay, what about Netscape?? it's getting so you're not even mentioning whether an article is for IE or NN, but as it turns out it's usually for IE. disappointing.

More Ratings/ Comments


To rate and comment on a resource, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password

Copyright © 1997-2008 InsideDHTML.com, LLC. All rights reserved.