netwalker.nl

exploring the web and random thoughts

Strange mouse over effect on almere.nl

When I just visited a page on the site of my home town, I came across a strange and annoying mouse over bug. When crossing links they change background color and remain dark blue, which makes it kind of hard to read the text.
almere.nl mouse over bug

I expected some Internet Explorer only code and had a look at the messy source code of the page. What I found was even better and something I have not seen before.

<td height=’14′
onMouseOver=this.bgColor=’#F2E8E7′
onMouseOver=this.style.cursor=’hand’

onMouseOut=this.bgColor=’transparent’>
<a xhref=’smartsite.dws?id=3911′
class=’sitemap’>
Afvalbeleid</a></td>

How is a web-browser supposed to know what to do? Actually in the content part of the page you will hardly see any double-quotes enclosing HTML tag attributes. I guess their content management system, which is Smartsite from a Dutch company called Seneca Web Development can’t handle it. Needles to say, that you can achieve the same mouse over effect with a few lines of CSS code without any java-script. The w3c html validator reports in total 2019 errors just for this page.

 

No comments yet. Be the first.

Leave a reply