jQuery幻灯片无法在$(window).load中工作
问题描述:
jQuery Silde $(#divhome").slideDown(2000);正在使用Onclick 函数.但是 Same在窗口加载功能内部无法正常工作.
The jquery Silde $("#divhome").slideDown(2000); is working inside the Onclick function. But the Same is not working inside the window load function.
$(window).load(function(){
$('#divhome').load('home.html'); //Load home Div
$("#divhome").slideDown(2000); //Silde home Div
$('#divgallery').load('gallery.html'); //Load Gallery Div
$('#divabout').load('about.html'); //Load AboutUs Div
$('#divcontact').load('contact.html'); //Load Contactus Div
});
请帮忙..
在此先感谢
Santhosh
Kindly help..
Thanks in Advance
Santhosh
答
(#divhome").slideDown(2000);正在使用Onclick 函数.但是 Same在窗口加载功能内部无法正常工作.
("#divhome").slideDown(2000); is working inside the Onclick function. But the Same is not working inside the window load function.
(窗口).load(function(){
(window).load(function(){
(' #divhome').load(' //
('#divhome').load('home.html'); //Load home Div