- Posts: 28
- Thank you received: 0
Re: Probelm Right module and central module
-
Eco
Inactive member - Topic Author
- Member
Less
More
12 years 6 months ago #19009
by Eco
Replied by Eco on topic Re: Probelm Right module and central module
Thanks Ivan,
I changed the page as you told me is ok and the box on the right, but I have a problem with the modules ADVERT1 with the map and the module... USER8 .... that continue to shake you tell me how do I fix?
Is u see the my web site www.viaggigarantiti.it u can see this problem....
Thanks
I changed the page as you told me is ok and the box on the right, but I have a problem with the modules ADVERT1 with the map and the module... USER8 .... that continue to shake you tell me how do I fix?
Is u see the my web site www.viaggigarantiti.it u can see this problem....
Thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #19019
by ivan.milic
Replied by ivan.milic on topic Re: Probelm Right module and central module
add some toleration :
this line:
for (var i=0;i<this.num;i++) $(arguments).style.height = this.maxh+"px";
change to:
for (var i=0;i<this.num;i++) {
if(Math.abs(parseInt($(arguments).style.height) - this.maxh)) > 20){
$(arguments).style.height = this.maxh+"px";
}
}
20 is toleration.
this line:
for (var i=0;i<this.num;i++) $(arguments).style.height = this.maxh+"px";
change to:
for (var i=0;i<this.num;i++) {
if(Math.abs(parseInt($(arguments).style.height) - this.maxh)) > 20){
$(arguments).style.height = this.maxh+"px";
}
}
20 is toleration.
Please Log in to join the conversation.
-
Eco
Inactive member - Topic Author
- Member
Less
More
- Posts: 28
- Thank you received: 0
12 years 6 months ago - 12 years 6 months ago #19026
by Eco
Replied by Eco on topic Re: Probelm Right module and central module
i have change and modify JS but the problem is not resolve because the central and right box bad working..... see this link:
www.viaggigarantiti.it/features (Central box is stopped)
www.viaggigarantiti.it/ (Right box is stopped)
www.viaggigarantiti.it/features (Central box is stopped)
www.viaggigarantiti.it/ (Right box is stopped)
Last edit: 12 years 6 months ago by Eco.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #19030
by ivan.milic
Replied by ivan.milic on topic Re: Probelm Right module and central module
toy broke eqaul_heigths.js, you pasted the code in wrong place.
I said that you need to change line (overwrite it) with new code.
You have pasted it out of scope.
I said that you need to change line (overwrite it) with new code.
You have pasted it out of scope.
Please Log in to join the conversation.
-
Eco
Inactive member - Topic Author
- Member
Less
More
- Posts: 28
- Thank you received: 0
12 years 6 months ago - 12 years 6 months ago #19063
by Eco
Replied by Eco on topic Re: Probelm Right module and central module
Hi Ivan,
I applied your changes, but doing this the center box and right box are stopped and not reach footer.... u can help me?? if u want i send u file...
I applied your changes, but doing this the center box and right box are stopped and not reach footer.... u can help me?? if u want i send u file...
Last edit: 12 years 6 months ago by Eco.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #19079
by ivan.milic
Replied by ivan.milic on topic Re: Probelm Right module and central module
one more fix:
if(Math.abs(parseInt($(arguments).style.height) - this.maxh)) > 20){
change to:
if(Math.abs(parseInt($(arguments).style.height) - this.maxh) > 20){
there is extra bracket closing.
if(Math.abs(parseInt($(arguments).style.height) - this.maxh)) > 20){
change to:
if(Math.abs(parseInt($(arguments).style.height) - this.maxh) > 20){
there is extra bracket closing.
Please Log in to join the conversation.
Time to create page: 0.091 seconds