Re: Probelm Right module and central module

More
14 years 1 day ago #19009 by Eco
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

Please Log in to join the conversation.

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

Please Log in to join the conversation.

More
14 years 1 day ago - 14 years 1 day ago #19026 by Eco
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)
Last edit: 14 years 1 day ago by Eco.

Please Log in to join the conversation.

More
14 years 14 hours ago #19030 by ivan.milic
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.

Please Log in to join the conversation.

More
13 years 11 months ago - 13 years 11 months ago #19063 by Eco
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...
Last edit: 13 years 11 months ago by Eco.

Please Log in to join the conversation.

More
13 years 11 months ago #19079 by ivan.milic
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.

Please Log in to join the conversation.

Time to create page: 0.196 seconds
Powered by Kunena Forum