Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

moeinxyz/Yii-IntroJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

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

About

IntroJs Widget for Yii php framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published