Any site based on Astron SiteManager CMS system has this client side JavaScript API.
Varitables
| Varitable |
Description |
| CMS_FullPathToSiteRoot |
Folder of site root |
| isOpera |
IS current browser Opera or not |
| isIE |
IS current browser MS IE or not |
| isMoz |
IS current browser Mozilla or not |
Functions
CMS_GetEmailLink(sUser, sDomain, sATagAttributes, sLinkText, sSubject, sTitle)
This function render antispam e-mail link.
Example:
<script language="JavaScript"> CMS_GetEmailLink( CMS_GetEmailLink( </script>
Result HTML code: <a href="mailto:info@asplib.net?Subject=E-mail subject" class="txtbold" title="Link title">Web-master'</a> <a href="mailto:info@asplib.net?Subject=E-mail from asplib.net" class="txtbold" title="Send e-mail">info@asplib.net</a> |
CMS_OpenInNewWindow(psURL, piWidth, piHeight)
The function opens URL in new window with certain width and height.
General: Overview | CMS architecture
Controls: Controls
Site templates: Site templates
© 2005-2007 Astron Digital Ltd. All Rights Reserved.