...overview of the extension...
Requirements ¶
Tested 1.1.10x
Usage ¶
//in the any action...
public function actionMyslideshow() {
$this->widget('application.extensions.jSupersized.JSupersized', array(
'titlePage' => 'My Fullscreen SlideShow',
'slides' => array(
array('image' => Yii::app()->request->baseUrl . '/images/folders/abc-01.jpg', 'title' => ''),
array('image' => Yii::app()->request->baseUrl . '/images/folders/abc-02.jpg', 'title' => ''),
array('image' => Yii::app()->request->baseUrl . '/images/folders/abc-03.jpg', 'title' => '')
)));
}
User Contributed Notes 5
The picture show under my web page. In other word, wrong layer.
The picture show under my web page. In other word, wrong layer. What's wrong?
My example:
$this->widget('ext.jSupersized.JSupersized', array( 'titlePage' => 'My Fullscreen SlideShow', 'slides' => array( //array('image' => Yii::app()->request->baseUrl . '/images/folders/abc-01.jpg', 'title' => ''), array('image' => 'http://farm9.staticflickr.com/8507/8454547519_f8116520e1_b.jpg', 'title' => 'T1'), array('image' => 'http://farm9.staticflickr.com/8481/8215602321_69d9939b8b_b.jpg', 'title' => 'T2') )));Btw, in the same view I use some YiiWheels widits after above sample.
R: The picture show under my web page.
Hi Scott,
the widget should be applied in action and not in view ...
To nandomegaman:
It work now if I use this widget in action, thanks.
One small bug:
Firefox browser: the up icon at bottom-right will disappear once I click it. That means you cannot hide the small photo again.
IE browser: the up icon at bottom-right will change to "X", however it still can hide/show the small photo sample.
After refresh browser, the icon can show again. Should e ajax issue, right?
Can you check it? Thanks.
To nandomegaman:
Could you also provide option if don't want show as full screen?
In other word, use it in view, and define hight/width for it?
Thanks.
Regards,
Scott Huang
To Scott Huang
Thanks, bugs fixed.
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.