Adobe Dreamweaver Forums



Last 10 THreads :         Multiple Projects on Same Server (Last Post : cmullins@cfsloans.com - Replies : 2 - Views : 4 )           »          dynamic text gets highlighted (Last Post : NedWebs - Replies : 3 - Views : 4 )           »          Publish a 3d scenes as web pages (Last Post : openspark - Replies : 1 - Views : 5 )           »          Adding database RDS Login Dreamweaver 8 Coldfusion 8 (Last Post : Daverms - Replies : 5 - Views : 6 )           »          Dumb CSS question re: graphic alignment (Last Post : meinmichigan - Replies : 0 - Views : 1 )           »          Burn to a CD (Last Post : vodesjardins - Replies : 3 - Views : 4 )           »          Format numbers with leading zeros (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          Event listener (Last Post : NedWebs - Replies : 3 - Views : 4 )           »          mouseover slide menu! ... help! (Last Post : openspark - Replies : 1 - Views : 2 )           »          Trouble with SQL Query Tool on Leopard (Last Post : Daverms - Replies : 8 - Views : 9 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags:



Reply
  #1 (permalink)  
Old 10-09-2008, 07:00 PM
PopcornCoder
 
Posts: n/a
Diggs:
Default Want to change story on homepage with browser refresh

What would be the best way to do this? I have seen it done with arrays however i would need help with that as I am not too talented in that area thoughts?


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-09-2008, 07:12 PM
Ian Skinner
 
Posts: n/a
Diggs:
Default Re: Want to change story on homepage with browser refresh

PopcornCoder wrote:
> What would be the best way to do this? I have seen it done with arrays however i would need help with that as I am not too talented in that area thoughts?


You would have a repository of stories, be it database, array, file etc.

You would have a variable that defines which story from the above
repository to display.

Every time the page is requested you would assign this variable a value
based on the business rules you want to govern it. This may involve
somehow storing|passing the previous value to the next request, if the
rules dictate that knowledge of the previous value is required.
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 01:44 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk