Différence de comportement I.E F.F
Bonjour,
J'essai d'utiliser le frameworks Prototype et window afin ajouter des fenétres dans mon appli.
C'est la première fois que j'utilise Prototype et window.
J'ai donc fait un petit test, et j'ai des differences de comportements affichage entre FF (ou tout est OK) et I.E7 ou le rezise de la fenétre ne fonctionne pas.
Je ne trouve pas de solution...
Etant débutant je suppose que je passe à coté d'un truc mais je ne vois pas.
Pourriez vous m'aider ?
Merci
Voici ma page de test
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/window.css" />
<link rel="stylesheet" type="text/css" href="css/alphacube.css" />
<script type="text/javascript" src="./js/prototype.js"></script>
<script type="text/javascript" src="./js/effects.js"></script>
<script type="text/javascript" src="./js/window.js"></script>
<script type="text/javascript">
<!------ Fonctions internes -------------------------------------------------------------------------------------------------------->
function wtest() {
w = new UI.Window({top: 120, left: 10}).show();
w.header.update("Test");
Event.observe(window, "load", runTest);
}
function runTest() {
CSS.preloadImages();
openWindow();
}
</script>
<style>
body {
margin:0px;
padding:0px;
height:100%;
font-family: Verdana, sans-serif;
font-size:14px;
background-color:#3044B5;
}
#contener {
background-color:#3044B5;
height:100%;
overflow:hidden;
}
div#gauche {
background-color:#99BADD;
position:absolute;
left:5px;
top:5px;
width:170px;
height: 190px;
float:left;
text-align: center;
border-style: solid;
border-width: 1px;
border-color: navy;
z-Index:1;
}
div#shadowgauche {
background-color:navy;
position:absolute;
left:2px;
top:10px;
width:170px;
height: 190px;
opacity:.65;
filter:alpha(opacity=65);
text-align: center;
}
#droit {
background-color:#99BADD;
position:absolute;
top:5px;
width:80%;
left:200px;
height: 190px;
float:left;
text-align: center;
margin-left: -10px;
overflow:auto;
border-style: solid;
border-width: 1px;
border-color: navy;
z-Index:1;
}
div#shadowdroit {
background-color:navy;
position:absolute;
left:187px;
top:10px;
width:838px;
height: 190px;
opacity:.65;
filter:alpha(opacity=65);
text-align: center;
}
#current {
display:none;
}
#retour {
position: absolute;
top: 210px;
left:0px;
background-color:#3044B5;
width:99%;
height:350px;
}
#containers {
font-family: Verdana, sans-serif;
font-size:11px;
color: black;
}
</style>
</head>
<body>
<div id="contener">
<div id="content" ></div>
<div id="gauche" ></div>
<div id="shadowgauche" ></div>
<div id="droit"></div>
<div id="shadowdroit"></div>
<div id="current">
<input type="text" id="currenttext" value="">
<input type="text" id="currentConf" value="">
</div>
<div id="retour">
<input type="button" value="popup" onclick="wtest();"/>
</div>
</div>
</body>
</html> |