HTML_Page (or Page2) and framesets

From: Date: Thu, 24 Jun 2004 01:25:23 +0000
Subject: HTML_Page (or Page2) and framesets
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13296@lists.php.net to get a copy of this message
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

« previous php.pear.general (#13296) next »