overlibmws iframe examples
(with burmees menus at top)

 
Popup with iframe content, caption and Close link
Called by the statement:
    return overlib(
 OLiframeContent('iframePopupContent.html', 510, 145, 'if1'),
 WRAP, TEXTPADDING,0, BORDER,2, STICKY, SCROLL,
 CAPTIONPADDING,4, CAPTION,'Example with iframe content and a caption',
 MIDX,0, RELY,90,
 STATUS,'Example with iframe content, a caption and a Close link');"
Which uses this simple script:
    function OLiframeContent(src, width, height, name) {
 return ('<iframe src="'+src+'" width="'+width+'" height="'+height+'"'
  +(name?' name="'+name+'" id="'+name+'"':'')+' scrolling="auto">'
  +'<div>[iframe not supported]</div></iframe>');
}
NOTE that Netscape v4.x browsers pre-date iframe and will mishandle this markup unless you put alternate content in the iframe container, as the script does.  Also NOTE that the primary popup offers secondary popups which can be positioned in the parent document via REF, MIDX, MIDY, RELX, RELY, FIXX and/or FIXY commands, as well as additional primary popups which can be positioned normally within the iframe document.  Review more iframe and object examples.
 
Embedded iframe:
   
Embedded via the following markup:
    <iframe
  src=
"embeddedIframeContent.html" width="510" height="215"
  name="eif1" id="eif1" scrolling="auto">
  <div><br>[iframe not supported]<br><br></div>
</iframe>

Use your browser's View Source option to see the markup for these examples.


These examples use overlibmws and its commands.


Copyright Foteos Macrides
  2002-2010.
  All rights reserved.