誰か助けてください私はページの読み込み時に読み込まれる jquery スプラッシュ スクリーンを使用しています。どうすればそれを行うことができますか?
ありがとう
(関数($){
$.fn.splashScreen = function(settings){
// Providing default options:
settings = $.extend({
textLayers : [],
textShowTime : 1500,
textTopOffset : 80
},settings);
var promoIMG = this;
// Creating the splashScreen div.
// The rest of the styling is in splashscreen.css
var splashScreen = $('<div>',{
id : 'splashScreen',
css:{
backgroundImage : promoIMG.css('assets/img/drop.jpg'),
backgroundPosition : 'center '+promoIMG.offset().top+'px',
height : $(document).height()
}
});