How do I keep JQuery Cycle Fade images behind other elements?
I am doing a fade cycle on 3 images, and want to put links on top of the fading images so that the fading images are in the bacground, similar to
this page.
However, as the images fade the place them selves on top of my menu link, hiding it. How do I force the images to stay in the background as they fade?
Below is a summary of my code. I've attached the whole thing in sp.zip so you can see how it in your browser.
- <script type="text/javascript">
- $(document).ready(function() {
- $('#photo').cycle({
- fx: 'fade'
- });
- });
- </script>
- <div id="content">
- <div id="photo"><img src="1.jpg" /><img src="2.jpg" /><img src="3.jpg" /></div>
- <div id="menu" style="position: absolute; left: 50px; top: 120px;">
- <ul><li><a href="#">Enter</a></li></ul>
- </div>
- </div>