I had a friend help me and this is what worked. I knew I needed the (document).ready but did not have the syntax correctly. This is what fixed my problem,
<script>
$(document).ready(function ($) {
$('#slider-id').codaSlider({
autoSlide:true,
autoHeight:false
});
});
</script>