-
AuthorPosts
-
iainmac Friend
iainmac
- Join date:
- September 2006
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 2 times in 1 posts
April 10, 2010 at 6:43 pm #150267I 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: 0Can anyone suggest how to resolve this issue?
Thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 12, 2010 at 7:15 am #340003Dear 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]1 user says Thank You to Saguaros for this useful post
iainmac Friendiainmac
- Join date:
- September 2006
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 2 times in 1 posts
April 12, 2010 at 8:47 am #340021Thanks for your help.
I have checked the site and I am still finding an error on the homepage, any ideas?
ThanksAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
April 12, 2010 at 3:51 pm #340090Hi 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 ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
-
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by iainmac 14 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum