Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JavaScript to Chrome Conversion
Message
De
10/01/2013 11:50:38
 
 
À
Tous
Information générale
Forum:
Javascript
Catégorie:
Codage, syntaxe et commandes
Titre:
JavaScript to Chrome Conversion
Divers
Thread ID:
01562039
Message ID:
01562039
Vues:
77
A relatively simple function that dynamically writes out the html for a menu.
Chrome does not recognize the .document properly.
I've researched and found a couple of posts that lead me to believe dynamically writing to the object as done below is no longer allowed.

I hope there is a simple work around as I have spent a chunk of time converting from VbScript to JavaScript and everything is working properly in IE 8.0. :D
function GenerateMenu()
{
          for ( DocumentWriteCounter = 0; DocumentWriteCounter < MenuSet.length; DocumentWriteCounter++ )
				menubar.document.write( MenuSet[ DocumentWriteCounter ].HTML );
}
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform