- Posts: 14116
- Thank you received: 1639
Grey Column menu suddenly stops and becomes white
-
ivan.milic
Support Staff - Moderator
Please Log in to join the conversation.
-
Lazy Garfield
Inactive member - New Member
- Posts: 13
- Thank you received: 0
www.globecosmetics.eu/2-Color-Cosmetics.html
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
- Posts: 14116
- Thank you received: 1639
<script type=text/javascript>
jQuery(document).ready(function(){
var left_height = jQuery("#content_main").innerHeight();
left_height = Math.round(left_height * 1.015);
jQuery("#column_left").css({height: left_height});
/*FIX*/if(jQuery.browser.msie && jQuery.browser.version <= 7) jQuery("#column_left").css('margin-bottom',-20);
});
window.onload = function(){
var left_height = jQuery("#content_main").innerHeight();
left_height = Math.round(left_height * 1.03);
jQuery("#column_left").css({height: left_height});
/*FIX*/if(jQuery.browser.msie && jQuery.browser.version <= 7) jQuery("#column_left").css('margin-bottom',-20);
};
</script>
Please Log in to join the conversation.
-
Lazy Garfield
Inactive member - New Member
- Posts: 13
- Thank you received: 0
www.globecosmetics.eu/2-Color-Cosmetics.html
Please Log in to join the conversation.
-
Lazy Garfield
Inactive member - New Member
- Posts: 13
- Thank you received: 0
Please Log in to join the conversation.
-
rolandos
Inactive member - New Member
- Posts: 9
- Thank you received: 0
ivan.milic wrote: Then put both of the scripts so each handles height in its moment of triggering.
<script type=text/javascript>
jQuery(document).ready(function(){
var left_height = jQuery("#content_main").innerHeight();
left_height = Math.round(left_height * 1.015);
jQuery("#column_left").css({height: left_height});
/*FIX*/if(jQuery.browser.msie && jQuery.browser.version <= 7) jQuery("#column_left").css('margin-bottom',-20);
});
window.onload = function(){
var left_height = jQuery("#content_main").innerHeight();
left_height = Math.round(left_height * 1.03);
jQuery("#column_left").css({height: left_height});
/*FIX*/if(jQuery.browser.msie && jQuery.browser.version <= 7) jQuery("#column_left").css('margin-bottom',-20);
};
</script>
I put both scripts in my template, but still get the white space in the left-column. And in Opera the page don't stay at 100% height, there is a white space of the bottom of the home-page.
Please Log in to join the conversation.