diff --git a/effect.js b/effect.js index 0433c43..03ab79f 100755 --- a/effect.js +++ b/effect.js @@ -176,7 +176,7 @@ $('document').ready(function(){ $("p:nth-child("+i+")").fadeOut('slow').delay(800).promise().done(function(){ i=i+1; $("p:nth-child("+i+")").fadeIn('slow').delay(1000); - if(i==50){ + if(i== $("#message_row").children("p").length){ $("p:nth-child(49)").fadeOut('slow').promise().done(function () { $('.cake').fadeIn('fast'); }); diff --git a/index.html b/index.html index cc44745..afa369c 100755 --- a/index.html +++ b/index.html @@ -102,7 +102,7 @@
-
+

今天

as beautiful as other days

but you realize

@@ -110,46 +110,6 @@

in a blink of the eyes

however

Do you know..?

-

today is just special

-

so special to you

-

that's why

-

Let's make it...

-

the best celebration ever

-

and let me share...

-

a piece of happiness to you

-

I made all this...

-

as a birthday present to you

-

thanks for being there

-

thanks for the friendship we made

-

thanks for everything

-

I wish you all the best

-

May your life be at ease

-

May all your wishes come true

-

Remember

-

your ambitions

-

you live as a free bird...

-

flying in the blue sky

-

Now things are different...

-

real story of your life

-

is just about to begin

-

indeed..

-

but...

-

don't worry

-

because...

-

God has your back

-

and

-

this year will be better

-

and I hope

-

you'll find...

-

happiness along the way

-

keep your spirit up

-

enjoy every single moment...

-

that you experience today

-

fill it with your most beautiful smile

-

and make it the best memory..

-

lastly...

-

I'd like to wish you one more time

-

a very happy birthday Xola Mathembisa