Report message:*
 

Re: Need help with ajax "hotlava" theme

Subject: Re: Need help with ajax "hotlava" theme
by drummond on 2008/1/18 12:45:56

Thanks to marcan, we have a solution:

Put this in theme.html to make <{xoImgUrl}> variable available to javascripts as xoops_theme_url:

<!-- Make theme url available javascripts --> <script type="text/javascript"> var xoops_theme_url = "<{xoImgUrl}>"; </script>


So now, in this lightwindow.js file I can do:

image : xoops_theme_url + '/assets/lightwindow/images/black.png',