[Proto-Scripty] Re: Show Link in Table Cell on Mouseover

2009-05-09 Thread Walter Lee Davis
You could simplify this a lot (and make your link appearance/ disappearance happen) in one stroke. CSS: td.day.over { background-color:#ddd; } td.day span { display: none; } td.day.over span { display: inline; } JS: var cells = $('calendar').select('td.day'); cells.inv

[Proto-Scripty] Re: Show Link in Table Cell on Mouseover

2009-05-09 Thread Walter Lee Davis
IE. IE doesn't support the :hover pseudoclass on anything except links. Walter On May 9, 2009, at 8:29 AM, Alexander Bock wrote: > What keeps you from using CSS: > > #calendar td.day { > background-color:#fff; > } > > #calendar td.day:hover { > background-color:#ddd; > } --~--~-~--~-

[Proto-Scripty] Re: Show Link in Table Cell on Mouseover

2009-05-09 Thread Alexander Bock
What keeps you from using CSS: #calendar td.day { background-color:#fff; } #calendar td.day:hover { background-color:#ddd; } #calendar td.day > span { visibility:hidden; } #calendar td.day:hover > span { visiblity:visible; } ? If for some reason you cannot do that, you should be able to add