archive
This commit is contained in:
parent
f6856a88c8
commit
286de32c98
2 changed files with 10 additions and 27 deletions
23
archive.html
23
archive.html
|
@ -24,31 +24,14 @@
|
|||
indexPage = "index.html" //set which html page your comics are on, supremely important. archive system will break otherwise
|
||||
</script>
|
||||
|
||||
<div class="chrono">
|
||||
<h2>Chronological Order</h2>
|
||||
</div>
|
||||
|
||||
<div class="lastfirst">
|
||||
<h2>"Latest First" Order</h2>
|
||||
<div class="chapter2">
|
||||
<h2>Season two</h2>
|
||||
</div>
|
||||
|
||||
<div class="chapter1">
|
||||
<h2>Or, divide it into chapters/arcs</h2>
|
||||
<h2>(You can also turn off thumbnails)</h2>
|
||||
<h2>Chapter 1</h2>
|
||||
<h2>Season one</h2>
|
||||
</div>
|
||||
|
||||
<div class="chapter2">
|
||||
<h2>Chapter 2</h2>
|
||||
</div>
|
||||
|
||||
<div class="chapter3">
|
||||
<h2>Chapter 3</h2>
|
||||
</div>
|
||||
|
||||
<div class="chapter4">
|
||||
<h2>Chapter 4</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- footer-->
|
||||
|
|
|
@ -5,20 +5,20 @@
|
|||
//then, to place that section of the archive on the html page, you'd make a div, and give that div a class name of whatever you've called that section of the archive in the first parameter.
|
||||
//if you put anything in that div, the list of comics will get appended after it. i.e. you can put the title of that specific section as a header in that div.
|
||||
|
||||
writeArchive(
|
||||
/* writeArchive(
|
||||
"chrono", //class of the div that you want this section of the archive to appear in. to have it be on your html page, make an empty div with this class.
|
||||
1, //earliest page to list
|
||||
maxpg, //latest page to list. setting to maxpg will make it automatically update with the latest page
|
||||
-1, //if set to 0, list is displayed "latest first". if set to -1, list is displayed chronologically
|
||||
true, //if set to true, each comic will have its own thumbnail image next to it. if a comic doesn't have its own thumbnail, it'll be set to the default thumbnail.
|
||||
0, //if set to 0, list is displayed "latest first". if set to -1, list is displayed chronologically
|
||||
false, //if set to true, each comic will have its own thumbnail image next to it. if a comic doesn't have its own thumbnail, it'll be set to the default thumbnail.
|
||||
true //if set to true, each comic will have a display number
|
||||
);
|
||||
*/
|
||||
/* writeArchive("lastfirst", 1, maxpg, 0, true,true); */
|
||||
|
||||
writeArchive("lastfirst", 1, maxpg, 0, true,true);
|
||||
writeArchive("chapter1",1,19,0,false,true) //writeArchive is for listing a RANGE of pages, take advantage of this by using headers to divide them into chapters or by month
|
||||
|
||||
writeArchive("chapter1",1,3,-1,false,true) //writeArchive is for listing a RANGE of pages, take advantage of this by using headers to divide them into chapters or by month
|
||||
|
||||
writeArchive("chapter2", 4, 9, -1, false,false);
|
||||
writeArchive("chapter2", 20, 21, 0, false,true);
|
||||
|
||||
writeArchive("chapter3", 9, 12, -1, false,false);
|
||||
|
||||
|
|
Reference in a new issue