transparent
Programmer
I have the following javascript:
<script lang="javascript">
function window:
nload()
{
if(window.self!=window.top)
{
document.write("<link media=\"screen\" href=\"css/slam_mythomson.css\" type=\"text/css\" rel=\"stylesheet\">");
}
}
</script>
This is embbedded within a page.
The function detects if it is within an IFRAME
This works well.
If it is within an Iframe, the following html is supposed to be outputed to the source:
<link media="screen" href="css/slam_mythomson.css" type="text/css" rel="stylesheet">
It does this!
But no other content on the page is outputed!!!
Whats going on???
<script lang="javascript">
function window:
{
if(window.self!=window.top)
{
document.write("<link media=\"screen\" href=\"css/slam_mythomson.css\" type=\"text/css\" rel=\"stylesheet\">");
}
}
</script>
This is embbedded within a page.
The function detects if it is within an IFRAME
This works well.
If it is within an Iframe, the following html is supposed to be outputed to the source:
<link media="screen" href="css/slam_mythomson.css" type="text/css" rel="stylesheet">
It does this!
But no other content on the page is outputed!!!
Whats going on???