Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Packaging Javascript (X-Post from Internet Forum)
Message
De
11/07/2000 00:33:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00390585
Message ID:
00390589
Vues:
8
Andrew,

>What I'd like to do is package all the java up into a class (or whatever) that the user only downloads the first time they visit this page.

You can put your JavaScript functions into a ".js" file, and reference it on the page like this:
< SCRIPT LANGUAGE="JavaScript" SRC="myjava.js" >
< /SCRIPT >
Then just call the functions whenever you need them, as usual. It will be downloaded the first time a page refers to it.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform