CSS and DHTML

Cascading style sheets: One of these days, I’m going to redo this site with them. But it works so nicely now, with my ultimate table-nesting design. But I’ve learned a lot over the past five hours. And in one website I’m designing, I found a nice tab-control script someone had built (simple and elegant) which works well, except that it loads all of the page data at once. This facilitates instant tab movement (the browser doesn’t have to load anything when the user clicks from one tab to the next; it’s already been downloaded so the content shown changes instantly) but for a data-heavy site the initial load may take a while. What I’d like to do is figure out how sites like Gmail use Javascript to open back-channels to the server and load segments of a page. I can then populate tabs that are switched to in that way, to avoid loading the whole page again– just load the contents of the tab the user switched to upon the switch. This should make for a very efficient and streamlined site.

This entry was posted in Uncategorized by . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>