mon frére il est commencer un site web asp.net et moi je veut terminer le probleme que je sais pas pq il veu pas ouvrire avec ie6
quelqu'un qui peu modifier cette code
c'est urgen
var RokIEWarn = new Class({
'site': 'sitename',
'initialize': function() {
var warning = "<h3>Vous utilisez actuellement ce site avec Internet Explorer 6 (IE6). .</h3><h4>REMARQUE: Le site de CST Sécurité est compatible avec IE6, toutefois en raison de limitiations dans le navigateur, quelques-uns des effets graphiques et visuels ont été réduits.</h4><p>La dernière version d'Internet Explorer 6 a été appelée Service Pack 1 pour Internet Explorer 6 et est sorti en D&;cembre 2004. En continuant d'exécuter Internet Explorer 6 vous êtes ouvert â toutes les failles de sécurité découvertes depuis cette date. En Octobre de 2006, Microsoft a publié la version 7 d'Internet Explorer qui, en plus d'offrir une plus grande sécurité dans la navigation, qui permet au navigateur Internet Explorer â identifier comme 'moderne navigateurs'. Microsoft a lancé Internet Explorer 7 en tant que mise à jour de haute priorité, et est maintenant disponible en téléchargement gratuit, sans aucune exigence de certification. En date du 12 février 2008 oblige Microsoft â jour vers Internet Explorer 6, afin de déplacer les gens vers la version beaucoup amélioré et sécurisé 7. S'il vous plaît vous assurer de ne pas entraver ce processus. C'est pour votre bien!</p> <br /><a class=\"external\" href=\"http://www.microsoft.com/downloads/details.aspx?FamilyId=9AE91EBE-3385-447C-8A30-081805B2F90B\">Télécharger Internet Explorer 7 MAINTENANT!</a>";
this.box = new Element('div', {'id': 'iewarn'}).inject(document.body, 'top');
var div = new Element('div').inject(this.box).setHTML(warning);
var click = this.toggle.bind(this);
var button = new Element('a', {'id': 'iewarn_close'}).addEvents({
'mouseover': function() {
this.addClass('cHover');
},
'mouseout': function() {
this.removeClass('cHover');
},
'click': function() {
click();
}
}).inject(div, 'top');
this.height = $('iewarn').getSize().size.y;
this.fx = new Fx.Styles(this.box, {duration: 1000}).set({'margin-top': $('iewarn').getStyle('margin-top').toInt(), 'opacity': 0});
this.open = false;
var cookie = Cookie.get('rokIEWarn'), height = this.height;
//cookie = 'open'; // added for debug to not use the cookie value
if (!cookie || cookie == "open") this.show();
else this.fx.set({'margin-top': -height, 'opacity': 0});
return ;
},
'show': function() {
this.fx.start({
'margin-top': 0,
'opacity': 1
});
this.open = true;
Cookie.set('rokIEWarn', 'open', {duration: 7});
},
'close': function() {
var margin = this.height;
this.fx.start({
'margin-top': -margin,
'opacity': 0
});
this.open = false;
Cookie.set('rokIEWarn', 'close', {duration: 7});
},
'status': function() {
return this.open;
},
'toggle': function() {
if (this.open) this.close();
else this.show();
}
});
window.addEvent('domready', function() {
if (window.ie5){ (function() {var iewarn = new RokIEWarn();}).delay(1); }
});