IntroJs Widget for Yii php framework
IntroJs is an open source project by usabli.ca team.
It introduced itself by:
Better introductions for websites and features with a step-by-step guide for your projects.
read more about IntroJs here.
##Setup: extract introjs folder under protected/extentions folder
##Usage: in view files
$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
)
));
- add goToStep,setOption,oncomplete,onexit,onchange and onbeforechange functions
- add examples project in Yii
- v0.1.0 to v0.2.0
- change IntroJs files to 0.4.0 version
- add position,exit and event on start and exit