I would start by using jquery's get method, since you seem to be using jquery already var old = ''; function checkUpdates() { var randomnumber = Math. Floor(Math.random() * 10000); link = "updates. Php?
Rnd=" + randomnumber; $. Get(link, function(data) { /* called when the resource was successfully retrieved */ if (old! = data) { $('#popup').
Html(data); // set the new data in the popup element showpop(); // show the popup old = data; // store the retrieved data } setTimeout(checkUpdates, 5000); }); } Your showpop and hidepop functions are not really defined correct Maybe you could read up on document. Ready(...) This should do the trick (notice that with jquery's delay function you can nicely chain everything: function hidepop(){ $("#popup"). FadeOut("slow"); } function showpop(){ $("#popup").
FadeIn("slow"); setTimeout(function() {hidepop();}, 4000); }.
I would start by using jquery's 'get' method, since you seem to be using jquery already. Var old = ''; function checkUpdates() { var randomnumber = Math. Floor(Math.random() * 10000); link = "updates.
Php? Rnd=" + randomnumber; $. Get(link, function(data) { /* called when the resource was successfully retrieved */ if (old!
= data) { $('#popup'). Html(data); // set the new data in the popup element showpop(); // show the popup old = data; // store the retrieved data } setTimeout(checkUpdates, 5000); }); } Your showpop and hidepop functions are not really defined correct. Maybe you could read up on document.
Ready(...). This should do the trick (notice that with jquery's delay function you can nicely chain everything: function hidepop(){ $("#popup"). FadeOut("slow"); } function showpop(){ $("#popup").
FadeIn("slow"); setTimeout(function() {hidepop();}, 4000); }.
Thanks for your help. – CalumMc May 21 at 20:31 sry, small copy/paste mistake :) fixed it.. – TweeZz May 21 at 20:33 That did the trick! Although I did add the original showpop() back because your one wouldn't fade out again.
Thankyou so much. :) – CalumMc May 21 at 20:37 glad to help :) Does anyone know what's wrong with my hidepop? :) – TweeZz May 21 at 20:40.
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.