europe451
06-18-2010, 05:32 PM
I just found this .js script Milkbox (http://reghellin.com/milkbox/), kind of a take on light box, but I am having some problems with it.
It is supposed to play .swf files, and I have seen demos where it does without a problem.
My problem is that it won't for me. I can get it to open .jpg's just like lightbox, but for the life of me I can't get it to work properly with the .swf.
<script src="Scripts/mootools-1.2.3-core-yc.js" type="text/javascript"></script>
<script src="Scripts/mootools-1.2.3.1-assets.js" type="text/javascript"></script>
<script src="Scripts/mootools-1.2.3.1-more.js" type="text/javascript"></script>
<script src="Scripts/milkbox-yc.js" type="text/javascript"></script>
<style type="text/css">
@import url(css/milkbox.css);
</style>
<a href="flash/demo.swf" rel="milkbox[motion]" rev="width:480, height=:320" title="Demo of motion graphics"><img src="images/portfolio/motiongraphics/thumb_demo.jpg" /></a>
The .swf doesn't come up nor do the title or any buttons. However when it is just the image, as stated above, it works fine.
<a href="images/testing.jpg" rel="milkbox[motion]" title="Demo of motion graphics"><img src="images/portfolio/motiongraphics/thumb_demo.jpg" /></a>
Does anyone have any ideas why I can't get the .swf to show?
It is supposed to play .swf files, and I have seen demos where it does without a problem.
My problem is that it won't for me. I can get it to open .jpg's just like lightbox, but for the life of me I can't get it to work properly with the .swf.
<script src="Scripts/mootools-1.2.3-core-yc.js" type="text/javascript"></script>
<script src="Scripts/mootools-1.2.3.1-assets.js" type="text/javascript"></script>
<script src="Scripts/mootools-1.2.3.1-more.js" type="text/javascript"></script>
<script src="Scripts/milkbox-yc.js" type="text/javascript"></script>
<style type="text/css">
@import url(css/milkbox.css);
</style>
<a href="flash/demo.swf" rel="milkbox[motion]" rev="width:480, height=:320" title="Demo of motion graphics"><img src="images/portfolio/motiongraphics/thumb_demo.jpg" /></a>
The .swf doesn't come up nor do the title or any buttons. However when it is just the image, as stated above, it works fine.
<a href="images/testing.jpg" rel="milkbox[motion]" title="Demo of motion graphics"><img src="images/portfolio/motiongraphics/thumb_demo.jpg" /></a>
Does anyone have any ideas why I can't get the .swf to show?