Sent by Alex Robinson on 21 February 2005 13:01
>can't figure out how to load a page that has been selected in the menu and
>send it to a CSS frame. All I get is a new page that loads when ever I
>select a menu item. How do I send a page to a css frame? Do I need to use
>Javascript or is there a way to do it in CSS. Here is the site that I
>mentioned. http://soiland.no/frames_with_css/
CSS 'frames' are not the same as HTML frames. A CSS frame is an
element that has been styled to remain in a fixed position in
relation to the viewport. You can't simply just load an external
document into a CSS frame since it isn't one - it's just a regular
element.
You could use an iframe as part of your setup (see
http://www.fu2k.org/alex/css/frames/iframe for details) but this
raises the issue of what happens if someone stumbles on your pages
outside of the iframe.
(Alternatively you could use xmlhttprequest or iframe-based remote
scripting to load the additional pages, but the same problem applies)
So your best bet is to wrap all your pages with the CSS frames. Or
not use them at all.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/