<script type="text/javascript">
function grayScale(obj,state){
if(document.getElementById && document.all){
obj.style.filter=(state)?"progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)":"";
}
}
</script>
<a href="http://www.jojoxx.net">
<img src="/images/testbild101.jpg" style="border:none;"
onmouseover="grayScale(this,true);"
onmouseout="grayScale(this,false);">
</a>
Scriptet visar angivet objekt som gråskala. Fungerar endast i Internet Explorer.