[Building Sakai] Web Content Tool iframe height not adjusted in Chrome - Scrolling is nessesary which is annoying

Sam Ottenhoff ottenhoff at longsight.com
Wed May 29 05:08:05 PDT 2013


What version of Sakai?  Does your iframed content use floats or absolute
positioning which could cause the iframe to incorrectly calculate the
height?  Try setting a clearing div at the end of the framed content.


On Wed, May 29, 2013 at 5:51 AM, Gerard van de Munt <GvandeMunt at loi.nl>wrote:

>  Hi all,****
>
> ** **
>
> Below my colleague posted a post about the fact we currently have an issue
> in Google Chrome.****
>
> Simply said we get many scrollbars (see screenshot below as example). ****
>
> ** **
>
> The fact we did not make any changes does gives us the idea we are not the
> only one having this problem. Which means some of you might already have
> made a fix for it.****
>
> If this is the case of if you think you know how to fix this please let us
> know.****
>
> ** **
>
> Kind regards,****
>
> Gerard van de Munt****
>
> ** **
>
> ** **
>
> ****
>
> ** **
>
> Gerard van de Munt
> Solution Designer
> Tel.:
>
> Leidse Onderwijsinstellingen bv
> Leidsedreef 2
> 2352 BA Leiderdorp
> www.loi.nl
>
>  ------------------------------
>
> [image: Nederland wordt steeds slimmer. Leidse Onderwijsinstellingen]
>
> De informatie verzonden met dit e-mailbericht (en bijlagen) is uitsluitend
> bestemd voor de geadresseerde(n) en zij die van de geadresseerde(n)
> toestemming hebben dit bericht te lezen. Gebruik door anderen dan
> geadresseerde(n) is verboden. De informatie in dit e-mailbericht (en de
> bijlagen) kan vertrouwelijk van aard zijn en kan binnen het bereik vallen
> van een wettelijke geheimhoudingsplicht. Indien u deze e-mail ten onrechte
> ontvangen hebt, wordt u verzocht ons daarvan zo spoedig mogelijk per e-mail
> of telefonisch op de hoogte te stellen, en het ontvangen bericht (en de
> bijlagen) te wissen zonder deze te lezen, te kopiëren of aan derden bekend
> te stellen.
>
> P  Denk aan het milieu voordat u dit bericht print
>
>  *Van:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] *Namens *Mihai Ionut Rus
> *Verzonden:* maandag 20 mei 2013 17:03
> *Aan:* sakai-dev at collab.sakaiproject.org
> *Onderwerp:* [Building Sakai] Web Content Tool iframe height not adjusted
> in Chrome****
>
> ** **
>
> Hello,****
>
> ** **
>
> If someone has experience with the Web Content Tool and the resizing of
> the iframes please take a look below at the situation we have at LOI:****
>
> ** **
>
> We have a static html page loaded using the Web Content Tool. The height
> of the outer iframe is not resized in Chrom (Firefox and IE works fine).
> The outer iframe onload (blue one) is not called at all in chrome – I have
> added  alert(‘’begin’) in the portal project on my local machine to prove
> that. The height of the inner iframe is resized.****
>
> ** **
>
> ** **
>
> <iframe id="Main4e42e44bxa118x48d4xb18bx408de72b4309"
> class="portletMainIframe" width="100%" scrolling="auto" height="475"
> frameborder="0" src="
> https://sakaitst.loi.local:443/portal/tool/4e42e44b-a118-48d4-b18b-408de72b4309?panel=Main"
> marginheight="0" marginwidth="0" title="Over deze opleiding "
> name="Main4e42e44bxa118x48d4xb18bx408de72b4309" style="height: 5052px;">**
> **
>
> ….****
>
> <body *onload*="alert(‘begin’); *
> setMainFrameHeight('Main4e42e44bxa118x48d4xb18bx408de72b4309')*
> ;setFocus(focus_path);"****
>
> …****
>
> <iframe id="wciframe" width="100%" scrolling="auto" frameborder="0" *
> onload="updateMainFrameHeight();"*src="/access/content/group/17335edc-04e0-4ba8-ad51-9a4b4d1ba020/Over%20deze%20opleiding"
> marginheight="0" marginwidth="0" style="width:100%;padding:0 !important;
> height:5000px" name="wciframe" title="My Workspace Information Message">**
> **
>
> </iframe>****
>
> ….****
>
> ** **
>
> <script>****
>
>                 function updateMainFrameHeight(){****
>
>                 …****
>
>                 };****
>
> </script> ****
>
> ** **
>
> </body>****
>
> </iframe>****
>
> ** **
>
> ** **
>
> If you have any suggestion please reply. ****
>
> ** **
>
> Kind regards,****
>
> *Mihai Ionut Rus          **                       *****
>
> Senior Developer****
>
>  ****
>
> T/ 0031 (0)356 293 946****
>
> T / +40 (0)364 403 900****
>
> Mihai.Rus at isdc.eu****
>
>  ****
>
> [image: cid:3DFA7927-BBA1-4222-BADB-836D50686344]****
>
>  ****
>
> AVRAM IANCU 506-508 – 407280 FLORESTI****
>
> CLUJ - ROMANIA****
>
> WWW.ISDC.EU <http://www.isdc.eu/>**
>
>  ****
>
> Mihai Ionut Rus recommends the ISDC E-Zine <http://www.isdc.eu/ezine.aspx>
> ****
>
>  ****
>
> Please consider the environment before printing. ****
>
> The content of this communication is classified as ISDC Confidential and
> Proprietary Information. The content of this communication is intended
> solely for the use of the individual or entity to whom it is addressed and
> others authorized to receive it. If you are not the intended recipient you
> are hereby notified that any disclosure, copying, distribution or taking
> any action in reliance on the contents of this information is strictly
> prohibited and may be unlawful. If you have received this communication in
> error, please notify us immediately by responding to this communication
> then delete it from your system. ISDC does not guarantee that the integrity
> of this communication has been maintained nor that this communication is
> free of viruses, interceptions or interference. We appreciate your
> assistance in preserving the confidentiality of our correspondence. Thank
> you. ****
>
> ** **
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130529/7107a22b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4342 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130529/7107a22b/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 85108 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130529/7107a22b/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 4378 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130529/7107a22b/attachment.gif 


More information about the sakai-dev mailing list