Hi guys, How do you highlight a div on rollover without having it as a hyperlink? Checkout this example on the microsoft site: http://office.microsoft.com/en-us/word/default.aspx Roll your mouse over the box with the search in it. It highlights a light blue, but it isnt a link. Same goes for the other boxes on there. Any way to achive this effect would be sweet. Cheers. (p.s also got to say, that ms site looks really great doesnt it?!)
They're using javascript. In fact, the page requires javascript for no good reason. Just add onmouseover and onmouseout event handlers to the element you want to alter. in re your ps: Kinda not really. The font size is overly small for a site aimed at the general population. In the same vein, there is not enough contrast between the text color and the background. If you were to try to use the page from your web enabled PDA or cell, you'd likely end up pissed because of the requirement for javascript. If you had a disability that required assistive technology, you'd be SOL. It has a generally cluttered 'feel'. cheers, gary
ah, i thought it was done with css -- i wouldnt fancy using javascript. Cheers mate. -- good points about the ms site, but there is still somthing i just "like" about it. It might just be the colours they've used
There's no particular reason not to use javascript, as long as it's an enhancement, and not required to use the page. cheers, gary