[Building Sakai] Urgent help: How to change the height pixels between two tools

David Wafula davidwaf at gmail.com
Fri Oct 14 01:31:34 PDT 2011


2011/10/14 <swwangl at tsmc.com>

>  Dear AllI use JQuery  to control iframe dimensions like:
>
> <script type="text/javascript">
>     $(document).ready(function(){
>         var heightDiv =
> jQuery("iframe",top.document).contents().find('body').attr('scrollHeight');
>         $("iframe",top.document).css({height:heightDiv});
>        });
> </script>
>
> Put this in the page header.
>
> Regards.
>
>  I found the height is controlled by
> <iframe xxxx class=portletMainIframe xxx style="height: ?? px"> xxxx
>
> But the style="height: ??px" seems like written by java program, not
> controlled by css files.
>
> Could anyone give me help to solve this issue??
>
>
> ----- Forwarded by SWWANGL(Joan Wang 王琇緯)/TWN on 10/14/2011 11:46 AM -----
>
>
>
> Dear All
>  Can anyone know how to change the height between two tools?
> I have two tools, one is at top, another is at bottom..
>
> But we want to change the interval height pixals..
>
> Anyone has solution??
>
> Joan
>
>  TSMC PROPERTY This email communication (and any attachments) is
> proprietary information for the sole use of its intended recipient. Any
> unauthorized review, use or distribution by anyone other than the intended
> recipient is strictly prohibited. If you are not the intended recipient,
> please notify the sender by replying to this email, and then delete this
> email and any copies of it immediately. 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"
>



-- 
David Wafula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111014/63dabafe/attachment.html 


More information about the sakai-dev mailing list