--- In [email protected], "go_micha" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "Kam-Hung Soh" 
> <kamhung.soh@> wrote:
> >
> > Here's a simple interactive SVG demonstration, a sliding tile 
> puzzle:
> > 
> > http://members.optusnet.com.au/khsoh/000e.xhtml
> > 
> > The initial coding was straightforward and quick. Only when I wanted
> > to make the demonstration work in MSIE6 and ASV3 did I run into
> > trouble. The first problem was that ASV3 did not process events for
> > SVG elements if the SVG code was inline XHTML, so onclick didn't 
> work.
> > The workaround was to put all the SVG code in a separate .svg file 
> and
> > get the user to open that file. The second problem was that MSIE6 
> (or
> > ASV3) did not accept a function reference as the first argument to 
> the
> > setTimeout() function, unlike Firefox and Opera. That stumped me for
> > about half an hour until I found an example that used a string as 
> the
> > first argument.
> > 
> > When I tested the program on another Windows XP computer using 
> MSIE6 +
> > ASV3, it works without needing to open the SVG file in another 
> window.
> > It must be some setting on my notebook that stopped it working.
> > 
> > -- 
> > Kam-Hung Soh
> > http://kamhungsoh.blogspot.com - It Mostly Works
> > http://members.optusnet.com.au/khsoh - Software That Mostly Works
> >
> Your demonstration works perfectly, but I think you must to add one 
> additional atribute for each text node element:
> setAttribute("pointer-events", "none");
>

Aaah!  :lightbulb:  Thanks for the tip!

-- 
Kam-Hung Soh
http://kamhungsoh.blogspot.com - It Mostly Works
http://members.optusnet.com.au/khsoh - Software That Mostly Works





-----
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/
 


Reply via email to