I viewed the source of the tabled site, this is what it says:
Code:
<table width="75%" border="1">
<tr>
<td><script type="text/javascript">
<p>/***********************************************<br>
* IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)<br>
* This notice MUST stay intact for legal use<br>
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source
code<br>
***********************************************/</p>
<p>//specify path to your external page:<br>
var iframesrc="external.htm"</p>
<p>//You may change most attributes of iframe tag below, such as width and
height:<br>
document.write('<iframe id="datamain" src="'+iframesrc+'"
width="150px" height="150px" marginwidth="0"
marginheight="0" hspace="0" vspace="0" frameborder="1"
scrolling="no"></iframe>')</p>
<p></script></p>
</td>
</tr>
</table>
As you can see, you've accidentally pasted the code as text into your HTML composing program, and it has treated it as such. It's a simple mistake to make. You need to make your HTML code this:
Code:
<table width="75%" border="1">
<tr>
<td>
<script type="text/javascript">
/***********************************************
* IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
//specify path to your external page:
var iframesrc="external.htm"
//You may change most attributes of iframe tag below, such as width and height:
document.write('<iframe id="datamain" src="'+iframesrc+'" width="150px" height="150px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="no"></iframe>')
</td>
</tr>
</table>
</script>
Regards
cr3ative
Bookmarks