diegooriani
02-11-2008, 04:17 PM
Hi,
I found in the internet this great javascript called Multibox, it's very similar to the Lightbox Script. Basically I am having problems trying to display SWF and FLV files. I am doing exactly the same thing the guide in the website tells you to do, but is not working.
This is the piece where I call the scripts:
<link href="multibox/multibox.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]><link rel="stylesheet" href="ie6.css" type="text/css" media="all" /><![endif]-->
<script type="text/javascript" src="multibox/mootools.js"></script>
<script type="text/javascript" src="multibox/overlay.js"></script>
<script type="text/javascript" src="multibox/multibox.js"></script>
<script type="text/javascript">
var box = {};
window.addEvent('domready', function(){
box = new MultiBox('multibox', {descClassName: 'multiBoxDesc'});
});
</script>
Now this is the reference that I am using to open the FLV or SWF:
<li><a href="/web/wb_02.swf" rel="type:swf" id="web2" class="multibox" title="iportfolio banner">example SWF</a></li><br/>
<div class="multiBoxDesc web2">example SWF</div>
What I am doing wrong? Why I can't display the SWF or the FLV?
The multibox website: http://www.phatfusion.net/multibox/
My test site: http://www.diegooriani.com/index__.html
On my website the examples are in web: ""flv example"" and ""swf example"", none of them loads.
Thank you,
Diego
P.S.: I want to put this website online soon! I need a new job! :D
I found in the internet this great javascript called Multibox, it's very similar to the Lightbox Script. Basically I am having problems trying to display SWF and FLV files. I am doing exactly the same thing the guide in the website tells you to do, but is not working.
This is the piece where I call the scripts:
<link href="multibox/multibox.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]><link rel="stylesheet" href="ie6.css" type="text/css" media="all" /><![endif]-->
<script type="text/javascript" src="multibox/mootools.js"></script>
<script type="text/javascript" src="multibox/overlay.js"></script>
<script type="text/javascript" src="multibox/multibox.js"></script>
<script type="text/javascript">
var box = {};
window.addEvent('domready', function(){
box = new MultiBox('multibox', {descClassName: 'multiBoxDesc'});
});
</script>
Now this is the reference that I am using to open the FLV or SWF:
<li><a href="/web/wb_02.swf" rel="type:swf" id="web2" class="multibox" title="iportfolio banner">example SWF</a></li><br/>
<div class="multiBoxDesc web2">example SWF</div>
What I am doing wrong? Why I can't display the SWF or the FLV?
The multibox website: http://www.phatfusion.net/multibox/
My test site: http://www.diegooriani.com/index__.html
On my website the examples are in web: ""flv example"" and ""swf example"", none of them loads.
Thank you,
Diego
P.S.: I want to put this website online soon! I need a new job! :D