Re: [xsl] XSL transformations with Javascript

Subject: Re: [xsl] XSL transformations with Javascript
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Mon, 4 Jun 2001 13:36:24 -0400
[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"

      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.


Tom P

 XSL-List info and archive:

Current Thread