PDA

View Full Version : Need Help


DYABLO
09-19-2005, 02:48 PM
I would like to add a jukebox to my site. I have a jukebox (.swf file) but i want people to click it and the .swf appears as a popup (something similar), just that square not a whole new page. How can i do that? thanks in advance. =:O

Pegasus
09-19-2005, 03:35 PM
http://www.htmlforums.com/showthread.php?postid=279292#post279292

_Aerospace_Eng_
09-19-2005, 03:37 PM
jukebox.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Jukebox</title>
<style type="text/css">
html, body {
margin:0;
padding:0;
}
</style>
</head>

<body>
<object type="application/x-shockwave-flash" data="yourflash.swf" width="200" height="200">
<param name="movie" value="yourflash.swf">
</object>
</body>
</html>
Put this where ever you want the link to the jukebox to appear.
<a href="jukebox.html" onclick="window.open(this.href,'jukebox','width=200,height=200,left=0,top=0');return false">Open Jukebox</a>

DYABLO
09-19-2005, 04:26 PM
thanks aerospace it worked perfectly :verycool: