Tutorial Extension  1.0.0
SellerDeck Extensions - Tutorial Extension
help.html
1 <!DOCTYPE html>
2 <!--
3 help.html - Tutorial Extension Help HTML
4 
5 @package SellerDeck Extensions
6 
7 @author Péter Erdődi
8 @copyright © SellerDeck Ltd 2015. All rights reserved.
9 -->
10 <html>
11  <head>
12  <title>Tutorial</title>
13  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
14  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
15  <meta http-equiv="Content-Language" content="en-en" />
16  <meta http-equiv="X-UA-Compatible" content="IE=10">
17  <link href="../../root/assets/css/sde-dialog.css" rel="stylesheet" type="text/css" />
18  </head>
19  <body>
20  <div id="sde-help-content">
21  <h1>Tutorial</h1>
22  <p>Tutorial help goes here.</p>
23  <img src="help/assets/images/screenshot.png" />
24  <div class="copyright">
25  &copy; SellerDeck 2015/2016 All Rights Reserved.
26  </div>
27  </div>
28  <div id="sde-dialog-buttons">
29  <div class="sde-dialog-buttons-right">
30  <input value="Print" type="button" id="ButtonPrint" class="sde-dialog-button" onClick="javascript:window.print()" />
31  <input value="About" type="button" id="ButtonAbout" class="sde-dialog-button" onclick="javascript:oAboutWindowHandler.fOpenWindow()"/>
32  <input value="Close" type="button" id="ButtonOK" class="sde-dialog-button"/>
33  </div>
34  </div>
35  <script>
36  var oAboutWindowHandler = new function ()
37  {
38  this.oWindow = null;
39  //
40  // Open the Release notes
41  //
42  this.fOpenWindow = function ()
43  {
44  if (null == this.oWindow || this.oWindow.closed)
45  {
46  try
47  {
48  this.oWindow = window.open('releasenote.html#help', 'releasenote', 'directories=no');
49  }
50  catch (exp)
51  {
52  // ignore any error as they appear to be random. Let user press the button again
53  }
54  }
55  else
56  {
57  this.oWindow.focus();
58  }
59  };
60  //
61  // Close the notes
62  //
63  this.fCloseWindow = function ()
64  {
65  if (null != this.oWindow)
66  {
67  this.oWindow.close();
68  this.oWindow = null;
69  }
70  };
71  }
72  </script>
73  <script type="text/javascript" for="window" event="onunload">
74  oAboutWindowHandler.fCloseWindow();
75  </script>
76  </body>
77 </html>