The basic structure of my jquery slider is as follows: HTML:
<div id="slideshow">
<img src="img1.jpg" style="position:absolute;" class="active" />
<img src="img2.jpg" style="position:absolute;" />
<img src="img3.jpg" style="position:absolute;" />
</div>
CSS:
<style type="text/css">
.active{
z-index:99;
}
</style>
Jquery:
<script type="text/javascript" charset="utf-8">
$(window).load(function() {
$('.flexslider').flexslider();
});
</script>
Now, I want to add a MP3 file to it for playing background music which should have following attributes: autoplay on loading = yes, loop= yes, volume = 50
What code should I use for it and where should it be placed? (don’t want to show controls)
Thank you.