Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • reders Friend
    #136714

    Please help,
    I have made Virtuemart my homepage on this template so that the categories for VM are on the home page.

    When you click into a category, JA VM Product Slider is still working OK, BUT when you click a specific product JA VM Product Slider does not work, is there a way to make this work??

    You can view my site at http://www.webdesignerblackburn.com/WebProofs/safetywarehousedirect.co.uk/

    Kindest Regards,
    Sean R.

    Anonymous Moderator
    #285080

    hi,

    I checked your website and saw an error:
    $(this.options.wrapper).setStyle is not a function

    Please send me your admin account via PM so that i want to check your configuration.

    wooohanetworks Friend
    #285175

    Don’t forget to place your site when it is ready into the Joomlart.com Member Showcase. This is actually the first site I see that I really like when it comes to simply utilizing the Larix Template just with some custom color and a perfectly fitting header…without the heavy customization work that also can be done….Well done!;)

    Anonymous Moderator
    #285332

    hi reders,

    For this case, please see my guide:

    + Open mod_ja_vmproductslide.php file in modules folder, find following script:

    <script type="text/javascript">
    var options={
    w: <?php echo $xwidth; ?>,
    h: <?php echo $xheight; ?>,
    num_elem: <?php echo $numElem; ?>,
    mode: '<?php echo $mode; ?>', //horizontal or virtical
    direction: '<?php echo $direction; ?>', //horizontal: left or right; virtical: up or down
    total: <?php echo $total; ?>,
    url: '',
    wrapper: 'ja-slider-center',
    duration: <?php echo $animationtime; ?>,
    interval: <?php echo $delaytime; ?>,
    running: false,
    auto: <?php echo $auto; ?>
    };

    var jsslider = null;
    </script>

    <script type="text/javascript">
    //<!--.innerHTML, i);
    }
    jsslider.setPos(null);
    if(jsslider.options.auto){
    jsslider.nextRun();
    }
    }

    jaAddEvent(window, 'load', sliderInit);

    function setDirection(direction,ret){
    jsslider.options.direction = direction;
    if(jsslider.options.auto){
    if(ret){
    if(direction == 'left'){
    $('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left.gif';
    }else {
    $('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right.gif';
    }
    jsslider.options.interval = <?php echo $delaytime; ?>;
    jsslider.options.duration = <?php echo $animationtime; ?>;
    }
    else{
    if(direction == 'left'){
    $('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left-hover.gif';
    }else {
    $('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right-hover.gif';
    }
    jsslider.options.interval = 800;
    jsslider.options.duration = 500;
    jsslider.nextRun();
    }
    }
    else{
    if(ret){
    if(direction == 'left'){
    $('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left.gif';
    }else {
    $('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right.gif';
    }
    jsslider.options.auto = 1;
    }
    else{
    if(direction == 'left'){
    $('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left-hover.gif';
    }else {
    $('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right-hover.gif';
    }
    jsslider.options.interval = 500;
    jsslider.options.duration = 500;
    jsslider.options.auto = 1;
    jsslider.nextRun();
    }
    }
    }
    //]]-->
    </script>

    and change to:

    <script type="text/javascript">
    var jsslider = null;
    </script>

    <script type="text/javascript">
    //<!--.innerHTML, i);
    }
    jsslider.setPos(null);
    if(jsslider.options.auto){
    jsslider.nextRun();
    }
    }

    jaAddEvent(window, 'load', sliderInit);

    function setDirection(direction,ret){
    jsslider.options.direction = direction;
    if(jsslider.options.auto){
    if(ret){
    if(direction == 'left'){
    $('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left.gif';
    }else {
    $('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right.gif';
    }
    jsslider.options.interval = <?php echo $delaytime; ?>;
    jsslider.options.duration = <?php echo $animationtime; ?>;
    }
    else{
    if(direction == 'left'){
    $('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left-hover.gif';
    }else {
    $('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right-hover.gif';
    }
    jsslider.options.interval = 800;
    jsslider.options.duration = 500;
    jsslider.nextRun();
    }
    }
    else{
    if(ret){
    if(direction == 'left'){
    $('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left.gif';
    }else {
    $('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right.gif';
    }
    jsslider.options.auto = 1;
    }
    else{
    if(direction == 'left'){
    $('ja-slide-left-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-left-hover.gif';
    }else {
    $('ja-slide-right-img').src = '<?php echo $mosConfig_live_site; ?>/modules/mod_ja_vmproductslide/re-right-hover.gif';
    }
    jsslider.options.interval = 500;
    jsslider.options.duration = 500;
    jsslider.options.auto = 1;
    jsslider.nextRun();
    }
    }
    }
    //]]-->
    </script>

    Hope it helps.

    reders Friend
    #288348

    Many Thanks mark,
    I have a few Larix Templates if your interested in viewing them:-

    http://www.worldrugsemporium.com
    http://www.suitesofashop.com

    Many Thanks

    Reders

    wooohanetworks Friend
    #288442

    I like the one you presented inhere the most, looks perfect…:D

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  wooohanetworks 15 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum