[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL transformations with Javascript

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.