开发者

Is there a way to show two images simultaneously with a JavaScript image gallery?

I'm trying to create a comic book reader using JavaScript where the content of the gallery is dynamically generated from the images in a given directory (directory is chosen with a bit of PHP). I want to display two pages (images) at a time so the comic is read like it would be in a book format. Users are then able to navigate two pages at a time with 开发者_C百科their arrow keys.

So far I can only get one page to load and view at any given time.

How can I do this? I don't want to have to hard-code every gallery.


Maybe you could generate a directory listing with PHP and put it into the javascript on the page?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜