2018-01-25 09:43:34 1814次浏览 0条回答 0 悬赏 10 金钱

采用 SimpleFadeSlideShow 插件实现失败,图片可以显示,但是3张图片是列方向排列,问题出在哪里了? js css我已经在当前页面加入。

按提示操作失败?什么原因导致?

How to use

  • download the latest from github or do a checkout (git@github.com:schlypel/Yii-SimpleFadeSlideShow.git)
  • put the folder SimpleFadeSlideShow to your extensions folder, usually protected/extensions
  • use the provided widget in your view

Example Markup

Thanks to Yii´s auto loading, there is no need to add this extension to your config.

Minimal markup

$this->widget(
	'ext.SimpleFadeSlideShow.SimpleFadeSlideShow',
	array(
		'images' => array('url.to.image','url.to.another.image')
	)
);

Advanced markup

$this->widget(
	'ext.SimpleFadeSlideShow.SimpleFadeSlideShow',
	array(
		'images' => array(
			array(
				'src' => 'url.to.image',
				'href' => 'url.to.open.on.click',
				'text' => 'Some text to show as link title and image alt tag'
			),
			array(
				'src' => 'url.to.another.image',
				'href' => 'url.to.open.on.click',
				'text' => 'Some text to show as link title and image alt tag'
			)
		),
		'width' => 624,
		'height' => 240,
		'interval' => 10000,
		'speed' => 'slow',
		'ListElement' => false,
		'PlayPauseElement' => false,
		'autoPlay' => true,
	)
);
    没有找到数据。
您需要登录后才可以回答。登录 | 立即注册
greenjia0
职场新人

greenjia0

注册时间:2017-02-08
最后登录:2018-01-29
在线时长:8小时6分
  • 粉丝1
  • 金钱10
  • 威望0
  • 积分90

热门问题