Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {literal}
- <script type="text/javascript" language="javascript">
- if ($(window).width() < 1200) {
- $('#mega-1').html("{/literal}{foreach from=$blockCategTree.children item=child name=blockCategTree}{if $smarty.foreach.blockCategTree.last}{include file="$branche_tpl_path" node=$child last='true'}{else}{include file="$branche_tpl_path" node=$child}{/if}{/foreach}{literal}");
- }
- else {
- $('#mega-1').html('nothing');
- }
- </script>
- {/literal}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement