From: Chad <ch...@ch...> - 2002-11-29 19:35:22
|
Doens't work for me on IE Mac. -C On Friday, November 29, 2002, at 10:27 AM, Bill Fenner wrote: > > I'd like to replace the coloring of the day blocks while the mouse is > over them in the year view with style sheets. This means replacing > > <td width="30" height="30" align="right" valign="top" class="monthreg" > onMouseOver=this.style.backgroundColor="#DDDDDD" > onMouseOut=this.style.backgroundColor="#FFFFFF" > onclick="window.location.href='day.php?cal=School&getdate=20020102' > "> > > with > > <td width="30" height="30" align="right" valign="top" > class="yearmonthreg" > onclick="window.location.href='day.php?cal=School&getdate=20020102' > "> > > and adding the following to the style sheets: > > .yearmonthreg { background-color: #FFFFFF; } > .yearmonthreg:hover { background-color: #DDDDDD; } > .yearmonthoff { background-color: #F2F2F2; } > .yearmonthoff:hover { background-color: #DDDDDD; } > > > They both work the same in Mozilla 1.1; I don't know if all of the > browsers that work with the javascript will also work with the style > sheet. Can people using other browsers visit > http://irg.attlabs.net/~fenner/yeartest.html and see if rolling over > days in January and February work the same? > > My main motivation for this is that the w3c HTML validator whinges > mightily about the lack of quotes on the first one, and given that > the color name is quoted I couldn't come up with something that works. > Kind of silly, but it's nicer not to have hundreds of other errors > to wade through when trying to find the real problems. > > Thanks, > Bill > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |