I am new to cocos-2d , so please be gentle as this may be very noob question.
Ok now my question.
How can i implement alert box like thing in cocos 2D, with yes or no button.So Yes button calls to a method.that method opens an website link.
For example, i have seen several games ,where an alert comes to make user give review in app store..When they press yes, it takes to app store.
Why to not use the UIAlertView? You can work with it as any UIKit application and take a look to this thread for the rate/review library.
Anyway you can check this article which provide a custom implementation for Cocos2D.