diff --git a/archive.html b/archive.html index 5fb53a8..d4b1fa3 100644 --- a/archive.html +++ b/archive.html @@ -24,31 +24,14 @@ indexPage = "index.html" //set which html page your comics are on, supremely important. archive system will break otherwise -
-

Chronological Order

-
- -
-

"Latest First" Order

-
- -
-

Or, divide it into chapters/arcs

-

(You can also turn off thumbnails)

-

Chapter 1

-
-
-

Chapter 2

+

Season two

-
-

Chapter 3

+
+

Season one

-
-

Chapter 4

-
diff --git a/js/comic_archive.js b/js/comic_archive.js index d0e52be..1d19731 100644 --- a/js/comic_archive.js +++ b/js/comic_archive.js @@ -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);