iFrame height fails when expanding moodle menu
- Fernando Acedo
- Topic Author
- Offline
- Elite Member
-
Less
More
12 years 9 months ago #1
by Fernando Acedo
iFrame height fails when expanding moodle menu was created by Fernando Acedo
I noticed a bug when the iframe shows a short frontpage content and then expand some moodle menu. The iFrame heigt remains the same and it doesn't show the bottom part of the screen.
So, if I have a frontpage like the attached image ss001 and I try to expand the menu, the screen still shows the same content (like ss002)
I'm using Joomla 2.5.11, moodle 2.5 and Joomdle 0.92. I thought was a Joomla template issue and tested with the standard templates included and also 2 different moodle themes and no result.
I changed also the autoheight for a fixed value and the iFrame opens till the right height but the same result when you try to expand the menu. The iFrame keeps the same height.
If the moodle frontpage content is higher than the screen height then the problem doesn't exists.
I guess the problem is located in the autoheightjs file that can manage the menu height change after open modle in the iframe.
So, if I have a frontpage like the attached image ss001 and I try to expand the menu, the screen still shows the same content (like ss002)
I'm using Joomla 2.5.11, moodle 2.5 and Joomdle 0.92. I thought was a Joomla template issue and tested with the standard templates included and also 2 different moodle themes and no result.
I changed also the autoheight for a fixed value and the iFrame opens till the right height but the same result when you try to expand the menu. The iFrame keeps the same height.
If the moodle frontpage content is higher than the screen height then the problem doesn't exists.
I guess the problem is located in the autoheightjs file that can manage the menu height change after open modle in the iframe.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
12 years 9 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic iFrame height fails when expanding moodle menu
Hi Fernando.
This is a known issue, but I don't know how to fix it, or if it is even possible to fix it.
I don't know much Javascript, so I wouldn't know where to start.
This is a known issue, but I don't know how to fix it, or if it is even possible to fix it.
I don't know much Javascript, so I wouldn't know where to start.
Please Log in or Create an account to join the conversation.
- Fernando Acedo
- Topic Author
- Offline
- Elite Member
-
12 years 9 months ago #3
by Fernando Acedo
Replied by Fernando Acedo on topic iFrame height fails when expanding moodle menu
Thanks Antionio,
There are some other scripts with jQuery or simple Javascript that can manage iFrames height resize but not sure how can be applied to Joomdle.
I will try to test some of them and let you know the result.
There are some other scripts with jQuery or simple Javascript that can manage iFrames height resize but not sure how can be applied to Joomdle.
I will try to test some of them and let you know the result.
Please Log in or Create an account to join the conversation.