網頁

2013年4月14日 星期日

highslide js


highslide使用实例,点击图片放大效果,再次点击缩小。

highslide JS簡介
 
hs.graphicsDir = '../highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'controls-in-heading'; 
hs.fadeInOut = true;
//hs.dimmingOpacity = 0.75;

// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
 //slideshowGroup: 'group1',
 interval: 5000,
 repeat: false,
 useControls: false, //true,
 fixedControls: false, //'fit',
 overlayOptions: {
  opacity: 1,//.75,
  position: 'top right', //'bottom center',
  hideOnMouseOut: false //true
 }
});

沒有留言:

張貼留言

注意:只有此網誌的成員可以留言。