2 Replies Latest reply on Mar 8, 2007 12:51 AM by Flashm@n

    Script within a cfset variable

    Flashm@n
      Hi,

      Is it possible to hold the following code within a coldfusion variable to be outputted on a page?...

      <style type="text/css">
      #strap {
      background-image: url(images/mypic.jpg);
      }
      </style>

      I would like to be able to dynamically change the background image on demand.

      Thanks