How to create a scroll bar and deal with onmousemove event in cocos2d-html5?

I am going to develop a RPG game with cocos2d-htm5 (canvas).

Now i have two problems.

The first is how to create a scroll bar in chatting module. I don’t know how to create the scroll bar in canvas mode. Is there anyone who can told me how to design a chat module in a game with cocos2d-html5?

The second problem is how can show the information of the equipment when i move the mouse pointer on the equipment. I can’t find onmousemove event or onmouseenter event in cocos2d. What should I do?


ccc.jpg (30.5 KB)