[Solved] Resizing problems with Chrome

More
15 years 5 months ago - 15 years 5 months ago #1 by Julio
Hi guys,

I have Joomdle installed in my Joomla site and everything works fine. I have the "Wrapper Scroll Bars" option set to NO and the "Autoheight in wrapper" set to YES (I'm using Moodle 1.9.9), and it works fine.

The problem appears when I use Google Chrome. With this browser, the wrapper becomes bigger if I move to a bigger page, but doesn't become smaller when I move to a smaller page, having in this case a small content displayed in a very long iFrame.

Could you help me on this?

Thanks,

Julio
Last edit: 15 years 5 months ago by Antonio Durán.
The topic has been locked.
More
15 years 5 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Resizing problems with Chrome
Hi.

Halkon (from the forums) already reported this to me. It seems that just uncommenting one line does the trick. You can try yourself.

Open components/com_joomdle/views/wrapper/tmpl/default.php.

Look for line:
// frame.height = 0;

Uncomment and reload.

Please share your results if you try.

Antonio
The topic has been locked.
More
15 years 5 months ago #3 by Julio
Replied by Julio on topic Re: Resizing problems with Chrome
Brilliant. Now it works perfectly for all the major browsers. Just by uncommenting that line I could fix the problem.

Thanks a lot,

Julio
The topic has been locked.
More
15 years 5 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: Resizing problems with Chrome
Great. Thanks for the confirmation.
The topic has been locked.