Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

If-the-else done in CityScript

A while back I mentioned a sort of artificial if-then-else that I used on a new website. Terry was kind enough to store the thread here:
http://discuss.fogcreek.com/CityDesk/default.asp?cmd=show&ixPost=12703&ixReplies=4

Now, here is the website where I use the technique as a means to help users know where they are. One or more “buttons” are darkened and links turned orange by keywords in the actual article. This also help the users to know which group, or groups,  a certain product belongs to.

The beauty of it all, imho, is that (except for the search page and a small JavaScript showing the current date) it’s all done with CityScript.

Thanks to Peter Mathhijssen for providing inspiration to the underlying template.

The site is in Danish, but you should be able to spot the technique anyway. http://www.baskerville.dk/index.html

Jorgen B.
Friday, November 05, 2004

*  Recent Topics

*  Fog Creek Home