javascript - Owl Carousel Outer Arrow Navigation -



javascript - Owl Carousel Outer Arrow Navigation -

i'm trying implement owl carousel lazyload images portfolio site , having issues positioning navigation buttons. ideally i'd add together these on outside of carousel positioned halfway image. have seen couple of examples operational cannot fathom out. can please help?

i have added jsfiddle here: http://jsfiddle.net/iameuanmackay/448htq9b/

the code i'm using is:

<div class="col-xs-8 col-xs-push-2 col-md-push-3 col-lg-6 col-lg-push-3" style="padding-left:45px"> <div class="owl-demo"> <img class="owl-lazy" data-src="http://megmackayphoto.com/beta/lib/img/full/people_02.jpg" alt=""> <img class="owl-lazy" data-src="http://megmackayphoto.com/beta/lib/img/full/people_02.jpg" alt=""> <img class="owl-lazy" data-src="http://megmackayphoto.com/beta/lib/img/full/people_03.jpg" alt=""> <img class="owl-lazy" data-src="http://megmackayphoto.com/beta/lib/img/full/people_04.jpg" alt=""> <img class="owl-lazy" data-src="http://megmackayphoto.com/beta/lib/img/full/people_05.jpg" alt=""> </div> </div>

css:

#owl-demo .item { display: block; padding: 30px 0px; margin: 5px; color: #fff; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; text-align: center; } .owl-theme .owl-controls { margin-top: 10px; text-align: center; } /* styling next , prev buttons */ .owl-theme .owl-controls .owl-buttons div { color: #fff; display: inline-block; zoom: 1; *display: inline; /*ie7 life-saver */ margin: 5px; padding: 3px 10px; font-size: 12px; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; background: #869791; filter: alpha(opacity=50); /*ie7 fix*/ opacity: 0.5; }

and js is:

jquery(document).ready(function ($) { $('.owl-demo').owlcarousel({ items: 1, nav: true, navigationtext: [ "<i class='icon-chevron-left icon-white'><</i>", "<i class='icon-chevron-right icon-white'>></i>"], lazyload: true, loop: true, margin: 10 }); });

any guidance can given on i'm doing wrong much appreciated.

thanks in advance.

$(document).ready(function () { var carousel = $("#owl-demo"); carousel.owlcarousel({ navigation:true, navigationtext: [ "<i class='icon-chevron-left icon-white'><</i>", "<i class='icon-chevron-right icon-white'>></i>" ], }); });

link: http://codepen.io/owlfonk/pen/qhgjb/

javascript jquery css carousel owl-carousel

Comments

Popular posts from this blog

php - Edges appear in image after resizing -

ios8 - iOS custom keyboard - preserve state between appearances -

Delphi change the assembly code of a running process -