By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,032 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

noob: must I use frames? - maybe OT

P: n/a
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
Feb 11 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Feb 11, 5:32 pm, "f...@tluk.it" <francesco.campana...@gmail.com>
wrote:
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
Feb 11 '08 #2

P: n/a
On Mon, 11 Feb 2008 17:32:40 +0100, fl**@tluk.it
<fr******************@gmail.comwrote:
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
Feb 11 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.