cvs: phpweb /include shared.inc
| From: | Colin Viebrock | Date: | Thu, 14 Dec 2000 16:54:47 +0000 |
| Subject: | cvs: phpweb /include shared.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-3097@lists.php.net to get a copy of this message | ||
cmv Thu Dec 14 08:54:47 2000 EDT
Modified files:
/phpweb/include shared.inc
Log:
Fun with IE ...
Index: phpweb/include/shared.inc
diff -u phpweb/include/shared.inc:1.117 phpweb/include/shared.inc:1.118
--- phpweb/include/shared.inc:1.117 Mon Dec 11 18:57:51 2000
+++ phpweb/include/shared.inc Thu Dec 14 08:54:47 2000
@@ -348,6 +348,10 @@
if (window != top) top.location.href = location.href;
+NS4 = (document.layers) ? 1 : 0;
+IE4 = (document.all) ? 1 : 0;
+DOM = (document.getElementById) ? 1 : 0;
+ver4 = (NS4 || IE4) ? 1 : 0;
/*
<? readfile($DOCUMENT_ROOT."/COPYRIGHT.txt"); ?>
@@ -374,11 +378,6 @@
<SCRIPT LANGUAGE="JavaScript1.2">
<!--
-NS4 = (document.layers) ? 1 : 0;
-IE4 = (document.all) ? 1 : 0;
-DOM = (document.getElementById) ? 1 : 0;
-ver4 = (NS4 || IE4) ? 1 : 0;
-
function moveLayers() {
if (gotlayers) {
if (NS4) {
@@ -419,7 +418,11 @@
if (gotlayers) {
if (on) {
moveLayers();
- if (NS4) {
+ if (IE4) {
+ document.all[menuName].filters[0].Apply();
+ document.all[menuName].style.visibility = "visible";
+ document.all[menuName].filters[0].Play();
+ } else if (NS4) {
document.layers[menuName].visibility = "show";
} else if (DOM) {
document.getElementById(menuName).style.visibility = "visible";
@@ -427,7 +430,9 @@
document.all[menuName].style.visibility = "visible";
}
} else {
- if (NS4) {
+ if (IE4) {
+ document.all[menuName].style.visibility = "hidden";
+ } else if (NS4) {
document.layers[menuName].visibility = "hide";
} else if (DOM) {
document.getElementById(menuName).style.visibility = "hidden";
@@ -744,7 +749,8 @@
<? if (($NS4 || $IE4) && !$DISABLE_KICKOUTS): /* Kick outs */ ?>
-<DIV ID="mirrorsKick" STYLE="POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden;
TOP: 0px; LEFT: 0px;">
+<DIV ID="mirrorsKick" STYLE="POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden;
TOP: 0px; LEFT: 0px;
+filter:blendtrans(duration=0.5);">
<? kickHeader(-20,'left',400);?>
<FORM ACTION="/redirect.php" METHOD="POST">
<B>Pick a mirror site close to you:</B><BR>
@@ -768,7 +774,8 @@
<? kickFooter("mirrorsKick","mirr",400);?>
</DIV>
-<DIV ID="qrefKick" STYLE="POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden;
TOP: 0px; LEFT: 0px;">
+<DIV ID="qrefKick" STYLE="POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden;
TOP: 0px; LEFT: 0px;
+filter:blendtrans(duration=0.5);">
<? kickHeader(30,'left',400);?>
<FORM ACTION="/manual-lookup.php" METHOD="POST">
<FONT SIZE=+1><B>Quick Function Reference</B></FONT><BR>
@@ -794,7 +801,8 @@
endif;
?>
-<DIV ID="searchKick" STYLE="POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden;
TOP: 0px; LEFT: 0px;">
+<DIV ID="searchKick" STYLE="POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden;
TOP: 0px; LEFT: 0px;
+filter:blendtrans(duration=0.5);">
<? kickHeader(-35,'top',300);
if (!isset($prevsearch)):
$prevsearch[0]="";