@ -11,14 +11,14 @@ let pg = Number(findGetParameter("pg")); //make "pg" mean the current page numbe
////////////////////////
////////////////////////
//REALLY IMPORTANT ONES
//REALLY IMPORTANT ONES
constmaxpg=14;//the current number of pages your comic has in total. this DOESNT necessarily mean number of IMAGE FILES as it doesn't count pages split into multiple files.
constmaxpg=21;//the current number of pages your comic has in total. this DOESNT necessarily mean number of IMAGE FILES as it doesn't count pages split into multiple files.
//YOU MUST UPDATE THIS NUMBER EVERY TIME YOU ADD A NEW PAGE or else it wont display the most recent page
//YOU MUST UPDATE THIS NUMBER EVERY TIME YOU ADD A NEW PAGE or else it wont display the most recent page
// COMIC PAGE SETTINGS
// COMIC PAGE SETTINGS
constfolder="img/comics";//directory of the folder where you keep all the comics
constfolder="img/comics";//directory of the folder where you keep all the comics
constimage="pg";//what you'll name all your comic pages
constimage="pg";//what you'll name all your comic pages
constimgPart="_"//special character(s) you put after the page number to subdivide pages into multiple image files (ie pg2_1, pg2_2, etc)
constimgPart="_"//special character(s) you put after the page number to subdivide pages into multiple image files (ie pg2_1, pg2_2, etc)
constext="jpg";//file extension of your comic pages
constext="png";//file extension of your comic pages
//THUMBNAIL SETTINGS
//THUMBNAIL SETTINGS
constthumbFolder="img/thumbs"//directory of the folder where you keep all the thumbnail images for the comics, in case you want the archive page to use thumbnails.
constthumbFolder="img/thumbs"//directory of the folder where you keep all the thumbnail images for the comics, in case you want the archive page to use thumbnails.
@ -47,11 +47,11 @@ if (pg == 0) {pg = maxpg;} //display MOST RECENT COMIC when the webpage is loade
//Note: the formatting is important! The whole thing won't show up if you forget to include the commas or curly braces in the right place.
//Note: the formatting is important! The whole thing won't show up if you forget to include the commas or curly braces in the right place.
constpgData=[
constpgData=[
{
/*{
pgNum:1,//what page number it is
pgNum:1,//what page number it is
title:"The First Page Title",//the title of the page (leaving this blank will default it to "Page X")
title:"",//the title of the page (leaving this blank will default it to "Page X")
date:writeDate(2021,3,16),//the date on which the page was posted (mainly for the archive). The date is written using a function called "writeDate", basically just put writeDate and then some parenthesis and, comma separated, the year followed by the month and the day. Don't forget another comma at the end outside the parenthesis!
date:writeDate(2021,3,16),//the date on which the page was posted (mainly for the archive). The date is written using a function called "writeDate", basically just put writeDate and then some parenthesis and, comma separated, the year followed by the month and the day. Don't forget another comma at the end outside the parenthesis!
altText:"Here's some alt text!",//the alt text (mouse over text) for this particular comic. put nothing inbetween the quotes for no alt text
<p>All of these sub pages are just supposed to be examples of what you could do, you're definitely encouraged to mess around with them and come up with something better</p>
<p>After losing his eye and the trust of his sworn brother in a botched assassination, Majima clawed his way out of debt and through the ranks of the Yakuza to become Captain of the Shimano Family, where his ferocity and unpredictability in battle earned him the title "The Mad Dog of Shimano". He's now the patriarch of the Majima Family, a direct subsidiary of the Tojo Clan.</p>
<p>Mascot of the waifuism.life website.</p>
<p>Doesn't like being asked too much stuff, friends with Blueberry Hotcake.</p>