pandorafms/pandora_console/include/styles/cb/lib/ximgrollsetup.xml

72 lines
2.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<xlib_symbol id='xImgRollSetup'>
<copyright>Copyright 2002-2005 Michael Foster (Cross-Browser.com)</copyright>
<license>Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL</license>
<groups>
<grp>Image</grp>
<grp>Event</grp>
</groups>
<type>Function</type>
<description><![CDATA[Image rollover setup. Can not be called before the window onload event. Pass image IDs starting with 4th argument. The only html requirement is for each IMG tag to have an ID. Assumes this image file naming convention:
out img = path + imgEleId + fileExt
over img = path + imgEleId + ovrSuffix + fileExt
]]></description>
<syntax>xImgRollSetup(sPath, sOvrSuffix, sFileExt, sImgEleId[, ...])</syntax>
<parameters>
<par>
<name>sPath</name>
<note><![CDATA[path to image files (requires trailing slash)]]></note>
</par>
<par>
<name>sOvrSuffix</name>
<note><![CDATA[see the file name convention]]></note>
</par>
<par>
<name>sFileExt</name>
<note><![CDATA[see the file name convention (requires dot)]]></note>
</par>
<par>
<name>sImgEleId</name>
<note><![CDATA[pass all img ele IDs starting with the 4th argument]]></note>
</par>
</parameters>
<dependencies>
<dep>xGetElementById</dep>
</dependencies>
<demos>
<demo>
<url>http://cross-browser.com/toys/</url>
<note><![CDATA[Index of all X demos.]]></note>
</demo>
</demos>
<revisions>
<rev>
<num>3</num>
<date>16Mar05</date>
<author>mf</author>
<note><![CDATA[Reduced 69 bytes.]]></note>
</rev>
<rev>
<num>2</num>
<date>28Jul04</date>
<author>mf</author>
<note><![CDATA[made the event listeners private]]></note>
</rev>
<rev>
<num>1</num>
<date>31Mar04</date>
<author>mf</author>
<note><![CDATA[put in it's own file for use with XC]]></note>
</rev>
</revisions>
</xlib_symbol>