Skip to main content

All Questions

0 votes
2 answers
717 views

Waiting until for loop iteration to be completed visually before going onto next one

function start_map_one() { for (var i = 0; i < 15; ++i) { $.when(update_map()).then(evolve('W','W1',18,2,sea_limitations,20,350)); } } here, update_map() updates a div. However instead of ...
AlwaysNeedingHelp's user avatar
2 votes
5 answers
102 views

Stopping jQuery from doing its thing?

I have this code. $(document).ready(function() { $('#box').hide(); $(window).bind('scroll', function(){ if($(this).scrollTop() > 200) { $("#box").fadeIn(300); } else { $("#...
Phill Collins's user avatar
1 vote
4 answers
191 views

.each() with for loop? need to iterate to add captions

I have an issue with each loop and I'm trying to learn. I have a for loop and it iterates through a set number, then what I want to do is set a caption through each images I have set up. Jquery Code: ...
hellomello's user avatar
  • 8,607