Last active
August 29, 2015 14:02
-
-
Save kuc-arc-f/0103a6afb86961e619fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onload = function() { | |
var canvas =document.getElementById('id_canvas'); | |
var iW = canvas.width; | |
var iH = canvas.height; | |
console.log( 'iW='+ iW +',iH=' + iH) | |
var items= get_slideData(); | |
var slide = new CustomSlide(1000 * 10 ,items, iW, iH ); | |
slide.start(); | |
} | |
// | |
//function | |
// | |
function get_slideData(){ | |
var items= new Array(); | |
items[0]={ title:'p11.JPG' , url: 'http://kuc-arc-f.github.io/h5_t0604_page/img/p11.JPG' }; | |
items[1]={ title:'p12.JPG' , url: 'http://kuc-arc-f.github.io/h5_t0604_page/img/p12.JPG' }; | |
items[2]={ title:'p13.JPG' , url: 'http://kuc-arc-f.github.io/h5_t0604_page/img/p13.JPG' }; | |
items[3]={ title:'p14.JPG' , url: 'http://kuc-arc-f.github.io/h5_t0604_page/img/p14.JPG' }; | |
return items; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment