div tag working like a frameset? |
div tag working like a frameset? |
cookiemonstera |
May 15 2007, 09:31 AM
Post
#1
|
Group: Members Posts: 2 Joined: 15-May 07 Member No.: 2,821 |
is it possible to work div tags like a frameset...?
you know...have one div layer as navigation...and the other as the content display. the navigation layer should update the content display without reloading the entire page...is this possible? how? |
Darin McGrew |
May 15 2007, 12:37 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
is it possible to work div tags like a frameset...? Not the way you mean it, no.you know...have one div layer as navigation...and the other as the content display. the navigation layer should update the content display without reloading the entire page...is this possible? how? You can get the effect of independently scrolling regions using DIV elements and CSS. But you can't reliably update the content of a DIV element without updating the rest of the page.But IMHO, it's better to go ahead and update the whole page anyway. Browsers can cache any images, external style sheets, external JavaScript, etc. that are common to all your pages. If the size of the rest of the common code is significant, then you really need to rework your design. |
Christian J |
May 15 2007, 12:38 PM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
the navigation layer should update the content display without reloading the entire page...is this possible? how? That can be done with AJAX, but this is not recommended due to numerous usability problems. A better idea is to include the menu on all pages with PHP or SSI. Then you must load the entire page, but that shouldn't be a big problem. |
cookiemonstera |
May 15 2007, 02:01 PM
Post
#4
|
Group: Members Posts: 2 Joined: 15-May 07 Member No.: 2,821 |
thnx
|
Lo-Fi Version | Time is now: 25th April 2024 - 09:28 AM |