메인 배너 스크립트 수정
This commit is contained in:
@ -93,6 +93,14 @@ if ($i>0) echo '</ul>'.PHP_EOL.'</section>'.PHP_EOL;
|
|||||||
this.find("ul").before(slide_button);
|
this.find("ul").before(slide_button);
|
||||||
|
|
||||||
var $bnnr_btn = this.find(".sbn_btn_slide");
|
var $bnnr_btn = this.find(".sbn_btn_slide");
|
||||||
|
|
||||||
|
$bnnr_btn.on("focusin", function() {
|
||||||
|
clear_interval();
|
||||||
|
});
|
||||||
|
|
||||||
|
$bnnr_btn.on("focusout", function() {
|
||||||
|
set_interval();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
set_interval();
|
set_interval();
|
||||||
@ -128,14 +136,6 @@ if ($i>0) echo '</ul>'.PHP_EOL.'</section>'.PHP_EOL;
|
|||||||
set_interval();
|
set_interval();
|
||||||
});
|
});
|
||||||
|
|
||||||
$bnnr_btn.on("focusin", function() {
|
|
||||||
clear_interval();
|
|
||||||
});
|
|
||||||
|
|
||||||
$bnnr_btn.on("focusout", function() {
|
|
||||||
set_interval();
|
|
||||||
});
|
|
||||||
|
|
||||||
function left_rolling() {
|
function left_rolling() {
|
||||||
$bnnr.each(function(index) {
|
$bnnr.each(function(index) {
|
||||||
if($(this).is(":visible")) {
|
if($(this).is(":visible")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user