|
<?xml version="1.0" encoding="ISO-8859-1"?>
<x_symbol id='xSmartLoad'>
<sources>
<src><sym>xSmartLoad</sym><file>xsmartload.js</file><note><![CDATA[Default implementation.]]></note></src>
<src><sym>xSmartLoad2</sym><file>xsmartload2.js</file><note><![CDATA[Supports multiple URLs.]]></note></src>
</sources>
<copyright>Copyright 2007 Chris Nelson, based on xSmartLoadScript by Brendan Richards</copyright>
<license>Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL</license>
<groups>
<grp>DOM</grp>
</groups>
<type>Function</type>
<description><![CDATA[Load script or style sheet if not loaded before.]]></description>
<syntax>xSmartLoad(what, url)</syntax>
<parameters>
<par><name>what</name><note><![CDATA['link' or 'script']]></note></par>
<par><name>url</name><note><![CDATA[file to load from server]]></note></par>
</parameters>
<return><![CDATA[Returns script or link DOM node if found or added, null if it couldn't be added.]]></return>
<dependencies>
</dependencies>
<demos>
</demos>
<tests>
</tests>
<comments>
</comments>
<revisions>
<rev><num>1</num><date>2Jul07</date><author></author><note><![CDATA[initial release]]></note></rev>
</revisions>
</x_symbol>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been a software developer since 2005, focusing on .Net applications with MS SQL backends, and recently, C++ applications in Linux, Mac OS X, and Windows.