- Posts: 6
- Thank you received: 0
Aligning bottom of content and right module
-
Colossally
Inactive member - Topic Author
- New Member
Less
More
11 years 8 months ago #28618
by Colossally
Replied by Colossally on topic Aligning bottom of content and right module
Thanks. Tried the new code. It fixed the home page but the other pages are still misaligned.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 8 months ago #28621
by ivan.milic
replace with:
Replied by ivan.milic on topic Aligning bottom of content and right module
Code:
for (var i=0;i<this.num;i++) {
try{
jQuery("#" + arguments[i]).css('height',this.maxh+"px");
}catch(e){}
}
replace with:
Code:
if(!this.maxh){
this.maxh = 0;
for (var i=0;i<this.num;i++){
if(jQuery("#" + arguments[i]).innerHeight() > this.maxh)
this.maxh = jQuery("#" + arguments[i]).innerHeight();
}
this.maxh+= 20;
}
for (var i=0;i<this.num;i++) {
try{
jQuery("#" + arguments[i]).css('height',this.maxh+"px");
}catch(e){}
}
Please Log in to join the conversation.
-
Colossally
Inactive member - Topic Author
- New Member
Less
More
- Posts: 6
- Thank you received: 0
11 years 8 months ago #28624
by Colossally
Replied by Colossally on topic Aligning bottom of content and right module
Thanks! That works perfectly.
Please Log in to join the conversation.
Time to create page: 0.086 seconds