- Posts: 50
- Thank you received: 1
BoxHeights.equalise(,'c4'); error on Template
-
russellmoran
Inactive member - Topic Author
- Member
Less
More
13 years 6 months ago #8762
by russellmoran
Replied by russellmoran on topic Re: BoxHeights.equalise(,'c4'); error on Template
I sent you my admin access to my site. If you can work your magic, that would be great!
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 6 months ago #8764
by ivan.milic
Replied by ivan.milic on topic Re: BoxHeights.equalise(,'c4'); error on Template
2
Code:
Code:
Code:
<script type="text/javascript">
<?php
$cUserArray = Array();
$cAdvArray = Array();
if($showuser[5]) $cUserArray[1] = "'c1'";
if($showuser[6]) $cUserArray[2] = "'c2'";
if($showuser[7]) $cUserArray[3] = "'c3'";
if($showuser[8]) $cUserArray[4] = "'c4'";
if($showadvert[1]) $cAdvArray[1] = "'c5'";
if($showadvert[2]) $cAdvArray[2] = "'c6'";
if($showadvert[3]) $cAdvArray[3] = "'c7'";
if($showadvert[4]) $cAdvArray[4] = "'c8'";
?>
window.onload = function() {
<?php if($bottommodules) { ?>
BoxHeights.equalise(<?php echo join(",",$cUserArray); ?>);
<?php } ?>
<?php if($uppermodules) { ?>
BoxHeights.equalise(<?php echo join(",",$cAdvArray); ?>);
<?php } ?>
}
</script>
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 6 months ago #8768
by ivan.milic
Replied by ivan.milic on topic Re: BoxHeights.equalise(,'c4'); error on Template
ok , done
Please Log in to join the conversation.
-
russellmoran
Inactive member - Topic Author
- Member
Less
More
- Posts: 50
- Thank you received: 1
13 years 6 months ago #8770
by russellmoran
Replied by russellmoran on topic Re: BoxHeights.equalise(,'c4'); error on Template
You are good! Thank you so much!!!
Please Log in to join the conversation.
Time to create page: 0.088 seconds