- Posts: 9
- Thank you received: 0
Grey Column menu suddenly stops and becomes white
-
mylenecg
Inactive member - Topic Author
- New Member
Less
More
13 years 10 months ago #5656
by mylenecg
Replied by mylenecg on topic Re: Grey Column menu suddenly stops and becomes white
I guess you did not mean that...
Safari is my browser. I am sorry: language barrier...:dry:
Safari is my browser. I am sorry: language barrier...:dry:
Please Log in to join the conversation.
-
mylenecg
Inactive member - Topic Author
- New Member
Less
More
- Posts: 9
- Thank you received: 0
13 years 10 months ago #5660
by mylenecg
Replied by mylenecg on topic Re: Grey Column menu suddenly stops and becomes white
Safari
Please Log in to join the conversation.
-
Lazy Garfield
Inactive member - New Member
Less
More
- Posts: 13
- Thank you received: 0
13 years 10 months ago - 13 years 10 months ago #5664
by Lazy Garfield
Replied by Lazy Garfield on topic Re: Grey Column menu suddenly stops and becomes white
Last edit: 13 years 10 months ago by Lazy Garfield.
Please Log in to join the conversation.
-
Lazy Garfield
Inactive member - New Member
Less
More
- Posts: 13
- Thank you received: 0
13 years 10 months ago - 13 years 10 months ago #5665
by Lazy Garfield
Problem is the same with Firefox, IE and Opera.
It occurs random and disappears with a browser refresh.
Seems to have something to do with calculation of element.style from column_left. Height without white block is 3148px on one page, when white block appears in bottom element.style returns a height of 3122 px
The screenshot is of this page:
www.globecosmetics.nl/Flori-Roberts-Color-Cosmetics.html
Replied by Lazy Garfield on topic Re: Grey Column menu suddenly stops and becomes white
ivan.milic wrote: I tried to replicate that but with no success, can you tel us what browser do you use and if would be good if you cant catch snapshoot of that.
Problem is the same with Firefox, IE and Opera.
It occurs random and disappears with a browser refresh.
Seems to have something to do with calculation of element.style from column_left. Height without white block is 3148px on one page, when white block appears in bottom element.style returns a height of 3122 px
The screenshot is of this page:
www.globecosmetics.nl/Flori-Roberts-Color-Cosmetics.html
Last edit: 13 years 10 months ago by Lazy Garfield.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago - 13 years 10 months ago #5668
by ivan.milic
Replied by ivan.milic on topic Re: Grey Column menu suddenly stops and becomes white
Go to Template Manager -> Edit HTML and find this block of code:
<script type=text/javascript>
jQuery(document).ready(function(){
var left_height = jQuery("#content_main").innerHeight();
jQuery("#column_left").css({height: left_height});
/*FIX*/if(jQuery.browser.msie && jQuery.browser.version <= 7) jQuery("#column_left").css('margin-bottom',-20);
});
</script>
and modify it to look as this:
<script type=text/javascript>
jQuery(document).ready(function(){
var left_height = jQuery("#content_main").outerHeight();
if(!left_height){
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);
});
</script>
<script type=text/javascript>
jQuery(document).ready(function(){
var left_height = jQuery("#content_main").innerHeight();
jQuery("#column_left").css({height: left_height});
/*FIX*/if(jQuery.browser.msie && jQuery.browser.version <= 7) jQuery("#column_left").css('margin-bottom',-20);
});
</script>
and modify it to look as this:
<script type=text/javascript>
jQuery(document).ready(function(){
var left_height = jQuery("#content_main").outerHeight();
if(!left_height){
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);
});
</script>
Last edit: 13 years 10 months ago by ivan.milic.
Please Log in to join the conversation.
-
Lazy Garfield
Inactive member - New Member
Less
More
- Posts: 13
- Thank you received: 0
13 years 10 months ago #5669
by Lazy Garfield
Replied by Lazy Garfield on topic Re: Grey Column menu suddenly stops and becomes white
In layout.css, template.css.css or the index.php of the template?
Please Log in to join the conversation.
Time to create page: 0.087 seconds