- Posts: 5
- Thank you received: 0
Modul background color doesn't show correct
-
Roke
Inactive member - Topic Author
- New Member
Less
More
13 years 7 months ago #8479
by Roke
Modul background color doesn't show correct was created by Roke
Hi,
I have a problem with the left and right columne. In some browsers the background color is only visible till the end of the moduls. Opera and IE are working fine, but FF and Crome are not.
Here is the link:
sungaistyle.com/
Thanks
Roger
I have a problem with the left and right columne. In some browsers the background color is only visible till the end of the moduls. Opera and IE are working fine, but FF and Crome are not.
Here is the link:
sungaistyle.com/
Thanks
Roger
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago #8490
by ivan.milic
Replied by ivan.milic on topic Re: Modul background color doesn't show correct
Hi ,
open index.php of template
Find this:
<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 replace it with this:
<script type=text/javascript>
window.load = 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>
open index.php of template
Find this:
<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 replace it with this:
<script type=text/javascript>
window.load = 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>
Please Log in to join the conversation.
-
Roke
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 7 months ago #8515
by Roke
Replied by Roke on topic Re: Modul background color doesn't show correct
Hi,
thanks for the script. I replaced it and now all browsers cut off the background color. I'd like to have the background color for the whole left columne like it used to be before in IE and Opera.
Thanks
Roger
thanks for the script. I replaced it and now all browsers cut off the background color. I'd like to have the background color for the whole left columne like it used to be before in IE and Opera.
Thanks
Roger
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago #8523
by ivan.milic
Replied by ivan.milic on topic Re: Modul background color doesn't show correct
Ok, my fault I put wrong function name window.load should be window.onload
New script:
<script type=text/javascript>
window.onload = 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>
New script:
<script type=text/javascript>
window.onload = 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>
Please Log in to join the conversation.
-
Roke
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
13 years 7 months ago #8527
by Roke
Replied by Roke on topic Re: Modul background color doesn't show correct
Hi Ivan,
thank you very much for the code. All browser are ok now, but Chrome still shows the background only till the end of the modules.
Any idea?
Thanks
Roger
thank you very much for the code. All browser are ok now, but Chrome still shows the background only till the end of the modules.
Any idea?
Thanks
Roger
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago #8528
by ivan.milic
Replied by ivan.milic on topic Re: Modul background color doesn't show correct
Strange, I use chrome by default. I just checked now and it's ok. Maybe you need to refresh???
Please Log in to join the conversation.
Time to create page: 0.190 seconds