-
Notifications
You must be signed in to change notification settings - Fork 1
HTML Templates
Seun Ogedengbe edited this page Aug 1, 2015
·
2 revisions
Comix-ngn uses HTML snippets or templates to allow modular customization for every Webcomic stage.
Currently, there are two HTML templates. *If a template isn't provided, comix-ngn will simply create its own.
decor.html
<!--Default Template-->
<div id="location"></div>
<div id="archive">Archive</div>
<div id="me">About Me</div>
- The Location DIV will contain the the carousel. [Required]
- The Archive DIV will contain a Table of Contents. [Not Implemented]
- The Me DIV can contain a customizable About Me Page.
- Any additional DIV can be created as long as it has an ID.
ctrls.html
<!--Default Template-->
<ul>
<li style="display: inline;"><button class="frst" >|<</button></li>
<li style="display: inline;"><button class="prev" rel="prev" accesskey="p">< Prev</button></li>
<li style="display: inline;"><button class="rand" >Random</button></li>
<li style="display: inline;"><button class="next" rel="next" accesskey="n">Next ></button></li>
<li style="display: inline;"><button class="last" >>|</button></li>
</ul>
- This will add a formatted control bar for the Webcomic stage.
- Instead of anchors, use buttons to avoid a bug with scrolling.
- Class determines the function of the button.
- frst = First button
- prev = Previous button
- rand = Random button
- next = Next button
- last = Last button