--- In [email protected], "Richard Pearman"
<[EMAIL PROTECTED]> wrote:
>
> In the hope that my hosting company will sort out encoding for SVGZ
(if they 
> don't I'll find another one when it comes up for re-newal), I
decided to 
> correct my Javascript so it works with Firefox.  It seemed that the
main 
> problem was in this function, which is used by pretty well all my
mouseover, 
> mouseout and click events:
> 
> function getDoc(evt) {
> return evt.getTarget().getOwnerDocument()
> }
> 
> Fortunately this is in an external file so Pressumably all I have to
do is 
> change it and most my JavaScript should work in Firefox.  As far I
could 
> make out from
http://jwatt.org/svg/authoring/#asv-getters-and-setters, I 
> should change it to:
> 
> function getDoc(evt) {
> return evt.target.documentElement
> }
> 
> However this gives me an error message in ASV and still doesn't work in 
> Firefox.  Can somebody explain what the problem is?
> 
> Richard Pearman       http://www.pixelpalaces.com/
> The next stage in the evolution of web comics: 
> http://www.onlinecomics.net/pages/details/listing.php?comicID=4415
>

Richard,

Perhaps you can try evt.currentTarget?  That's what seems to work for
me consistently across IE+ASV6, IE+ASV3, Fx1.5 and O9.

Also, is your host using Apache?  If so, you can usually add a
.htaccess file into your directory to fix the content encoding
yourself.  See Jonathan Watt's authoring guidelines page.

Regards,
Jeff





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

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