1

I'm trying to solve problem effects during the loading the page. please take look at the sample at

http://www.ajaxshake.com/plugin/EN/1097/6c9bfe29/circle-effects-with-css3-circleeffects.html

And go to demo 6 as you can see when mouse over on images it will flip down and flip up when mouse out.

I'm trying to figure out how this write code in jquery when loading page and auto flip down images during loading the page without mouseover!

Does anyone have any idea how to write that code, i just done in sample jquery code but still not working please take look at

4

1 回答 1

0

尝试使用jquery ...

$(document).ready(function() {
    if($('#your_img_id').is(':hover')) {
        $('#your_img_id').fadeIn('fast');
    }
    else {
        $('#your_img_id').fadeOut('fast');
    }
});

可能工作...

如果你想要它没有鼠标悬停...只需删除 if 条件并检查加载条件...

于 2013-01-07T02:38:59.570 回答