Jeff - 
Thanks for sharing your code with us!  I am having a problem with the
way it is displaying my sitemap - it doesn't seem to be displaying any
of the HTML objects with an nLevel of 2, but all of their sub-pages are
displayed.  Why would this be happening?

I guess its time that I finally look into how the sitemap and
getDecendants works.  (I've been avoiding it up until now :)

Thanks,

Paul Gallo

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Coughlin
Sent: Wednesday, August 10, 2005 2:39 PM
To: FarCry Developers
Subject: [farcry-dev] Re: Sitemap XHTML validation

Gallo, Paul wrote:
> Jeff Coughlin mentioned a few months ago that he has written a fix to
> the sitemap webskin file to make it valid XHTML...  Was this code ever
> released to the list?  Was it stored anywhere after the problems with
> the daemon site?

Alright.  I had to strip-down the version I was using (lots of custom 
code to determine when to display cerain <ul> ids and <il> classes). 
The file (attached) is thus much smaller and seems to work great.  As 
always, once you're ready for production it is highly suggested to turn 
on caching (you can unremark the commented code lines at the top and 
bottom of the file).

There is one thing I should note.  In my original version I was using a 
custom getDescendants() (called getValidDescendants()) that would not 
return nodes that didn't have valid content to display.  This is very 
handy because it allows me to organize nodes of content under common 
(empty) nodes.  If you'd like a copy of this custom method let me know, 
otherwise just use the standard getDescendants() that comes with the 
Farcry core.

-Jeff C.
-------------------------------------------------------
This email and any files transmitted with it are confidential and intended 
solely for the individual or entity to whom they are addressed.  If you have 
received this email in error, please notify the sender and your system manager. 
 The recipient should check this email and any attachments for the presence of 
viruses.  Clough, Harbour & Associates LLP accepts no responsibility for any 
damage caused by any virus transmitted by this email or for any non-business 
related contents.


---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to