[Building Sakai] Web Content Tool iframe height not adjusted in Chrome

Mihai Ionut Rus Mihai.Rus at isdc.eu
Mon May 20 08:03:23 PDT 2013


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<mailto:Mihai.Rus at isdc.eu>

[cid:image001.png at 01CE5269.5937B5B0]

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130520/f8d8d289/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4342 bytes
Desc: image001.png
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130520/f8d8d289/attachment.png 


More information about the sakai-dev mailing list