I would like the ability that the PHP Includes statement gives me when it comes to maintaining navigation or other common page elements across a site. I know how to use CSS to handle the design of elements across a site. What I'm looking for is how to handle the other common elements without having PHP available to me.
I'm not a huge fan of frames either normally... that's why I was hoping to find a solution that didn't involve them.
From what you're showing here, it looks like it...
I would use XHTML but with the .XML file extension and text/xml MIME type. And I would use an XSLT stylesheet to add the navigation. But if I really wanted to make sure that every one and every robot could navigate the site then I would include in the XHTML a link to a page in HTML that is just the navigation and have the stylesheet remove that link.
“The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
—Tim Berners-Lee, W3C Director and inventor of the World Wide Web
The <object> tag seem to work fairly well to allow me to include an html file... the only issue I'm seeing right now is that when using it to pull in navigation, clicking on a link in the object opens the link in the object, not in the main page... ??
My only issue at this point is finding a way to keep the accordion menu unfolded to whatever page it's on. So that when they unfold one and click on a sub-level, it will be unfolded when it goes to that page still.
Adding target="_parent" to the links took care of opening the link in the navigation in the parent page.