mistervague
Programmer
Hi all!
I wrote a javascript which does the following: Open a new window, write some HTML including an EMBED tag which embeds an MPG file, and write closing HTML tags.
The script works great when the source file (the one with the links) is NOT part of a frameset. If it IS part of a frameset, then everything still works, but the embedded MPG movie does not show up. What might be going on?
Thanks for reading!
-- Here's a line from the function tinyWindow(T,C) --
T is the file name (a parameter)
-- Here is how I call it --
I wrote a javascript which does the following: Open a new window, write some HTML including an EMBED tag which embeds an MPG file, and write closing HTML tags.
The script works great when the source file (the one with the links) is NOT part of a frameset. If it IS part of a frameset, then everything still works, but the embedded MPG movie does not show up. What might be going on?
Thanks for reading!
-- Here's a line from the function tinyWindow(T,C) --
Code:
SW.document.write("<TR><TD ALIGN=MIDDLE><CENTER><EMBED SRC=\"" + T + "\" AUTOSTART=true LOOP=true CONTROLLER=false WIDTH=320 HEIGHT=240></EMBED></CENTER></TD></TR>")
-- Here is how I call it --
Code:
<A HREF="javascript:tinyWindow('Gallery/MOVIES/mov_1.mpg','Caption');" window.status=""; return true;"><img src="images/still_1.gif" border="0" width="100" height="75"></A>