To load a template from javascript present in the templates

Author Message

Romeo Antony

Monday 01 November 2010 3:26:14 am

Hi,

Please anyone try to help me to load a template from javascipt

For instance

if users browser javascript is enabled then load a template ,

if users breoswer doeanot enabled javascript some other template

<script type="text/javascript">

/ to load a template from design/template1 folder in ez(js enabled)

</script>

/ to load a template from design/template2 folder in ez (js disabled)
<noscript>
Javascript is disabled
</noscript>

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.