Thank You much for the answer!)
Yes it was my stupid mistake - there are two pictures, and toggle launched twice for every of them. I added wasLaunched flag, not the ideal solution I know:
- <script type="text/javascript" language="javascript">
- "use strict";
- jQuery(document).ready(function () {
- var wasToggled = false;
- jQuery("#logos > img:odd").fadeIn(8000, function () {
- if (!wasToggled) {
- jQuery("#logos > img:even").toggle("bounce", { times: 3 }, 1500);
- wasToggled = true;
- }
- });
- });
- </script>
Best regards,
Gennady