Actually, I just did what I should have thought to do last night, and 
removed subsequent actions from my function, and found that it actually 
loads the image fine. It's something that happens *after* that point 
that is making the image disappear. Thanks for the assistance anyway. :-)

Guy

Guy Morton wrote:
> HI Martin
>
> Yes, that's what I'm doing, though it's not being triggered by a mouse 
> event. What I am doing is loading a new image's URL via a call to a perl 
> script using getURL/XMLHttpRequest then using setAttributeNS in the 
> callback to set the xlink:href attribute of my image element to my new 
> image's URL. The images are 600x600px and around 40k in size.
>
> As mentioned in previous email, this works in ASV as expected, but in FF 
> the old image disappears but the new image is never displayed.
>
> Any ideas?
>
> Guy
>
> Martin Honnen wrote:
>   
>> --- In [email protected], Guy Morton <[EMAIL PROTECTED]> wrote:
>>
>>   
>>     
>>> I'm seeing a weird problem. In ASV, if I reset an image's xlink:href 
>>> attribute the image updates to display the new image. In FF the old 
>>> image disappears, but the new one doesn't appear in its place.
>>>
>>> Have I just stumbled onto a shortcoming of FF? 
>>>     
>>>       
>> What exactly are you doing to change the attribute?
>> Here is an example using the W3C DOM Level 2 Core setAttributeNS
>> method successfully onmouseover/out with Firefox 1.5.0.1 on Windows:
>>
>> <image x="10" y="10"
>>        width="122px" height="25px"
>>        xlink:href="buttonoff.gif"
>>       
>> onmouseover="evt.target.setAttributeNS('http://www.w3.org/1999/xlink',
>> 'xlink:href', 'buttonon.gif');"
>>       
>> onmouseout="evt.target.setAttributeNS('http://www.w3.org/1999/xlink',
>> 'xlink:href', 'buttonoff.gif');"/>
>>
>>
>>
>>
>>
>>
>>
>>
>> -----
>> 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
>>
>>
>>
>>  
>>
>>
>>   
>>     
>
>
> [Non-text portions of this message have been removed]
>
>
>
> -----
> 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
>
>
>
>  
>
>
>   


[Non-text portions of this message have been removed]



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