Bonjour,
Je cherche a desactiver le scroll d'une fenetre sous IE.
Comment faire?
J'ai essayé ca, mais ca ne marche pas...
Une idée?Code:
1
2
3 var htmlElement = document.getElementByTagName('html')[0]; htmlElement.style.overflow = 'hidden';
Version imprimable
Bonjour,
Je cherche a desactiver le scroll d'une fenetre sous IE.
Comment faire?
J'ai essayé ca, mais ca ne marche pas...
Une idée?Code:
1
2
3 var htmlElement = document.getElementByTagName('html')[0]; htmlElement.style.overflow = 'hidden';
En fait j'ai trouvé...
J'ai juste modifié comme ceci:
Code:
1
2
3 var htmlElement = document.getElementsByTagName('html')[0]; htmlElement.style.overflow = 'hidden';
Joli !!
J'allai répondre "pas possible" :oops:
A+
Great, Merci beaucoup :ccool::ccool: