Illusio
Golden Member
I'll preface this with my programming skill are pretty lacking when it comes to javascript. I'm trying to get 2 scripts to place nice together.
I have a slideshow using this script:
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
And am trying to do a popup using this one:
http://colorpowered.com/colorbox/
However, when I add the code for the second one, the first will stop working and neither will work. I have no idea why it's doing that. I've narrowed it down to when I add this bit of code, it stops working:
<script>
$(document).ready(function(){
//Examples of how to assign the ColorBox event to elements
$(".mail").colorbox({width:"45%", height:"45%", iframe:true});
});
</script>
Any help would be greatly appreciated.
I have a slideshow using this script:
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
And am trying to do a popup using this one:
http://colorpowered.com/colorbox/
However, when I add the code for the second one, the first will stop working and neither will work. I have no idea why it's doing that. I've narrowed it down to when I add this bit of code, it stops working:
<script>
$(document).ready(function(){
//Examples of how to assign the ColorBox event to elements
$(".mail").colorbox({width:"45%", height:"45%", iframe:true});
});
</script>
Any help would be greatly appreciated.
Last edited: