Connecting Tech Pros Worldwide Help | Site Map

dynamic table

Juha Rossi
Guest
 
Posts: n/a
#1: Jul 17 '05
Hi,
Im designing web site like below:

-----------------------------------------------------------
| logo here | welcome text here
| |
| |
-----------------------------------------------------------
| buttons here |
| | main content here
| |
| |
| |
------------------------------------------------------------

The idea was to create dynamic html table instead of frames.
How can I refresh only the "main content cell" without
refreshing the whole page? The refresh-functionality was intended
to put behind buttons at the "button cell". Is it possible to open
complete html pages (e.g. <html> ... </html> in their own files) to
the main cell area? What techiniques should I use/best to use (php,
java/jsp, javascript, DOM)? Is there any every-browser-compatible
solution? I read that layers are brewser dependent. Sample code?

Thanks Juha Rossi
Peter Hickman
Guest
 
Posts: n/a
#2: Jul 17 '05

re: dynamic table


Juha Rossi wrote:[color=blue]
> The idea was to create dynamic html table instead of frames.
> How can I refresh only the "main content cell" without
> refreshing the whole page?[/color]

No can do, when a page changes then the whole page is reread and redrawn.
However if there are graphical elements in the page then they should come out
of the browsers cache (put all your js in a file and that too will be cached).

What you want to do it precisly what frames were created for, except that you
dont want to use them. You will just have to slim down your pages into
cachable components (images, javascript, stylesheets) and let the browser
cache speed things up.
[color=blue]
> Sample code?[/color]

This is really a browser / HTML issue than PHP, JSP or whatever.

Tim Van Wassenhove
Guest
 
Posts: n/a
#3: Jul 17 '05

re: dynamic table


On 2004-01-19, Juha Rossi <juhar@evitech.fi> wrote:[color=blue]
> Hi,
> Im designing web site like below:
>
> -----------------------------------------------------------
>| logo here | welcome text here
>| |
>| |
> -----------------------------------------------------------
>| buttons here |
>| | main content here
>| |
>| |
>| |
> ------------------------------------------------------------
>
> The idea was to create dynamic html table instead of frames.[/color]

This is a design question. There are better groups for that. You could
also use CSS to do the layout stuff.
[color=blue]
> How can I refresh only the "main content cell" without
> refreshing the whole page? The refresh-functionality was intended
> to put behind buttons at the "button cell". Is it possible to open
> complete html pages (e.g. <html> ... </html> in their own files) to
> the main cell area?[/color]

Still a design question, here i think iframe is what you need.

What techiniques should I use/best to use (php,[color=blue]
> java/jsp, javascript, DOM)?[/color]

Any CGI language will give you the ability to include the logo, welcome
text, buttons and main text the way you want it.


--
http://home.mysth.be/~timvw
Savut
Guest
 
Posts: n/a
#4: Jul 17 '05

re: dynamic table


innerHTML could do the job with a small iframe of 1x1 that fetch the data

Savut

"Juha Rossi" <juhar@evitech.fi> wrote in message news:3de4bc55.0401190654.21f0ba26@posting.google.c om...[color=blue]
> Hi,
> Im designing web site like below:
>
> -----------------------------------------------------------
> | logo here | welcome text here
> | |
> | |
> -----------------------------------------------------------
> | buttons here |
> | | main content here
> | |
> | |
> | |
> ------------------------------------------------------------
>
> The idea was to create dynamic html table instead of frames.
> How can I refresh only the "main content cell" without
> refreshing the whole page? The refresh-functionality was intended
> to put behind buttons at the "button cell". Is it possible to open
> complete html pages (e.g. <html> ... </html> in their own files) to
> the main cell area? What techiniques should I use/best to use (php,
> java/jsp, javascript, DOM)? Is there any every-browser-compatible
> solution? I read that layers are brewser dependent. Sample code?
>
> Thanks Juha Rossi[/color]


Closed Thread