IntroJS is small javascript library to introduce your web site feature to visitors.
demo is available in usablica.github.io/intro.js/.
now I developed Yii extension for it and the source is available in github.com/moein7tl/Yii-IntroJS.
usage is so simply by following code:
$this->widget('application.extensions.introjs.IntroJs',array(
'data'=>array(
array('id'=>'introID1','step'=>1,'intro'=>'Hello World!','position'=>'right'),
array('id'=>'IntroID2','step'=>2,'intro'=>'Yii widget powered By Mohammad Moein Hosseini Manesh'),
/* all step and data should be defined here*/
array('id'=>'introIDStart','start'=>true,'event'=>'onclick'), // define one element as starter,default event is onclick
array('id'=>'introIDExit','exit'=>true,'event'=>'onclick'), // you can define elements to exit before ending IntroJs,default event is onclick
)
));
and more data is at github.com/moein7tl/Yii-IntroJS
what is your onion about it?