PDA

View Full Version : Frames and Mambo


Rykkers
10-26-2005, 12:04 AM
Hi folks,

I hate to use the F - word, but I have a client whose dictates are for her site to use frames (and that is supposedly a non-negotiable item).

I've built a few sites, but daggone if I can figure out how to make this work. After consulting with an Israeli Mambo developer, we'd agreed that the best way to go would be for a separate installation for each language rather than use Mambelfish. No problem there, or with basic Mambo stuff. So, where's the trouble? I cannot get the navigation code or the contentpane stuff to load into their respective frames. When I test the template, the header and footer come up fine, but I get a "You are not allowed direct access to this location" message if I get anything at all. I have to have this live, ready for her to work on her content, in two days. Any miracle workers out there :D ?

<hr>

Update - Ok, I'm slow :eek: - there is a way to do all I need to using just CSS that I'd missed. For anyone needing access to the same resource, here's the link (http://www.fu2k.org/alex/css/frames/) .

embudu
10-26-2005, 05:59 AM
Hiya,

why would you use frames. When you use a two column layout it looks like frames as well.
Perhaps she wants to see a three column layout, that would even look more like a a frame design

Rykkers
10-26-2005, 05:53 PM
Hi embudu!

The spec called for the gradient background on the header and footer to scale to 100% width on all browsers, with a transparent graphic (her logo) staying to the left, her photo to the right. Header and footer to stay in their positions regardless of page content. The body section is to be 75% of the width, navigation 25%. Gradient menu background on mouseover. The layout must flip horizontally to accomodate right-to-left language (Hebrew). No scrollbar for any section save the mainbody content. I'd had it knocked once in a pure CSS/HTML design, but she changed her mind on some item positioning things, and it seemed it would be easier to just shift the whole thing over to a frames-based layout :( .

None of this is killer by any means, and is a snap in a table-based design for most of the requirements. No layout in tables is a big part of what I've been working towards ever since I started working in CSS, and I haven't done a frames-based site since 1998-1999 - but I've just started using PHP and Mambo, which still uses tables extensively for layout. I'd gone nuts trying to satisfy some of the positioning things, but more nuts in trying to figure out how to do a layout that would be bi-lingual, left-to-right as well as right-to-left.

A few cups of coffee later, and some more research, and sanity has been restored :)