<script type= 'text/javascript' >
$(".owl-carousel").owlCarousel();
</script> in my <header></header>
<div class="owl-carousel" style="z-index: 1;">
<div><%= image_tag 'JohnsPhotos/weekend-getaway1.jpg'
%></div>
<div><%= image_tag 'JohnsPhotos/weekend-getaway2.jpg'
%></div>
</div> the tags for the plugin are mid page in the
<body></body>
Why isn't the javascript/css displaying the photos?
I'll try to call it after div code block, and then see if the function
fires off.
<div class="row">
<div class="large-12 medium-12 small-2 columns mid-index-bg">
<h2 style="color: red; text-align: center;">Carousel
Placeholder</h2>
<div class="owl-carousel" style="z-index: 1;">
<div class="item"><%= image_tag 'Photo1'%</div>
<div class="item"><%= image_tag 'Photo2'%></div>
</div>
</div>
</div>