Hello all,

Just having one of those moments when brain wont kick into gear..!!

I have a random image that is being called for a header graphic and a side
bar background, which are called by css id's

One is part of the "start tag" in the cfmodule and the other is at the
"end", how do I get them to pass the same number?

eg.

#headerImage_1, #headerImage_2, #headerImage_3, #headerImage_4,
#headerImage_5

and the side bar equivalents

#sideImage_1, #sideImage_2, #sideImage_3, #sideImage_4, #sideImage_5


layout.cfm page
===============
<cfset myRandomImage = RandRange(1,5)>

<cfif thisTag.executionMode is "start">

 <div id="headerImage_#myRandomImage#">header image</div>

<cfelse>

 <div id="sideImage_#myRandomImage#">side image</div>

</cfif>


Thanks


====================================
Postal: Po Box 3462 Dural, NSW 2158
Email: mailto:[EMAIL PROTECTED]
Skype: skype:carlos-amigos?call

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to