Advertisement
Guest User

iuri

a guest
Oct 16th, 2011
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. #######################
  2. ## 1
  3. #######################
  4.  
  5.  
  6. template::head::add_javascript -src "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"
  7. template::head::add_javascript -src "/resources/theme-ivc/js/translucentslideshow.js"
  8. template::head::add_javascript -script {
  9.  
  10. var translideshow1=new translideshow({
  11. wrapperid: "myslideshow", //ID of blank DIV on page to house Slideshow
  12. dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
  13. imagearray: [
  14. ["http://i26.tinypic.com/11l7ls0.jpg"], //["image_path", "optional_link", "optional_target"]
  15. ["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new"],
  16. ["http://i30.tinypic.com/531q3n.jpg"],
  17. ["http://i31.tinypic.com/119w28m.jpg"] //<--no trailing comma after very last image element!
  18. ],
  19. displaymode: {type:'auto', pause:2000, cycles:2, pauseonmouseover:true},
  20. orientation: "h", //Valid values: "h" or "v"
  21. persist: true, //remember last viewed slide and recall within same session?
  22. slideduration: 400 //transition duration (milliseconds)
  23. })
  24.  
  25. }
  26.  
  27.  
  28.  
  29.  
  30. #######################
  31. ## 2
  32. #######################
  33.  
  34. template::head::add_javascript -src "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"
  35. template::head::add_javascript -src "/resources/theme-ivc/js/translucentslideshow.js"
  36. template::head::add_javascript -script "
  37.  
  38. var translideshow1=new translideshow({
  39. wrapperid: \"myslideshow\",
  40. dimensions: [250, 180],
  41. imagearray: [
  42. [\"http://i26.tinypic.com/11l7ls0.jpg\"],
  43. [\"http://i29.tinypic.com/xp3hns.jpg\", \"http://en.wikipedia.org/wiki/Cave\", \"_new\"],
  44. [\"http://i30.tinypic.com/531q3n.jpg\"],
  45. [\"http://i31.tinypic.com/119w28m.jpg\"]
  46. ],
  47. displaymode: {type:'auto', pause:2000, cycles:2, pauseonmouseover:true},
  48. orientation: \"h\",
  49. persist: true,
  50. slideduration: 400
  51. })
  52.  
  53. "
  54.  
  55.  
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement