PDA

View Full Version : proper way to add div tags to javascript



theregoesjb
22 Oct 2012, 10:20 AM
I am totally new to this but I have added a jqueary slide show using code and instructions found online, basically i set up a div with a list of images and the script turns them into a slideshow within that div.

the div is called "slide_a", and i would like to add another called "slide_b" here is the script:

<script type="text/javascript">
jQuery(document).ready(function($) {
$('#slide_a').cycle({ fx: 'fade'});
});
</script>

I am hoping its something simple like separating them with a comma