Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

JScript random content generator?

Hi All
I would like to be able to create an area on my site where a small random "Snippet" off content is displayed every time a viewer loads the page.

I am limited to jscript or client-side scripting to do this but feel that there must be a way to do it in CD!

There is a ton of scripts that allow it if you place the content as variables inside the jscript....  but I want it to do it directly from the html generated by CD.

Has anyone tried this, have this, or have any thoughts..

Thanks Grant

Saturday, November 1, 2003

CityScript acts to create the html files that are then loaded to your host.  So, once the files are on the host they don't change. 

Javascript is your best bet here.

Joel Goldstick
Sunday, November 2, 2003

*  Recent Topics

*  Fog Creek Home