Connecting Tech Pros Worldwide Forums | Help | Site Map

noob: must I use frames? - maybe OT

fluk@tluk.it
Guest
 
Posts: n/a
#1: Feb 11 '08
Hi guys,
This is the structure of every page inside my site.

Header: nothing special

Body:
leftColumn: a Javascript folding menu, which calls the the actual
contents of the page
something like this:
-menuItem1
subItem1
subItem2
+menuItem2
-menuItem3
subItem1
subItem2
subItem3

rightColumn: This is the place where the contents are displayed.

Footer: nothing special

The problem is that I shouldn't refresh the leftColumn because in this
way my menu is resetted.

I think I'd solve everything easily with some frames, but I know
frames are evil ;-) and I wouldn't use them if not obligated!
Is there a way to make my pages not frames-free?

Thanks in advance
Francesco

fluk@tluk.it
Guest
 
Posts: n/a
#2: Feb 11 '08

re: noob: must I use frames? - maybe OT


On Feb 11, 5:32 pm, "f...@tluk.it" <francesco.campana...@gmail.com>
wrote:
Quote:
Is there a way to make my pages not frames-free?
>
I noticed there is an error...
Of course I'd like to make my page frame-free!

Thank you for any hint.They are precious :-)
Francesco
Rik Wasmus
Guest
 
Posts: n/a
#3: Feb 11 '08

re: noob: must I use frames? - maybe OT


On Mon, 11 Feb 2008 17:32:40 +0100, fluk@tluk.it
<francesco.campana.76@gmail.comwrote:
Quote:
Hi guys,
This is the structure of every page inside my site.
>
Header: nothing special
>
Body:
leftColumn: a Javascript folding menu, which calls the the actual
contents of the page
something like this:
-menuItem1
subItem1
subItem2
+menuItem2
-menuItem3
subItem1
subItem2
subItem3
>
rightColumn: This is the place where the contents are displayed.
>
Footer: nothing special
>
The problem is that I shouldn't refresh the leftColumn because in this
way my menu is resetted.
>
I think I'd solve everything easily with some frames, but I know
frames are evil ;-) and I wouldn't use them if not obligated!
Is there a way to make my pages not frames-free?
As it is javascript based, why not store the folding/expanding of certain
nodes in a cookie? Another method would be not actually loading another
page, but using javascript & a XMLHTTPRequest to load new 'inner' content
from the server in some element (rightColumn?) on the page. As it's more
difficult to make pages bookmarkable in that solution I normally don't
choose this option BTW. Be sure you have a fallback for the people without
javascript (searchbots/indexers for instance, to often overlooked).
--
Rik Wasmus
Closed Thread