Bonjour,

Voici un bout de code qui marche parfaitement sous IE7, et je ne vois pas pourquoi il ne marche pas sur IE6...

Voici mon code:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
document.getElementById('div_previsualisation').style.display='';
var new_frame=document.createElement('iframe');
var src_frame="http://";
new_frame.src=src_frame;
new_frame.id="id_frame_previsu";
new_frame.className='previsu';
document.getElementById('div_previsualisation').appendChild(new_frame);
document.getElementById('id_frame_previsu').contentWindow.location.reload(true);
var htmlElement = document.getElementsByTagName('html')[0];
htmlElement.style.overflow = 'hidden';
Une idée?