Forum OpenACS Development: Re: theme zen class for tabs

Collapse
Posted by Don Baccus on
1. Check out theme-zen/lib/lrn-master.adp for the class structure for navtabs.

2. I think you mean theme, not layout, and zen-theme.adp is the one to use, yes.

3. Maybe someday, not now. If an accessible version of Ajax came out, we could consider using it.

Collapse
Posted by Hamilton Chua on
Don,

What did you mean by "an accessible version of Ajax" ?

Ajax isn't exactly a single product. It's more like a catch all term for anything that involves javascript and making asynchronous http requests (xmlhttp).

If you mean "unobtrusive javascript that degrades gracefully" wherein browsers that don't support the fancy javascript will still render and work with the web page, then I might be able to provide some assistance.

As an example of what I mean by "unobtrusive javascript that degrades gracefully" try visiting http://www2.pps.org/news/ and commenting on a blog post (you'll need to register and login).

You'll see the typical animation and background loading/posting etc. but the real test is when you turn of javascript on your browser and attempt to comment.

You'll notice that with javascript turned off it will behave like the original General Comments package on weblogger.

I admit I haven't had the leisure of time to look at Zen yet but I promise to have a look this weekend and see where we can implement stuff like this. That is if everyone is open to having such features and a possible dependency on javascript frameworks like say Prototype or Yahoo's YUI.

Best,

Hamilton