Kenny,
Within a couple of days I'll be leaving for a place where I won't have a computer. I'll stay away for approx. 2 weeks. In the meantime, John may come up with a good solution for your problem.
I may have found a provisional solution for now. Just put in the head of EACH page, immediately after the opening tag (head):
Preloading the pages for IE:
Code:
<!--[if IE]>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script>
$('html').append('<iframe src="welcome.php" style="position:absolute;width:0px;height:0px" ></iframe>')
$('html').append('<iframe src="biography.php" style="position:absolute;width:0px;height:0px"></iframe>')
$('html').append('<iframe src="discography.php" style="position:absolute;width:0px;height:0px"></iframe>')
$('html').append('<iframe src="promotion.php" style="position:absolute;width:0px;height:0px"></iframe>')
$('html').append('<iframe src="friends.php" style="position:absolute;width:0px;height:0px"></iframe>')
</script>
<![endif]-->
Remove the white flash; for non-IE
Code:
<!--[if !IE]><!-->
<style>
html,body{background: black}
html{overflow-x: auto; overflow-y: scroll}
</style>
<!--<![endif]-->
You don't have to change the doctype.
Also, remove target="_top" in the hrefs. That may consume time and does nothing.
All of this works (more or less) in a simplified html-version I put HERE.
You should also keep this in the head for IE<9 (I didn't in my demo):
Code:
<!--[if lt IE 9]>
<META HTTP-EQUIV="Page-Exit" CONTENT="BlendTrans(Duration=0.0)">
<META HTTP-EQUIV="Page-Enter" CONTENT="BlendTrans(Duration=0.0)">
<![endif]-->
Btw, there is a rather solid method to kill the flicker in all browsers, but I didn't mention it because it is a totally different approach to menu inclusion (and I seem to be the only one to use it; I developed it myself). Examples here and here.
Good luck,
Arie.
Bookmarks