Reply to Re: Changing color to a button with the mouse over

Your name:

Reply:


Posted by Brynn on 11/28/07 20:09

On Nov 28, 11:36 am, "Paul" <orelieteNOS...@NOSPAMtiscali.it> wrote:
> May I obtain the above effect using Frontpage or writing codes in html?
>
> Have you some code or some link for me to test? Thanks
>
> Paul

Here is a nice lesson with CSS, Javascript, and Html. Just copy
everything below into a file and play.


<html><body>


<!--
The CSS
We will make 2 different "classes" ... one with the first style ..
then one with the mouse over style.
-->
<style type="text/css">
.theStyle1, .theStyle2 {font: bold 10pt verdana; padding: 4px;}
.theStyle1 {background-color: #E3EEE2; color: black;}
.theStyle2 {background-color: #0E4E07; color: white;}
</style>


<!-- Now the button -->
<input type="button" class="theStyle1" value="Test Button"
onMouseOver="this.className='theStyle2';"
OnMouseOut="this.className='theStyle1';">


</body></html>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация