View Full Version : Looking for IFRAME functionality
SheBear
04-21-2000, 07:21 AM
I've written a nifty ASP page using VBScript. I'd want to share the page's functionality with my clients without having to give them my entire page -- I'm looking for a way to give them just a few lines of "drop-in" HTML/script code so their page can incorporate my page's functionality directly from my server. Although I can accomplish this using Microsoft's <IFRAME> tag, I don't want to limit the page's useability (i.e. I want non-MSIE users to be able to see the page). Does anyone know if there is a Java/JavaScript equivalent to <IFRAME>?
Jason
04-22-2000, 06:08 PM
Hi SheBear,
This isn't going to be an easy fix. I've seen doubleclick write a javascript to compensate for netscape's lack of support of the <IFRAME> tag in displaying their banners. I've pasted the script they use below:
<SCRIPT LANGUAGE="JavaScript">
<!--
var axel = Math.random() + "";
var ord = axel * 1000000000000000000;
//-->
<!--
// This part of script alleviates a Netscape document.write bug
NS4 = document.layers;
if (NS4) {
origWidth = innerWidth;
origHeight = innerHeight;
}
function reDo() {
if (innerWidth != origWidth | | innerHeight != origHeight)
location.reload();
}
if (NS4) onresize = reDo;
//-->
</SCRIPT>
I'm not exactly sure how you're using the <IFRAME> so it's hard to get a better answer for you.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.