Var max = 0; var index = 0; $(function() { $('tbody tr:visible:even'). Css('background-color', '#114c00'); max = $("tbody tr. Length; ticker(); }); function ticker() { // hide all visible tr's with hidden class $("tbody tr.
// low var h = index + 1; // high $("tbody tr. Filter(":eq(" + l + "), :eq(" + h + ")").show(); // manage index index += 2; if (index >= max) index = 0; // reset timer setTimeout("ticker()", 1000); } working example: jsfiddle.net/5vasr.
– Khan Jan 20 at 17:20 Edit: Never mind, I did it. Added an extra var x = index + 2; – Khan Jan 20 at 17:30.
You need to look at setInterval: https://developer.mozilla. Org/en/DOM/window. SetInterval Your current code will only fire once.
Set an interval to have it happen repeatedly. Edit: something like this for the javascript, untested, untried, but should get you started.
SetTimeout is preferable – hunter Jan 20 at 15:46 Unless you really want an interval, ie something that happens repeatedly. (I prefer interval for just this kind of thing actually. ) So it's my personal preference, however I'm open, is there some reason it's not preferable?
– Jason Benson Jan 20 at 15:50.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.