Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
IntroJs Widget for Yii php framework
PHP JavaScript
branch: master

README.md

Yii-IntroJS

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
    )
));

Roadmap

  • add goToStep,setOption,oncomplete,onexit,onchange and onbeforechange functions
  • add examples project in Yii

Change log

  • v0.1.0 to v0.2.0
    • change IntroJs files to 0.4.0 version
    • add position,exit and event on start and exit
Something went wrong with that request. Please try again.