Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • iainmac Friend
    #150267

    I am getting the following error, which seems to be an issue with other templates that use the ja_slideshow module. I have tried to amend but don’t know how to fix this troubleome IE8 issue.

    The Webpage error details are below

    Message: ‘null’ is null or not an object
    Line: 342
    Char: 4
    Code: 0

    Can anyone suggest how to resolve this issue?

    Thanks

    Saguaros Moderator
    #340003

    Dear iainmac!

    i have accessed your host and resolve this issue.
    Here is my solution ;

    1) Open the file: modules/mod_janewssticker/tmpl/jssettup.php and find code
    [PHP]
    //$(window).addEvent(‘domready’, function(){
    // options setting
    var options = { box:$(‘<?php echo $moduleID; ?>’),
    items: $$(‘#<?php echo $moduleID; ?> .ja-headlines-item’),
    mode: ‘<?php echo $animationType ;?>’,
    wrapper:$(‘jahl-wapper-items-<?php echo $moduleID; ?>’),
    buttons:{next: $$(‘.ja-headelines-next’), previous: $$(‘.ja-headelines-pre’)},
    interval:<?php echo (int)$params->get(‘animation_interval’, 3000);?>,
    fxOptions : { duration: <?php echo $params->get(‘animation_speed’, 500);?>,
    transition: <?php echo $params->get(‘animation_transition’, ‘Fx.Transitions.linear’); ?> ,
    wait: false } };

    var jahl = new JANewSticker( options );
    // });
    [/PHP]
    replace:
    [PHP]
    $(window).addEvent(‘domready’, function(){
    // options setting
    var options = { box:$(‘<?php echo $moduleID; ?>’),
    items: $$(‘#<?php echo $moduleID; ?> .ja-headlines-item’),
    mode: ‘<?php echo $animationType ;?>’,
    wrapper:$(‘jahl-wapper-items-<?php echo $moduleID; ?>’),
    buttons:{next: $$(‘.ja-headelines-next’), previous: $$(‘.ja-headelines-pre’)},
    interval:<?php echo (int)$params->get(‘animation_interval’, 3000);?>,
    fxOptions : { duration: <?php echo $params->get(‘animation_speed’, 500);?>,
    transition: <?php echo $params->get(‘animation_transition’, ‘Fx.Transitions.linear’); ?> ,
    wait: false } };

    var jahl = new JANewSticker( options );
    });
    [/PHP]

    iainmac Friend
    #340021

    Thanks for your help.
    I have checked the site and I am still finding an error on the homepage, any ideas?
    Thanks

    Anonymous Moderator
    #340090

    Hi iainmac

    I could not go to your ftp now. I think you have changed it

    I have debugged and see this error:

    $E(".ja-articles .ja-slide-thumbs-handles") is null
    [Break on this error] /* fix navigator on ie 6,7*/

    it is from following code:


    <script type="text/javascript">
    new JASlideshow2('ja-slide-articles-78', {
    startItem: 0,
    showItem: 3,
    itemWidth: 240,
    itemHeight: 100,
    mainWidth: 980,
    mainHeight: 80,
    maskWidth: 980,
    maskHeigth:80,
    duration: 1000,
    transition: Fx.Transitions.Quad.easeInOut,
    animation: 'move',
    animationRepeat: 'true',
    thumbOpacity:0.8,
    maskOpacity: 1,
    buttonOpacity: 0.4,
    showDesc: 'desc',
    descMode: 'load',
    readmoretext: 'Readmore',
    overlap: 0,
    navigation:'',
    autoPlay: 1,
    interval: 5000,
    showbtncontrol:0,
    maskAlignment:'left',
    languageDirection:( typeof JA_LANGUAGE_DIRECTION == 'string') ? JA_LANGUAGE_DIRECTION : '',
    maskerTransStyle:'style',
    maskerTrans:Fx.Transitions.Quad.easeOut,
    navePos:'vertical_right'
    });
    /* fix navigator on ie 6,7*/
    $E('.ja-articles .ja-slide-thumbs-handles').setStyles( {'opacity':'0.001', 'background':'#FFF'} );
    </script>

    Please give me your ftp account again, so that i can fix it for you.

    Anonymous Moderator
    #340159

    Hi iainmac

    Please check your website on IE8 again.

    I fixed it. Hope it helps

    iainmac Friend
    #340177

    Thank you! It is now working perfectly.

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

This topic contains 6 replies, has 3 voices, and was last updated by  iainmac 14 years, 6 months ago.

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