Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2959 connectés 

  FORUM HardWare.fr
  Programmation

  JAVASCRIPT Help !

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

JAVASCRIPT Help !

n°68686
DJERO
Yoooup...merde ça marche pas..
Posté le 31-10-2001 à 11:28:11  profilanswer
 

Peut-on ajouter une ligne de commande pour IE6?
SSi oui comment doit elle etre ?
 
Comme ça? :  
this.ie6=(this.ver.indexOf("MSIE 6" )>-1 && this.dom)?1:0;
 
Code de ma page:

Code :
  1. //Default browsercheck, added to all scripts!
  2. function checkBrowser(){
  3. this.ver=navigator.appVersion
  4. this.dom=document.getElementById?1:0
  5. this.ie5=(this.ver.indexOf("MSIE 5" )>-1 && this.dom)?1:0;
  6. this.ie4=(document.all && !this.dom)?1:0;
  7. this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
  8. this.ns4=(document.layers && !this.dom)?1:0;
  9. this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
  10. return this
  11. }
  12. var bw=new checkBrowser()

mood
Publicité
Posté le 31-10-2001 à 11:28:11  profilanswer
 

n°68688
DJERO
Yoooup...merde ça marche pas..
Posté le 31-10-2001 à 11:33:36  profilanswer
 

Désolé, j'ai cliquez trop tôt :D
J'avais la réponse :D
:D:D:D:D:D:D:D:D

 

[edtdd]--Message édité par Djero--[/edtdd]


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation

  JAVASCRIPT Help !

 

Sujets relatifs
[HTML/JAVASCRIPT] c tout con mais je sais plus... HELP[ HTML , JavaScript ] help, je trouve pas de nom de titre...
[Javascript tout con] Help, je trouve po l'erreur !!!HELP html + javascript (ca doit etre tres facile mais pourtant...)
[Javascript] Need help ![javascript] help ! script compliqué
[JAVASCRIPT] HELP sur jouer un SON!help : javascript
Aux pros du javascript ! HELP[JavaScript] HELP vite SVP
Plus de sujets relatifs à : JAVASCRIPT Help !


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR