| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help with Putting Full Width on Home.php | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() thanks for posting that, ive tried putting the literal tags around the script resulting in the following
{literal}<script type="text/javascript"> $(window).load(function() { $('#featured').orbit(); }); </script>{/literal} but the slider still doesnt appear to be working this is my full code, am i missing something ? {* 1e1924d979329a127f421a68658195f4e14e6c8e, v5 (xcart_4_6_0), 2013-04-09 12:52:17, home.tpl, random vim: set ts=2 sw=2 sts=2 et: *} <?xml version="1.0" encoding="{$default_charset|default:"utf-8"}"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> {config_load file="$skin_config"} <html xmlns="http://www.w3.org/1999/xhtml"{if $active_modules.Socialize} xmlns:g="http://base.google.com/ns/1.0" xmlns ![]() <head> {include file="customer/service_head.tpl"} <link rel="stylesheet" href="orbit-1.2.3.css"> <link rel="stylesheet" href="demo-style.css"> <!-- Attach necessary JS --> <script type="text/javascript" src="jquery-1.5.1.min.js"></script> <script type="text/javascript" src="jquery.orbit-1.2.3.min.js"></script> <!--[if IE]> <style type="text/css"> .timer { display: none !important; } div.caption { background:transparent; filter:progid ![]() </style> <![endif]--> <!-- Run the plugin -->{literal} <script type="text/javascript"> $(window).load(function() { $('#featured').orbit(); }); </script>{/literal} </head> <body{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}{if $container_classes} class="{foreach from=$container_classes item=c}{$c} {/foreach}"{/if}> {if $active_modules.EU_Cookie_Law ne ""} {include file="modules/EU_Cookie_Law/info_panel.tpl"} {/if} <div id="page-container"{if $page_container_class} class="{$page_container_class}"{/if}> <div id="page-container2"> <div id="content-container"> {if $main eq "catalog" and $current_category.category eq ""} <div id="slidercontent"><div id="sliderfeatured"> <img src="dummy-images/slider01.jpg" width="960" height="340" /> <img src="dummy-images/slider02.jpg" width="960" height="340" /> <img src="dummy-images/slider03.jpg" width="960" height="340" /> </div></div><!-- #content--><br> {/if} <div id="content-container2"> {if $config.Socialize.soc_fb_like_enabled eq "Y" or $config.Socialize.soc_fb_send_enabled eq "Y"} <div id="fb-root"></div> {/if} {include file="customer/content.tpl"} </div> </div> <div class="clearing"> </div> <div id="header"> {include file="customer/head.tpl"} </div> <div id="footer"> {include file="customer/bottom.tpl"} </div> {if $active_modules.Google_Analytics and $config.Google_Analytics.ganalytics_version eq 'Traditional'} {include file="modules/Google_Analytics/ga_code.tpl"} {/if} </div> </div> {load_defer_code type="js"} {load_defer_code type="css"} {if $active_modules.Wibiya} {$config.Wibiya.wibiya_integration_code|default:$w ibiya_integration_code} {/if} </body> </html>
__________________
X-Cart Version 4.55 |
|||||||
#12
|
|||||||
|
|||||||
![]() i even tried putting the literal tags around the external js files
eg {literal}<script type="text/javascript" src="jquery-1.5.1.min.js"></script>{/literal} {literal}<script type="text/javascript" src="jquery.orbit-1.2.3.min.js"></script> {/literal} but still not luck
__________________
X-Cart Version 4.55 |
|||||||
#13
|
|||||||
|
|||||||
![]() anyone ?
__________________
X-Cart Version 4.55 |
|||||||
|
|||
X-Cart forums © 2001-2020
|