The idiom means, be very happy
I'll be on top of the world if i'm gonna win the lotto.When Laura received the award, she was on top of the world.