biowep
27-03-2012, 16:03
Ciao, sto provando un pagina html con IE Tester.
In caso di ie 8 ed ie 7 mi da un errore.
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){
var el=document.getElementById('mioid');
el.getChildren('ul').set('morph',{duration:300, transition:Fx.Transitions.Expo.easeOut});
el.getChildren('ul').setStyle('display','none');
}
);
</script>
</head>
<body>
<div id="mioid">
<ul style="height:300px; widh: 300px; background:black"></ul>
</div>
</body>
</html>
Con ie da un errore sulla riga 8: Proprietà o metodo non supportati dall'oggetto.
Con tutti i browser validi funzione, funziona anche con ie9.
In caso di ie 8 ed ie 7 mi da un errore.
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){
var el=document.getElementById('mioid');
el.getChildren('ul').set('morph',{duration:300, transition:Fx.Transitions.Expo.easeOut});
el.getChildren('ul').setStyle('display','none');
}
);
</script>
</head>
<body>
<div id="mioid">
<ul style="height:300px; widh: 300px; background:black"></ul>
</div>
</body>
</html>
Con ie da un errore sulla riga 8: Proprietà o metodo non supportati dall'oggetto.
Con tutti i browser validi funzione, funziona anche con ie9.