Navigation 将fotorama箭头移到舞台外
是否可以将fotorama箭头移出div.fotorama_级并移入div.fotorama_nav-wrap 我希望将我的箭头放置在导航点的两侧 谢谢 这是我的朋友 HTMLNavigation 将fotorama箭头移到舞台外,navigation,slideshow,fotorama,Navigation,Slideshow,Fotorama,是否可以将fotorama箭头移出div.fotorama_级并移入div.fotorama_nav-wrap 我希望将我的箭头放置在导航点的两侧 谢谢 这是我的朋友 HTML 剧本 // 1. Initialize fotorama manually. var $fotoramaDiv = jQuery('.fotorama_custom').fotorama(); // 2. Get the API object. var fotorama = $fotor
剧本
// 1. Initialize fotorama manually.
var $fotoramaDiv = jQuery('.fotorama_custom').fotorama();
// 2. Get the API object.
var fotorama = $fotoramaDiv.data('fotorama');
// add our buttons
jQuery("<div class='fotorama_custom__arr fotorama_custom__arr--prev'><</div>").insertBefore(".fotorama__nav-");
jQuery("<div class='fotorama_custom__arr fotorama_custom__arr--next'>></div>").insertAfter(".fotorama__nav-");
// make the buttons functionality
jQuery('.fotorama_custom__arr--prev').click(function () {
fotorama.show('<');
});
jQuery('.fotorama_custom__arr--next').click(function () {
fotorama.show('>');
});
//1。手动初始化fotorama。
var$fotoramaDiv=jQuery('.fotorama_custom').fotorama();
// 2. 获取API对象。
var fotorama=$fotoramaDiv.data('fotorama');
//添加我们的按钮
jQuery(“”).insertAfter(“.fotorama_uuunav-”);
//使按钮功能化
jQuery('.fotorama\u custom\u arr--prev')。单击(函数(){
fotorama.show(“”);
});
// 1. Initialize fotorama manually.
var $fotoramaDiv = jQuery('.fotorama_custom').fotorama();
// 2. Get the API object.
var fotorama = $fotoramaDiv.data('fotorama');
// add our buttons
jQuery("<div class='fotorama_custom__arr fotorama_custom__arr--prev'><</div>").insertBefore(".fotorama__nav-");
jQuery("<div class='fotorama_custom__arr fotorama_custom__arr--next'>></div>").insertAfter(".fotorama__nav-");
// make the buttons functionality
jQuery('.fotorama_custom__arr--prev').click(function () {
fotorama.show('<');
});
jQuery('.fotorama_custom__arr--next').click(function () {
fotorama.show('>');
});