[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL transformations with Javascript
[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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|