| Matte Edens 2004-06-24, 1:22 am |
| A question was asked back in January [1] about using HTML_Page for
generating framesets. There is no builtin way of doing this at the
current time and I see that the CVS code hasn't been updated to handle
this yet (Page2). The code that was suggested is attached (I hope.
dunno if attachments are ok on the list). This code isn't W3C kosher
though. In the code, the <noframes> content is outside the <frameset>
tag which doesn't validate per any DTD.
Has anyone implemented a fix or possibly extended the current classes to
take care of frames?
off the top of my head couldn't there be something like this (until
there's an HTML_Frameset package) ...
$frameset = $page->createFrameset(array $attributes);
$frameset->addFrame(array $attributes);
$page->addBodyContent('To view this page properly, your browser must
support framesets.');
$page->addFrameset($frameset);
until we can ...
$frameset = HTML_Frameset::HTML_Frameset(array $attributes)
Thought I'd ask before I tackled it myself.
[1] http://marc.theaimsgroup.com/?l=pear-general&m=107530564518384&w=4
--
matte - matte@arubanetworks.com
webmonkey / arubanetworks.com / airheads04.com / wi-fi-it.com
|