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</a>
$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"),
)
));
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.