Forums
This topic is locked
quicktime movie in dreamweaver mx
Posted 17 Aug 2004 03:04:57
1
has voted
17 Aug 2004 03:04:57 Kathleen Lyons posted:
I want my quicktime movie to be played in a separate, pop-up window. I'm using the code below, which loads the popup window, but also runs the movie in my "main" browser window. The user then has to close the pop-up (which is what i want), then hit the back button on the main browser window (which I don't want). Can anyone see anything wrong with this code?<div id="Shine" style="position:absolute; left:324px; top:289px; width:130px; height:58px; z-index:26;">
<h1><a href="movies/shine.mov" onClick=window.open('movies/shine.mov','Event','scrollbars=yes,width=320,height=256')>Shine
</a> </h1>
</div>
Replies
Replied 17 Aug 2004 22:31:43
17 Aug 2004 22:31:43 Dave Thomas replied:
try
<pre id=code><font face=courier size=2 id=code>
<h1><a href="javascript;:" onClick=window.open('movies........
</font id=code></pre id=code>
you are referencing the movie as a link, and then as content in the pop up, using the javascript link method opens the pop up but is a 'null link, so it wont play in your main window.'
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[SQL]|[Access2000]|[ASP/VBScript]|[XP-Pro]
<pre id=code><font face=courier size=2 id=code>
<h1><a href="javascript;:" onClick=window.open('movies........
</font id=code></pre id=code>
you are referencing the movie as a link, and then as content in the pop up, using the javascript link method opens the pop up but is a 'null link, so it wont play in your main window.'
Regards,
Dave
[DWMX 2004]|[FlashMX 2004 Pro]|[SQL]|[Access2000]|[ASP/VBScript]|[XP-Pro]