- Posts: 41
- Thank you received: 1
Customisation questions
-
twobrains
Inactive member - Member
Less
More
14 years 1 month ago - 14 years 1 month ago #3762
by twobrains
Replied by twobrains on topic Re: Customisation questions
[strike]Ivan, this fix works with safari but not with explorer and opera.[/strike]
Sorry! It works perfectly with Opera ( as i can see in few minutes)
but not with Explorer (7.0)
Sorry! It works perfectly with Opera ( as i can see in few minutes)
but not with Explorer (7.0)
Last edit: 14 years 1 month ago by twobrains.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 1 month ago #3769
by ivan.milic
Replied by ivan.milic on topic Re: Customisation questions
Hi,
.innerHeight() does it's job in IE7 but margins are problem so it must bi fixed wih something like this:
jQuery("#column_left").css('margin-bottom',-20);
So, block would look like these:
<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>
Regards,
Ivan
.innerHeight() does it's job in IE7 but margins are problem so it must bi fixed wih something like this:
jQuery("#column_left").css('margin-bottom',-20);
So, block would look like these:
<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>
Regards,
Ivan
Please Log in to join the conversation.
-
gayle
Inactive member - Topic Author
- Member
Less
More
- Posts: 24
- Thank you received: 0
14 years 1 month ago #3771
by gayle
Replied by gayle on topic Re: Customisation questions
Hi Ivan,
Thanks for your great information.
Can you please tell me which file i need to locate to add/change this code.
Many thanks
Gayle
Thanks for your great information.
Can you please tell me which file i need to locate to add/change this code.
Many thanks
Gayle
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 1 month ago #3772
by ivan.milic
Replied by ivan.milic on topic Re: Customisation questions
In some module you activated/installed, Try to use some text searching application to locate an file containing "var left_height = jQuery("#content_main")"
Please Log in to join the conversation.
-
gayle
Inactive member - Topic Author
- Member
Less
More
- Posts: 24
- Thank you received: 0
14 years 1 month ago #3773
by gayle
Replied by gayle on topic Re: Customisation questions
Hi there,
can you please tell me which file you found and added the code to.
Thank you from Gayle
can you please tell me which file you found and added the code to.
Thank you from Gayle
Please Log in to join the conversation.
-
twobrains
Inactive member - Member
Less
More
- Posts: 41
- Thank you received: 1
14 years 1 month ago #3774
by twobrains
Replied by twobrains on topic Re: Customisation questions
You could try to go to Template manager and modify the HTML.
Try to comment this block with //, as follows:
//<script type="text/javascript">
//jQuery(document).ready(function(){
// var left_height = jQuery("#content_main").height();
// jQuery("#column_left").css({height: left_height});
//});
//</script>
and put the code has given immediately after the commented block.
Regards
Sergio
Try to comment this block with //, as follows:
//<script type="text/javascript">
//jQuery(document).ready(function(){
// var left_height = jQuery("#content_main").height();
// jQuery("#column_left").css({height: left_height});
//});
//</script>
and put the code has given immediately after the commented block.
Regards
Sergio
Please Log in to join the conversation.
Time to create page: 0.100 seconds