Cognscenti
05-31-2009, 04:10 AM
Can anyone help me figure what kind of criteria I should use to search this forum for a clue as to my dilema?
My page ( with inline JavaScript ) does what I want it to.
Remotely hosting the Javascript causes the iFrame re-size action to fail.
Thanks to all of the members in advance for their "two-cents" regarding this thread.
~~~
> Inline JavaScript Example
http://wxw.nfshost.com
- HTML Code -
<html>
<head>
<title>Inline JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
window.onload=function()
{
var iframe=document.getElementById('iframe');
iframe.style.width='90%';
iframe.style.height='90%';
}
</script>
<center>
<iframe src="player.swf" id="iframe"></iframe>
</center>
</body>
</html>
~~~
> Remote JavaScript Example
http://wyw.nfshost.com (http://wyw.nfshost.com/)
- HTML Code -
<html>
<head>
<title>Remote JavaScript Example</title>
</head>
<body>
<script type="text/javascript" scr="http://wzw.nfshost.com/iframeresizer.js"></script>
<center>
<iframe src="player.swf" id="iframe"></iframe>
</center>
</body>
</html>
+++++++++++++
> Remote JavaScript Example
iframeresizer.js (http://wzw.nfshost.com/iframeresizer.js)
- JavaScript -
window.onload=function()
{
var iframe=document.getElementById('iframe');
iframe.style.width='90%';
iframe.style.height='90%';
}
~~~
My page ( with inline JavaScript ) does what I want it to.
Remotely hosting the Javascript causes the iFrame re-size action to fail.
Thanks to all of the members in advance for their "two-cents" regarding this thread.
~~~
> Inline JavaScript Example
http://wxw.nfshost.com
- HTML Code -
<html>
<head>
<title>Inline JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
window.onload=function()
{
var iframe=document.getElementById('iframe');
iframe.style.width='90%';
iframe.style.height='90%';
}
</script>
<center>
<iframe src="player.swf" id="iframe"></iframe>
</center>
</body>
</html>
~~~
> Remote JavaScript Example
http://wyw.nfshost.com (http://wyw.nfshost.com/)
- HTML Code -
<html>
<head>
<title>Remote JavaScript Example</title>
</head>
<body>
<script type="text/javascript" scr="http://wzw.nfshost.com/iframeresizer.js"></script>
<center>
<iframe src="player.swf" id="iframe"></iframe>
</center>
</body>
</html>
+++++++++++++
> Remote JavaScript Example
iframeresizer.js (http://wzw.nfshost.com/iframeresizer.js)
- JavaScript -
window.onload=function()
{
var iframe=document.getElementById('iframe');
iframe.style.width='90%';
iframe.style.height='90%';
}
~~~