This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL transformations with Javascript
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] XSL transformations with Javascript
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- Date: Mon, 4 Jun 2001 13:36:24 -0400
- References: <CD51B470B4F524409929778A1CA3A1D3213C@zoochange.clevermethod.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
[Hasselback, Matt]
2.) Next I decide to replace the boring text with an animated GIF! I
replaced the first line to be:
resultDIV.innerHTML = '<TABLE ALIGN="CENTER" BORDER="0"
HEIGHT="100%"><TR><TD><IMG
SRC="images/load_data.gif"></TD></TR></TABLE>';
Problem: the GIF isn't animated. If I display the graphic on any
page in the <HTML> I have no problems, and the graphic is animated...
but for some reason, if I set the innerHTML of the div, with the
graphic, it remains at the first layer/frame of the .GIF.
Any ideas on how to make my GIF animated again?
If you gave the IMG an id, once the transform ran, you could change the SRC
of the IMG to the final GIF using javascript, just like we used to do in the
good old days before xslt. That ought to work.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list