0
我知道這是類似於另一個堆棧溢出後,但它並沒有回答我的問題jquery .animate different speedsjQuery的FX速度是不同的速度
這裏是我的js
$.fx.speeds._default = 1000;
$(function() {
$("#tabs").tabs();
});
function social() {
$(document).ready(function() {
$(".info7").hide();
$("#social_media").show("fade");
$("#hide").show();
});
}
function social_hide() {
$(document).ready(function() {
$(".info7").show();
$("#social_media").hide("fade");
$("#hide").hide();
});
}
<!--
if (screen.width <= 800) {
document.location = "iphone-website.php";
}
//-->
//tipsy popup code
$(function() {
$('.info').tipsy({fade:true, gravity:'s', fallback:"Use the different search engines to find what you're looking for, These search engines search leagucraft.com and mobafire.com for the information you need."});
$('.info2').tipsy({fade:true, gravity:'s', fallback:"Click this to open the search engine box in another window."});
$('.info3').tipsy({fade:true, gravity:'s', fallback:"You can put your user name here instead."});
$('.info4').tipsy({fade:true, gravity:'s', fallback:"League of Legends InfoMatic Blog."});
$('.info5').tipsy({fade:true, gravity:'s', fallback:"League of Legends InfoMatic Facebook page."});
$('.info6').tipsy({fade:true, gravity:'s', fallback:"This website is mobile browser friendly!"});
$('.info7').tipsy({fade:true, gravity:'s', fallback:"Click here to show the social media buttons."});
$('.info8').tipsy({fade:true, gravity:'s', fallback:"Click here to hide the social media buttons."});
});
function init() {
$(document).ready(function() {
$("body").show("fade");
});
}
,由於某種原因,即使我把$ .fx.speeds._default = 1000;在每個jquery函數的後面,或者它們都是不同的速度。
所以沒有辦法讓他們都一樣嗎? –
@TechbyTbone是的,如果JS不忙同時處理很多事情。但最有可能的是,這樣會更像是不。 – Joseph
啊k謝謝!!!! –