Skinpath Javascript var

Feb 12, 2011 at 5:54 PM

Is it possible to create a extension for the stylehelper to register the Skinpath in a javascript var? So i can use it in javascript?

Coordinator
Mar 7, 2011 at 11:38 PM
Edited Mar 7, 2011 at 11:38 PM

I missed this post, no idea why.

Isn't adding this to your skin easier:

<script type="text/javascript">

var SkinPath = <%=PortalSettings.ActiveTab.SkinSrc%>

</script>

 

More examples here: http://dnnskinextensions.codeplex.com/releases/view/31927