[whatwg] Adding mouseenter and mouseleave events

Anne van Kesteren annevk at opera.com
Fri Mar 16 04:03:37 PDT 2007


On Fri, 16 Mar 2007 11:35:57 +0100, Gareth Hay <gazhay at gmail.com> wrote:
> For instance, if you had a 'branding' image for your web sites, and it  
> is always 100px x 100px, that is not good for you to have a new  
> attribute on the <img> tag for 'branding', so that the image is always  
> rendered 100x100, nor is it good to have a new tag <imgbrand> that  
> renders the src as 100x100. You simply use the existing <img> tag and  
> modify it to your specific case.

FWIW: The proposal here is not entirely new. Internet Explorer supports  
these events.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list