/ 设置 10 秒超时 // 每日统计清 0 runtime_set('todaycomments', 0); runtime_set('todayarticles', 0); runtime_set('todayusers', 0); if ($forumlist) { $fidarr = array(); foreach ($forumlist as $fid => $forum) { $fidarr[] = $forum['fid']; } forum_update($fidarr, array('todayposts' => 0, 'todaythreads' => 0)); } // 清理临时附件 attach_gc(); // 当天24点 $today = strtotime(date('Ymd')) + 86400; runtime_set('cron_2_last_date', $today, TRUE); // 往前推8个小时,尽量保证在前一天 升级过来和采集的数据会很卡 // table_day_cron($time - 8 * 3600); cache_delete('cron_lock_2'); } } } ?>javascript - JQuery fadeIn( ) not working - simple example - Stack Overflow|Concepts Of Algorithm

javascript - JQuery fadeIn( ) not working - simple example - Stack Overflow

admin2025-04-19  2

I've read the docs, but I can't get to the bottom why this example doesn't fade in the div:

$('#application-name-label').fadeIn('slow');

It's a unique id, but the element is just there from the loading of the page, doesn't fade in.

Like this:

/

I've read the docs, but I can't get to the bottom why this example doesn't fade in the div:

$('#application-name-label').fadeIn('slow');

It's a unique id, but the element is just there from the loading of the page, doesn't fade in.

Like this:

http://jsfiddle/GBjxH/

Share asked Oct 8, 2013 at 22:26 steve_gallaghersteve_gallagher 3,9088 gold badges34 silver badges52 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 3

Did you put:

 #application-name-label {
     display: none;
 }

?

It fades in just fine. If your puter is too slow to load the page, you might not be able to see it. Try .fadeIn(5000) or something.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745072435a283365.html

最新回复(0)