From: SourceForge.net <no...@so...> - 2006-09-29 03:28:22
|
Bugs item #1567448, was opened at 2006-09-28 22:28 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=1567448&group_id=5757 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: DynAPI 3 API Group: None Status: Open Resolution: None Priority: 5 Submitted By: d_drummonds (d_drummonds) Assigned to: Nobody/Anonymous (nobody) Summary: getWidth Error in IE6 Initial Comment: have small script that works with FireFox but fails with IE6. <html> <head> <script language="JavaScript" src="/dynapi/src/dynapi.js"></script> <script language="Javascript"> dynapi.library.setPath('/dynapi/src/'); dynapi.library.include('dynapi.api'); dynapi.library.include('dynapi.api.ext.DynLayerInline'); dynapi.onLoad(init); var theFrame; var theFrameTable; function init() { theFrame = DynLayer.getInline("theFrame"); theFrameTable = DynLayer.getInline("table2"); var width = dynapi.document.getWidth() - 5; var height = dynapi.document.getHeight() - 5; theFrameTable.setHeight(height - theFrameTable.getY()); theFrameTable.setWidth(width - theFrameTable.getX()); theFrame.setHeight(theFrameTable.getHeight()-12); theFrame.setWidth(theFrameTable.getWidth()-12); } </script> </head> <body> <table id=table2 width=500 style="position: absolute; top: 75px; left: 120px"> <tr><td> <iframe height=100% width=100% id=theFrame name=theFrame src=""></iframe> </td></tr> </table> </body> </html> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105757&aid=1567448&group_id=5757 |