Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Feature Request: If (thisArticle) in a loop

I'm not sure if this has been formally requested before, but I know that this has been discussed previously.

If I have some information that I've broken up into a number of pages, I want to provide a set of links on each page to navigate within the information:

    Page 1 2 3 4 5

But I'd like to highlight the current page I'm on and disable its hyperlink. Currently, this is not possible with the CityDesk scripting. My guess is that this could be implemented as a new if condition, an extra fornext condition like forThisArticle or even breaking up a fornext into two pieces (a before this article and after this article loop).

I've read about the CSS-based alternative on a previous thread, but it's a bit of a hack (it screws up my CSS layout!) and I can't disable the hyperlink.

Thanks for listening...

Joel Goodwin
Monday, March 01, 2004

*  Recent Topics

*  Fog Creek Home