--- In [email protected], Jonathan Watt <[EMAIL PROTECTED]> wrote: > On 4/15/05, callyourshiva <[EMAIL PROTECTED]> wrote: > > > > > > Hi all, > > > > When i run my SVG (.svg file) in my browser it's running fine. > > > > when i load the same file on to Citrix machine and some other machines > > > > it's giving an Jscript error:evt is undefined.Please let me know why it > > > > is giving this error .I'm falling short of time.In both the machines we > > > > have Adobe SVG Viewer Installed. > > I think in ASV3 evt was a global object, but that in ASV6 this has > been fixed. I'm not sure if that's correct or not since I haven't got > round to testing it properly yet. Anyone else know for sure? > > In any case, make sure that you are passing evt _explicitly_ in your > event attribute like this: > > <svg onload="init(evt)"> > > and that you have an explicit parameter in your function 'init' to > enable you to reference the event object: > > function init(evt) { > alert(evt); > } > > Don't have onload="init()" and function init() { ... } since this > won't work in other browsers, and doesn't seem to work in ASV6. > >
Jonathan, IMOSHO your know-it-all attitude isn't accurate this time;-) AFAIUI <svg onload="init(evt)"> cannot work if evt isn't a global attribute. AAMOF, if there's no event, there's no evt object (window.evt attrib =null). > > Another one: Could we add scrolling features to an SVG document. > > > > I added zooming features but it is not seeming nice.Help me out in this > > > > aspect. > > > > Waiting for all your valuable replies. > > > > Regards, > > Shiva Kumar Soma > > ----- 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/ <*> 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/

