javascript - Adding pages to tumblr json image gallery -



javascript - Adding pages to tumblr json image gallery -

i'm trying create portfolio website image gallery based on tumblr account.

this should hosted on html-only host (no php then..)

i'll glad if you'll help me create working.

my current code displays 20 images perfectly, don't know how add together "next\prev" buttons see more...

the code:

in header:

<pre class="prettyprint"><script type="text/javascript" src="http://dynazor.tumblr.com/api/read/json?type=photo?num=40"></script></pre>

in body:

<script type="text/javascript"> var v = 0; var = 0; { if (tumblr_api_read['posts'][i]['photo-url-250'] != null) { var smallimg = tumblr_api_read['posts'][i]['photo-url-250']; var bigimg = tumblr_api_read['posts'][i]['photo-url-1280']; document.write( '<a rel="shadowbox[gallery]" href="' + bigimg + '"><img border="0" src="' + smallimg + '"/></a>' ); v++ i++ } else { i++ } } while (v < 30); </script> v - image count i - post number

how should add together pages?

javascript json api tumblr

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -