I want to filter the selector so that a "<p> is not included; only the "<div>" of class = slider. Can that be done with my current structure?
<script type="text/javascript">
$(document).ready(function() {
$('#slider-wrapper').cycle({
fx: 'scrollHorz',
timeout: 3000,
after: function() {
$('#caption').html(this.alt);
}
});
});
</script>