Commit 4a8cc4a4 authored by svilayphiou's avatar svilayphiou
Browse files

bouton "preview" devient "hi-res"

parent 32de49f9
<!DOCTYPE HTML>
<html class="spread">
<html class="">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>HTML to Print Boilerplate</title>
......@@ -43,7 +43,7 @@
<div id="interface">
<button id="debug" class="button" href="#">Debug</button>
<button id="preview" class="button" href="#">Preview</button>
<button id="hi-res" class="button" href="#">Hi-res</button>
<div id="toc">
<button id="goto" class="button" href="#">Go to</button>
<ul id="toc-pages"></ul>
......
// Choose the number of pages of the document
var nb_page = 122;
var nb_page = 400;
// Loads main content into <section id="container">
......@@ -14,8 +14,8 @@ $(window).load(function(){
});
// __________________________________ PRINT PREVIEW __________________________________ //
$("button#preview").click(function(e){
// __________________________________ HIGH RESOLUTION __________________________________ //
$("button#hi-res").click(function(e){
e.preventDefault();
$(this).toggleClass("button-active");
$("html").toggleClass("export");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment