On 23 Nov, Paul Newby wrote:
> Yes, I see what you mean. You could build a navigation
> element and reference it on the no-frames page in one style
> and in a navigation frame in another. Very useful.
Yes, and to improve the effect even further, you can also
customize the HTML output based on what browser is being
used. That could be useful if you want to try out the
DHTML stuff.
I've been using the HTTP_USER_AGENT for overcoming bugs
in the CSS implementation of different browsers, works
quite nicely.
<?php if (!strstr($HTTP_USER_AGENT, 'Mozilla/4')) {
/* All right, this one isn't on Netscape 4.x. Normal styling works */
?>
Something
<?php } else {
/* DUH! Someone is using Netscape 4.x! Workaround needed */
?>
Something else
<?php } ?>
> Paul
/Bergie
--
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
http://www.iki.fi/Henri.Bergius
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]