PDA

View Full Version : Specific HTML code for movies


mr-s
12-01-2004, 03:13 PM
Hi,

I have found some HTML code on a web page which will enable my movies to play in a cool pop up window.

http://www.mammothmountain.com/ski_ride/parks_pipes/main_unbound/

If you click directly on the picture to link to the movie e.g WCI Metal Fest it brings up a small pop up window. I think it's a good size and also has the option to download the QT Player.

I have looked at the source for both windows/pages and tried to embed it in my code. I can get it on my page, and the movie downloads, but I can't get it to link to the pop-up...i'm guessing the pop-up code is not in the right location in my directory or i was thinking it might be in their CSS? Is the pop-up html or it also says .cfm?

Can anyone help?

Thanks

mr-s

Terminator1138
12-01-2004, 08:21 PM
.cfm is a cold fusion/macromedia code But you can still get a popup window in javascript.

Here is their popup code...the cfm has nothing to do with the popup.
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function popWin(url) {
MyWindow=window.open(url,'hole','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=300,height=300');
MyWindow.focus();
}


Here is their link code
<a href="#" onclick="popWin('/ski_ride/parks_pipes/main_unbound/video_pop.cfm?movie=wcimetalstream.mov')"><img src="images/wci5.jpg" width="130" height="100" border="0" alt="" align="left" style="margin:5px 15px 5px 0;" /></a> <a href="#" onclick="popWin('/ski_ride/parks_pipes/main_unbound/video_pop.cfm?movie=wcimetalstream.mov')"> <strong>WCI

It looks like they used dreamweaver with coldfusion added but you can get same effect like they did....it looks like they used coldfusion for the video or something to store it.

tmmoose
12-02-2004, 01:11 AM
Used to pop a flash movie in window...
<script type="text/javascript" language="javascript">
//<![CDATA[
function openpopup() {
var popurl="http://ca.geocities.com/terry_mckee_73/bullitt.swf"
winpops=window.open(popurl,"","toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=500, height=373, left=0, top=0,")
}
//]]>

the link

<a href="javascript:openpopup()"><img style="border:0;width:137px;height:190px" src="http://www3.sympatico.ca/terry.mckee/steve.jpg" alt="Great Mustang Flash !" /></a> One of my favorite car chase movies..just a short clip 700kb

A sample..........click on the pic of Steve McQueen .. Bullitt (http://www3.sympatico.ca/terry.mckee)