I want to change the value of overflow using JavaScript on 'mouseover' event. How do I do this ...? I looked around to see if there is a tutorial on this, but I couldn't find. Also ... can I do this for div? Can I do this for ... img ( <img /> )?
You should be able to change overflow for an element by using its style.overflow property: object.style.overflow='value'; Example: <div onmouseover="this.style.overflow='hidden';">test</div>. It should work for other elements too.