[thelist] NS javascript reference inside div

George Klingenhoffer georgeklingenhoffer at hotmail.com
Sun Mar 31 16:33:01 CST 2002


I believe I'm referencing this properly but when I try to access a RealVideo
file inside a div, Netscape won't recognize the file.  It doesn't work if
it's just plain 'document.vid1.DoPlay', either.

relevant code:

<script type="text/javascript">
function startPlay() {
 document.bob.document.vid1.DoPlay();
}
</script>
</head>
<body>
<div id="bob">
<EMBED NAME="vid1" SRC="super.rpm" WIDTH="280" HEIGHT="225" CONSOLE="one"
CONTROLS="ImageWindow">
</div>

 <a href="javascript:startPlay();">Play</a>



More information about the thelist mailing list