extra functionality for IE6 user zooming with the mousewheel!
the code,does not work!could you give help?
function Init(evt)
{
doc=evt.target.ownerDocument;
root=doc.documentElement;
aa=doc.getElementById("TransformScale");
}
function fnZoomer()
{
//alert(1);
count = fnCounting(count);
fnResize(count);
return false;
}
function fnCounting(count){
if (event.wheelDelta >= 120)
count*=1.1;
else if (event.wheelDelta <= -120)
count*=0.9;
return count;
}
function fnResize(count){
aa.transform = "scale("+ count +")";
}
aa.addEventListener('DOMMouseScroll',fnZoomer,false);
//aa.onmousewheel = fnZoomer();
------------------------------------
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/