-
AuthorPosts
-
December 28, 2008 at 3:05 pm #136554
Hello,
i running JA Edenite on J1.0.15 and try to prepare the migration to J1.5.8First issue i found on J1.5 is this Error:
<blockquote>ja.script.js (Linie 67)</blockquote>
$("ja-botsl") is null
http://sit.movegreen.de/templates/ja_edenite/js/ja.script.jsLine 67
makeEqualHeight ($('ja-botsl').getChildren());
Any suggestions are wellcome
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
December 29, 2008 at 3:24 am #284201Hi kurtsteiner,
This errors displays when you remove ja-botsl div.
I have checked your website and saw that you changed our template. You removed this div.
To hidden this error, please open file ja.script.js, at about line 87, find following script:
makeEqualHeight ($('ja-botsl').getChildren());
makeEqualHeight ($$(['ja-content','ja-col1-bot','ja-col2']));
and change to:
if($chk($('ja-botsl'))) {
makeEqualHeight ($('ja-botsl').getChildren());
makeEqualHeight ($$(['ja-content','ja-col1-bot','ja-col2']));
}1 user says Thank You to JA Developer for this useful post
December 29, 2008 at 4:52 am #284207<em>@JA Developer 97072 wrote:</em><blockquote>Hi kurtsteiner,
This errors displays when you remove ja-botsl div.
I have checked your website and saw that you changed our template. You removed this div.
To hidden this error, please open file ja.script.js, at about line 87, find following script:
</blockquote>Hello,
many thanks for your support.
on sit.moveGreen.de i had not changed the template yet – its a fresh installation – but on my productive site moveGreen.de i had severall issues before.Nevertheless, this is a new start and your suggestion fixes this issue for me, many thanks and have a nice day !:-*
January 3, 2009 at 7:01 pm #284633I have the same problem.
The reason why it happens is because if there is nothing in user1′,’user2′,’user5′,’user6′,’user7′,’user8 the div is not created.
<?php
$spotlight = array (‘user1′,’user2′,’user5′,’user6′,’user7′,’user8’);
$botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
if( $botsl ) {
?>
<!– BEGIN: BOTTOM SPOTLIGHT –>
<div id=”ja-botsl” class=”clearfix”>
…….
</div>
<!– END: BOTTOM SPOTLIGHT –>
<?php } ?>Indeed this fix works fine :
function equalHeight(){
if($chk($(‘ja-botsl’))) {
makeEqualHeight ($(‘ja-botsl’).getChildren());
}
makeEqualHeight ($$([‘ja-content’,’ja-col1-bot’,’ja-col2′]));
} -
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by adriantarau 15 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum