Jump to content

Search the Community

Showing results for tags 'queue'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Development
    • HTML Coding
    • JavaScript
    • PHP
    • CMS
    • Database
    • Web Server
    • Web-site Development
    • Internet Marketing, SEO
  • Library
    • Tricks and solutions
    • Books
  • Commercial services
    • Freelance
    • Job
    • Goods and Services
  • Our Forum
    • Flame
    • Contests
    • Feedback and Ideas

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Web site


Telegram


Signal


Viber


Skype


From


Interests

Found 1 result

  1. Идея простая. Есть блок, id=’animation_block’. В нем находятся четыре div-а, с display:none. Эти блоки имеют id: im1, im2, im3, im4. В каждом своя текстура. Я хочу, что бы они плавно появлялись и исчезали по очереди, и так по кругу. Как я себе представляю код: <script type="text/javascript"> $(document).ready(function () { setInterval(function () { $('#im1').fadeIn(1000).fadeOut(400); $('#im2').fadeIn(1000).fadeOut(400); $('#im3').fadeIn(1000).fadeOut(400); $('#im4').fadeIn(1000).fadeOut(400);}, 0); }); </script> Но анимация происходит не последовательно, а вместе. Знаю, как решить вопрос setTimeout, но хотелось бы без этого обойтись. Помогите, пжлста! Хотелось бы реализовать именно на jQuery, в JS полный чайник. Пытался сделать с queue, бился несколько часов, безуспешно (queue могла помочь?). Заранее, спасибо!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy