Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues > ColdFusion

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-09-2010, 10:47 PM   PM User | #1
wyclef
Regular Coder

 
Join Date: Feb 2005
Posts: 149
Thanks: 1
Thanked 0 Times in 0 Posts
wyclef is an unknown quantity at this point
ColdFusion Random Content

Hey, I need to have 12 chunks of content (text, image, link) displayed 3 at a time presented randomly on page load with CF... how do I do this? Here's a sample of what the markup looks like.

Code:
<div>
    <img src="1.jpg" alt="" />
    <span>Text1 <a href="#">Link1</a></span>
</div>
<div>
    <img src="2.jpg" alt="" />
    <span>Text2 <a href="#">Link2</a></span>
</div>
<div>
    <img src="3.jpg" alt="" />
    <span>Text3 <a href="#">Link3</a></span>
</div>
wyclef is offline   Reply With Quote
Old 02-12-2010, 07:32 PM   PM User | #2
Gjslick
Regular Coder

 
Join Date: Feb 2009
Location: NJ, USA
Posts: 476
Thanks: 2
Thanked 70 Times in 69 Posts
Gjslick will become famous soon enough
Where's this data coming from? A database? Just pieces of HTML code on a page?
Gjslick is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:06 PM.


Advertisement
Log in to turn off these ads.