| | |
Display a movie clip on a button click
![]() |
Well, here's a quick and dirty code for this would be
however the real syntax is
For furthur features you could use JavaScript
Graphics and Multimedia Syntax (Toggle Plain Text)
getURL("URL", "_target");
Graphics and Multimedia Syntax (Toggle Plain Text)
getURL(url [, window [, "variables"]])
•
•
Join Date: Nov 2006
Posts: 27
Reputation:
Solved Threads: 0
•
•
•
•
Well, here's a quick and dirty code for this would be
however the real syntax isGraphics and Multimedia Syntax (Toggle Plain Text)
getURL("URL", "_target");
For furthur features you could use JavaScriptGraphics and Multimedia Syntax (Toggle Plain Text)
getURL(url [, window [, "variables"]])
Thats what i said use javascript. Add javascript to the page you want to open and set the width, height of the page. e.g.
[html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<script language="JavaScript" type="text/javascript">
/*<![CDATA[*/
function resize(w,h)
{
window.resizeTo(w,h);
}
/*]]>*/
</script>
</head>
<body onload="resize(200,200)">
</body>
</html>
[/html]
[html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<script language="JavaScript" type="text/javascript">
/*<![CDATA[*/
function resize(w,h)
{
window.resizeTo(w,h);
}
/*]]>*/
</script>
</head>
<body onload="resize(200,200)">
</body>
</html>
[/html]
Why make it complicated? Keep it simple:
make a button, and link it to a page containing a movie.
make a button, and link it to a page containing a movie.
Graphics and Multimedia Syntax (Toggle Plain Text)
<a href="mymoviepage.htm"><img src="pictureofmybutton.jpg" /></a>
Last edited by MidiMagic; Mar 21st, 2007 at 12:08 am.
Daylight-saving time uses more gasoline
I agree, why not just link it to another page simple and easy.
Note: Just be sure that the movie is optimized so the download time will be fast.
Note: Just be sure that the movie is optimized so the download time will be fast.
![]() |
Similar Threads
- How To Save/Download A Short Movie Clip (Windows 95 / 98 / Me)
- Tk Button Click Response (Python)
- Windows Media Player not playing movie clips Error ID = 0xC00D11D1 (Windows NT / 2000 / XP)
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: How to run A script
- Next Thread: Can I place an image into the Flash movie box so appears when Flash blocked by browse
Views: 3799 | Replies: 6
| Thread Tools | Search this Thread |
Tag cloud for Graphics and Multimedia






