Hi all,
I found a way to resolve this problem : I remove and re-insert the
image everytime there is an interaction with js :
oldimage = carte.getElementById("MyImage");
newimage = oldimage;
Carte.removeChild(oldimage);
Carte.insertBefore(newimage,symboles);
In this way, the display is not slow anymore. But I'm still wondering
why this problem occurs... if anyone has an idea...
Thanks.
Julie
--- In [email protected], "jgfa92004" <[EMAIL PROTECTED]>
wrote:
>
> Hi everybody,
> I have a svg document in which I insert an image (.gif) by writing :
> <image id="MyImage" xlink:href="image.gif" x="-7335" y="-7335"
> width="129070" height="161370" style="visibility:visible;"/>
> I have some javascript functions that controle interactivity (for
> instance zomm, pan, ...). The problem is that when those functions
are
> called, the svg is really too slow to be (re-)displayed. If I remove
> the image, everything works fine. It seems to depend also on the
image
> size. Does anyone know what's going wrong ? Is there another way to
> display an image in a svg document that would work better ?
> Thanks a lot.
> Julie
> PS : the image size is 17 Ko
-----
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/