Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #######################
- ## 1
- #######################
- template::head::add_javascript -src "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"
- template::head::add_javascript -src "/resources/theme-ivc/js/translucentslideshow.js"
- template::head::add_javascript -script {
- var translideshow1=new translideshow({
- wrapperid: "myslideshow", //ID of blank DIV on page to house Slideshow
- dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
- imagearray: [
- ["http://i26.tinypic.com/11l7ls0.jpg"], //["image_path", "optional_link", "optional_target"]
- ["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new"],
- ["http://i30.tinypic.com/531q3n.jpg"],
- ["http://i31.tinypic.com/119w28m.jpg"] //<--no trailing comma after very last image element!
- ],
- displaymode: {type:'auto', pause:2000, cycles:2, pauseonmouseover:true},
- orientation: "h", //Valid values: "h" or "v"
- persist: true, //remember last viewed slide and recall within same session?
- slideduration: 400 //transition duration (milliseconds)
- })
- }
- #######################
- ## 2
- #######################
- template::head::add_javascript -src "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"
- template::head::add_javascript -src "/resources/theme-ivc/js/translucentslideshow.js"
- template::head::add_javascript -script "
- var translideshow1=new translideshow({
- wrapperid: \"myslideshow\",
- dimensions: [250, 180],
- imagearray: [
- [\"http://i26.tinypic.com/11l7ls0.jpg\"],
- [\"http://i29.tinypic.com/xp3hns.jpg\", \"http://en.wikipedia.org/wiki/Cave\", \"_new\"],
- [\"http://i30.tinypic.com/531q3n.jpg\"],
- [\"http://i31.tinypic.com/119w28m.jpg\"]
- ],
- displaymode: {type:'auto', pause:2000, cycles:2, pauseonmouseover:true},
- orientation: \"h\",
- persist: true,
- slideduration: 400
- })
- "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement