I'm in the process of changing from a framed to non-framed web. My test site
is:
http://www.writeonwhidbey.org/_priva...sitestBOB.html
The scrolling navbar, that stays fixed at the top of the page when you
scroll down, works for all browsers that I've tried except Opera. (I'm using
Opera 7.54).
This nav bar is included in every file with SSI.
The key code is:
<style type="text/css"><!--
#moveNav { position: absolute; left: 0px; top: 0px; }
body > div#moveNav { position: fixed; }
--></style>
<!--[if gte IE 5.5]>
<style type="text/css">
div#moveNav {
left: expression( ( ( ignoreMe2 = document.documentElement.scrollLeft ?
document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
top: expression( ( ( ignoreMe = document.documentElement.scrollTop ?
document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}
</style>
<![endif]-->
<div id="moveNav">
<div class="center">
<img border="0" src="/images/Logos%20and%20buttons/Medium%20Logo.jpg"
width="122" height="140" alt="WIWA Logo" />
etc.
...
...
I got the idea for this code from
http://www.howtocreate.co.uk/fixedPosition.html On this site, the technique
works in Opera, but he's not using the DOCTYPE that I am.
Has anyone found a solution for fixed position nav bars, using SSI?
TIA