test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • jardin Friend
    #149020

    Is there a way to speed up the initial load process? It takes 4 or 5 seconds just to load the Slideshow2 module.

    I have two items with two images that are 25 Kb and 16 Kb big, much smaller than yours:

    http://templates.joomlart.com/ja_lime/images/stories/slideshow/sl-1.jpg 96 Kb
    http://templates.joomlart.com/ja_lime/images/stories/slideshow/sl-2.jpg 85 Kb
    http://templates.joomlart.com/ja_lime/images/stories/slideshow/sl-3.jpg 65 Kb

    If I disable the Slideshow2 module the entire homepage displays immediately. It’s just a problem with the new slideshow module. BTW, I use the older version on one of my other web sites and I do not experience any slowness.

    Any suggestions would be appreciated.

    Thanks

    johntrippe Friend
    #333908

    I would like to know as well. Mine takes too long to load too.

    Anonymous Moderator
    #333996

    Hi jardin

    I have reported this issue to the author of modue for checking

    I will inform you if this module is upgraded as soon as possible

    jardin Friend
    #334031

    When can we expect an answer?

    Saguaros Moderator
    #334278

    Dear all.
    Pls open the file modulesmod_jaslideshow2mod_jaslideshow2.php and find codes 112:

    window.addEvent(‘load’, function(){
    new JASlideshow2(‘ja-slide-<?php echo $module->id;?>’, {
    startItem: <?php echo $startItem; ?>,
    showItem: <?php echo $showItem; ?>,
    itemWidth: <?php echo $thumbWidth+$thumbSpaces[0]; ?>,
    itemHeight: <?php echo $thumbHeight+$thumbSpaces[1]; ?>,
    mainWidth: <?php echo $mainWidth; ?>,
    mainHeight: <?php echo $mainHeight; ?>,
    maskWidth: <?php echo $maskWidth; ?>,
    maskHeigth:<?php echo $maskHeigth; ?>,
    duration: <?php echo $duration; ?>,
    transition: <?php echo $effect; ?>,
    animation: ‘<?php echo $animation; ?>’,
    animationRepeat: ‘<?php echo $animationRepeat; ?>’,
    thumbOpacity:<?php echo $thumbOpacity; ?>,
    maskOpacity: <?php echo $descOpacity; ?>,
    buttonOpacity: <?php echo $overlapOpacity; ?>,
    showDesc: ‘<?php echo $showDescription; ?>’,
    descMode: ‘<?php echo $showdescwhen; ?>’,
    readmoretext: ‘<?php echo $readmoretext; ?>’,
    overlap: <?php echo $container; ?>,
    navigation:'<?php echo $navigation; ?>’,
    urls:[‘<?php echo implode(”,”, $urls); ?>’],
    targets:[‘<?php echo implode(”,”, $targets); ?>’],
    autoPlay: <?php echo $autoplay; ?>,
    interval: <?php echo $interval; ?>,
    maskAlignment:'<?php echo $maskAlignment; ?>’,
    maskerTransStyle:'<?php echo $params->get(‘masker-transition-style’, ‘opacity’); ?>’,
    maskerTrans:<?php echo $params->get(‘marker-transition’, ‘Fx.Transitions.linear’); ?>,
    navePos:'<?php echo $navAlignment; ?>’
    });
    });

    change:
    [PHP]

    // window.addEvent(‘load’, function(){
    new JASlideshow2(‘ja-slide-<?php echo $module->id;?>’, {
    startItem: <?php echo $startItem; ?>,
    showItem: <?php echo $showItem; ?>,
    itemWidth: <?php echo $thumbWidth+$thumbSpaces[0]; ?>,
    itemHeight: <?php echo $thumbHeight+$thumbSpaces[1]; ?>,
    mainWidth: <?php echo $mainWidth; ?>,
    mainHeight: <?php echo $mainHeight; ?>,
    maskWidth: <?php echo $maskWidth; ?>,
    maskHeigth:<?php echo $maskHeigth; ?>,
    duration: <?php echo $duration; ?>,
    transition: <?php echo $effect; ?>,
    animation: ‘<?php echo $animation; ?>’,
    animationRepeat: ‘<?php echo $animationRepeat; ?>’,
    thumbOpacity:<?php echo $thumbOpacity; ?>,
    maskOpacity: <?php echo $descOpacity; ?>,
    buttonOpacity: <?php echo $overlapOpacity; ?>,
    showDesc: ‘<?php echo $showDescription; ?>’,
    descMode: ‘<?php echo $showdescwhen; ?>’,
    readmoretext: ‘<?php echo $readmoretext; ?>’,
    overlap: <?php echo $container; ?>,
    navigation:'<?php echo $navigation; ?>’,
    urls:[‘<?php echo implode(”,”, $urls); ?>’],
    targets:[‘<?php echo implode(”,”, $targets); ?>’],
    autoPlay: <?php echo $autoplay; ?>,
    interval: <?php echo $interval; ?>,
    maskAlignment:'<?php echo $maskAlignment; ?>’,
    maskerTransStyle:'<?php echo $params->get(‘masker-transition-style’, ‘opacity’); ?>’,
    maskerTrans:<?php echo $params->get(‘marker-transition’, ‘Fx.Transitions.linear’); ?>,
    navePos:'<?php echo $navAlignment; ?>’
    });
    // });
    [/PHP]

    Good luck

    jardin Friend
    #334303

    Wow, what a difference. Thank you, tienhc!

    Commenting out this portion of the JavaScript code fixed the problem.

    slightlymad Friend
    #363616

    Hi – my mod_jaslideshow2.php file looks nothing like this. I have the same problem can you help?
    I have attached the file.

    Thanks!


    1. mod_jaslideshow2.zip
Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 5 voices, and was last updated by  slightlymad 14 years, 1 month ago.

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