Yii 1.1: picchangewidget

to make a change pic widget
2 followers

this extension is used to make a widget to show some pics in one div. it's comes from this link http://www.cnblogs.com/codeio/archive/2011/10/09/2203200.html

it's very simple, just extract it to your extension file. then write the code like the demo.

if you like please goto my blog http://istrone.com

$this->Widget("PicChangeWidget",array(
            "id"=>"scroll",
            "width"=>350,
            "height"=>450,
            "class"=>"myClass",
            "data"=>array(  
array("link"=>"http://istrone.com","src"=>"http://istrone.com/wp-content/uploads/2011/11/abc.gif"),
array("link"=>"http://istrone.com","src"=>"http://istrone.com/wp-content/uploads/2011/11/abc.gif"),
array("link"=>"http://istrone.com","src"=>"http://istrone.com/wp-content/uploads/2011/11/abc.gif"),
            )
        ));

Be the first person to leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: PHP License 3.0
  • Developed by: istrone
  • Category: Others
  • Votes: +1
  • Downloaded: 98 times
  • Created on: Feb 23, 2012
  • Last updated: Feb 23, 2012