Queued ScriptsQueuing a script does not actually add the script into thecode, but creates a reference to that script.It is up to the developer to tell where that script exist. Aneasy way of placing the scripts is using the definesdiscussed in an earlier tutorial.
Prototype LibrariesOur next files to retrieve are the libraries specific toprototype. Prototype libraries used the PV_PROTOTYPEdefine for the location where the script exist.
CSS FilesThe css files that were originally added to PVLibraries canbe retrieved at anytime as well. The PV_CSS defines setstheir location.
Retrieving Open ScriptOpen scripting, being that it is any information that you want topass the header, does not have a set location nor needs to beiterated through. It simply comes back as a string of text thatneeds to be printed out.
OutputIf you ran the example as a script, your output should looklike below.
Heads Up!The real importance of learning how to queue libraries isbecause these libraries are tightly integrated with thetemplate manager in ProdigyView.In the tutorials on the templating system, you will learnhow to pull these libraries directly into your html and havethem be formatted.
API ReferenceFor a better understanding of the libraries, visit the api byclicking on the link below.PVLibraries More TutorialsFor more tutorials, please visit:http://www.prodigyview.com/tutorials www.prodigyview.com