From: ivan Date: Wed, 21 Jun 2006 12:56:23 +0000 (+0000) Subject: add overlib iframe function X-Git-Tag: BEFORE_FINAL_MASONIZE~103 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=262da96c9a051046a22182d0b19e8126623d2207 add overlib iframe function --- diff --git a/httemplate/elements/iframecontentmws.js b/httemplate/elements/iframecontentmws.js new file mode 100644 index 000000000..9df9cf681 --- /dev/null +++ b/httemplate/elements/iframecontentmws.js @@ -0,0 +1,21 @@ +/* + iframecontentmws.js - Foteos Macrides + Initial: October 10, 2004 - Last Revised: May 9, 2005 + Simple script for using an HTML file as iframe content in overlibmws popups. + Include WRAP and TEXTPADDING,0 in the overlib call to ensure that the width + arg is respected (unless the CAPTION plus CLOSETEXT widths add up to more than + the width arg, in which case you should increase the width arg). The name arg + should be a unique string for each popup with iframe content in the document. + The frameborder arg should be 1 (browser default if omitted) or 0. + + See http://www.macridesweb.com/oltest/IFRAME.html for demonstration. +*/ + +function OLiframeContent(src, width, height, name, frameborder) { + alert(src); + return (''); +}