Customisation questions

More
14 years 1 month ago - 14 years 1 month ago #3762 by twobrains
[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)
Last edit: 14 years 1 month ago by twobrains.

Please Log in to join the conversation.

More
14 years 1 month ago #3769 by ivan.milic
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

Please Log in to join the conversation.

  • gayle
    Inactive member
  • Topic Author
  • Member
  • Member
More
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

Please Log in to join the conversation.

More
14 years 1 month ago #3772 by ivan.milic
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
  • Member
More
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

Please Log in to join the conversation.

More
14 years 1 month ago #3774 by twobrains
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

Please Log in to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum