Thanks.  I kinda suspected that was the way I would have to go, but was
hoping to avoid it - I have about15 images with 6 layers (top 5 with
transparent backgrounds) but only 2 or 3 of the layers would be needed at
any given time for a given image.  The needs for the layers are determined
dynamically by database/user settings, and need to reflect the changes
without a page reload.

So, I'm likely going to just conditionally include the IMG tags from
server-side code to begin with.

Thanks anyway.

Shawn Grover

-----Original Message-----
From: Jon Block [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 02, 2002 1:27 AM
To: CF-Talk
Subject: RE: Dynamic creation of Images via JS?


Shawn,

In order for regular still images to appear in web pages in the standard
way, you need to use some type of IMG tag. You could conditinonally write
the <IMG> tag with an "if" and "document.write" in javascript, then reassign
the properties of the <IMG> tag.

Cheers,
Jon

-----Original Message-----
From: Shawn Grover [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 3:36 PM
To: CF-Talk
Subject: OT: Dynamic creation of Images via JS?


I know I can create an Image Object, and adjust it's properties in JS.  But
I can't seem to figure out how to make that image visible, without first
creating an IMG tag, then dynamically set the source.

Is it possible to create and display an image object in JS without an IMG
tag?

Thanks



______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to