It might be better to set a variable to the size you want depending on the device being used... ie.
{if jrCore_is_mobile_device()}
{assign var="boxwidth" value="320"}
{else}
{assign var="boxwidth" value="450"}
{/if}
Then you can use that single variable for the this._boxWidth value...
this._boxWidth = {$boxwidth};
Depending on the rest of your code, you may also need to use literal tags.
ie.
{literal}
the beginning of your code here up to
this._boxWidth = {/literal}{$boxwidth}{literal};
the rest of your code here...
{/literal}
Hope this helps!
--
Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
updated by @douglas: 03/10/16 02:23:56PM