korpse
07-21-2010, 10:26 AM
I'm trying to get a javascript lightbox and a background image resize script to work on the same webpage but one's causing the other to work incorrectly. If anyone can help combine the 2 into a working script it would be hugely appreciated:
<!-- BG script -->
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js"></script>
<script type="text/javascript" src="supersized.2.0.js"></script>
<script type="text/javascript">
$(function(){
$.fn.supersized.options = {
startwidth: 640,
startheight: 480,
vertical_center: 1,
slideshow: 0,
};
$('#supersize').supersized();
});
</script>
<!-- lightbox script -->
<script type="text/javascript" src="imagezoom.js"></script>
<script type="text/javascript" src="mootools-1.2.4-core-yc.js"></script>
<link href="imagezoom.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
window.addEvent("domready", function() {
initImageZoom();
});
</script>
<!-- BG script -->
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js"></script>
<script type="text/javascript" src="supersized.2.0.js"></script>
<script type="text/javascript">
$(function(){
$.fn.supersized.options = {
startwidth: 640,
startheight: 480,
vertical_center: 1,
slideshow: 0,
};
$('#supersize').supersized();
});
</script>
<!-- lightbox script -->
<script type="text/javascript" src="imagezoom.js"></script>
<script type="text/javascript" src="mootools-1.2.4-core-yc.js"></script>
<link href="imagezoom.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
window.addEvent("domready", function() {
initImageZoom();
});
</script>