Hi,
On 22 March 2010 01:02, Tomas Srnka tomas.srnka@gmail.com wrote:
I think it's better to have either one file with all javascript or separate js files for each functionality. Otherwise you really loose advantage of caching in browser.
You might know this better, I've never worked on sites where caching matters so much. I'm just a beginner :).
Would the tabs still work without js?
I completely forgot about this. Without js, the tabs degrade to a <ul> with the tab titles and a set of divs containing the content. We might have to check before processing the page itself, whether javascript support exists, maybe at the login page itself, and set a session variable or store a cookie. This might lead to hacks though, to give similar user experiences with and without js, so I guess we should try this out on a page and decide if it's worth taking up.
Ninad S. Pundalik http://twitter.com/ni_nad http://ninadpundalik.co.cc/blog GPG Key Fingerprint: 2DF7 B856 C75E C9F9 0504 C0EF D456 1946 7C45 2C69