Robocopy | Home | PEAR DB tableinfo();

April 16, 2006

Overlib, iframe, other sites

I use this simple overlib to pull off a webpage preview on select sites I use. This realtime preview is much more appealling than the static webshot you see on websites using webpage preview features such as thumbnails. I'd be interested in knowing if anyone has a solution for constraining the content within the iframe. It would be a nice way to control the overlib size and resize the content to a certain window size, instead of having the overlib resize to the size of the content.
<html>
<head>
<script type="text/javascript" src="./jscript/overlib.js" src="./jscript/overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
</head>
<body>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1600;"></div>

<a href="javascript:void(0);" onClick="overlib('<IFRAME src='http://john.ellingsworth.org' WIDTH=400 HEIGHT=300>',STICKY,RELX, 0, RELY, 0,DELAY,100,CAPTION,'Page loading please wait...');" onmouseout="nd();">click me sucka</a>

</body>
</html>

try it out

iframe security issues

Comments are closed.