forked from erwinyusrizal/jquerypagewalkthrough.github.com
-
Notifications
You must be signed in to change notification settings - Fork 12
/
example.html
executable file
·503 lines (464 loc) · 21.1 KB
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>jQuery Page Walkthrough</title>
<meta name="description" content="jQuery Page Walkthrough">
<meta name="author" content="Erwin Yusrizal">
<!-- Standard CSS Includes -->
<link type="text/css" rel="stylesheet" href="../plugins/css/jquery.pagewalkthrough.css" />
<link type="text/css" rel="stylesheet" href="style.css"/>
<!-- Standard Script Includes -->
<script type="text/javascript" src="../plugins/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../plugins/jquery.pagewalkthrough-1.1.0.js"></script>
<script type="text/javascript" src="page.js"></script>
</head>
<body>
<div id="container">
<div id="header">
<div class="wrapper clearfix">
<div class="logo">
<a href="#">jQuery Page Walkthrough</a>
</div>
<div class="main-menu">
<ul>
<li><a href="javascript:;" id="open-walkthrough">Walkthrough</a></li>
<li><a href="javascript:;" id="open-callbacks">Callbacks</a></li>
<li><a href="javascript:;" id="open-methods">Methods</a></li>
<li class="last"><a href="javascript:;" id="open-extra">Extra</a></li>
</ul>
</div>
<div class="search-box">
<form>
<div class="form-element clearfix">
<div class="inputText search">
<input type="text" value="Search..." />
</div>
<input type="submit" value="search" class="btnSearch"/>
</div>
</form>
</div>
</div>
</div><!-- header -->
<div id="content">
<div class="wrapper clearfix">
<div class="content-left">
<div class="page-description" id="page-desc">
<h2><img src="images/send_us_your_enquiry.gif"></h2>
<p>Whether you're interested in working for us, engaging us to work for you, or you want to find out more about our great work for your next news story, please tweet us, call us, visit us or submit your enquiry using the form below.</p>
</div>
<div class="contact-form">
<div class="mark">
<em>*</em> Mandatory fields
</div>
<form id="contact-form">
<div class="two-col">
<div class="col-left">
<div class="form-element clearfix" id="enquiry-type">
<label>Subject of enquiry: <em>*</em></label>
<select>
<option value="0">please select</option>
<option value="1">Sales Enquiry</option>
<option value="2">Employment Enquiry</option>
<option value="3">Media Enquiry</option>
</select>
</div>
<div class="form-element clearfix" id="enquiry-email">
<label>Email Addreess <em>*</em></label>
<div class="inputText">
<input type="text">
</div>
</div>
</div>
<div class="col-right">
<div class="form-element clearfix" id="enquiry-name">
<label>Name <em>*</em></label>
<div class="inputText">
<input type="text">
</div>
</div>
<div class="form-element clearfix" id="enquiry-phone">
<label>Phone <em>*</em></label>
<div class="inputText">
<input type="text">
</div>
</div>
</div>
</div>
<textarea id="enquiry-message"></textarea>
<input type="submit" value="Send Enquiry" class="button">
</form>
</div>
<div class="divider-dotted"></div>
<div class="social-media clearfix">
<ul>
<li id="email-us">
<h3>Email us</h3>
<span><a href="javascript:;">[email protected]</a></span>
</li>
<li>
<h3>Tweet us</h3>
<span><a href="javascript:;" class="twitter">twitter</a></span>
</li>
<li>
<h3>Facebook</h3>
<span><a href="javascript:;" class="facebook">facebook</a></span>
</li>
</ul>
</div>
</div><!-- content left -->
<div class="content-right">
<div class="addressWrapper clearfix">
<div class="officeAddress">
<h3 class="titleComponent">
Indonesia:
<a target="_blank" href="javascript:;">view map</a>
</h3>
<div class="officeAddressContentWrapper">
<span class="address">
A Nerd Street 06/12 pm</span>
<ul class="phoneAndFax">
<li>Phone : <span>
(01) 2345 6789
</span></li>
<li>Fax : <span>
(01) 2345 6789</span></li>
</ul>
</div>
</div>
<div class="divider-dotted"></div>
<div class="officeAddress">
<h3 class="titleComponent">
Singapore:
<a target="_blank" href="javascript:;">view map</a>
</h3>
<div class="officeAddressContentWrapper">
<span class="address">
A Geek Street 06/12 pm</span>
<ul class="phoneAndFax">
<li>Phone : <span>
(02) 2345 6789
</span></li>
<li>Fax : <span>
(02) 2345 6789</span></li>
</ul>
</div>
</div>
<div class="divider-dotted"></div>
<div class="officeAddress">
<h3 class="titleComponent">
Australia
<a target="_blank" href="javascript:;">view map</a>
</h3>
<div class="officeAddressContentWrapper">
<span class="address">
A Lorem ipsum Street 123x</span>
<ul class="phoneAndFax">
<li>Phone : <span>
(03) 2345 6789
</span></li>
<li>Fax : <span>
(03) 2345 6789</span></li>
</ul>
</div>
</div>
</div><!-- address wrapper -->
</div><!-- content right -->
</div>
</div><!-- content -->
<div id="footer">
<div class="footerWrapper">
<div class="officeAddress">
<div class="item" id="indonesia">
<h5>
Indonesia:
<span>
<a target="_blank" href="javascript:;">google map</a>
</span>
</h5>
A Nerd Street 06/12pm
<span class="spPhone">Phone : (01) 1234 5678</span>
<span class="spPhone">Fax : (01) 1234 5678</span>
</div>
<div class="item" id="singapore">
<h5>
Singapore:
<span>
<a target="_blank" href="javascript:;">google map</a>
</span>
</h5>
A Geek Street 06/12 pm
<span class="spPhone">Phone : (02) 1234 5678</span>
<span class="spPhone">Fax : (02) 1234 5678</span>
</div>
<div class="item" id="australia">
<h5>
Australia
<span>
<a target="_blank" href="javascript:;">google map</a>
</span>
</h5>
Lorem ipsum Street 123x
<span class="spPhone">Phone : (03) 1234 5678</span>
<span class="spPhone">Fax : (03) 1234 5678</span>
</div>
</div>
<div class="divider-dotted"></div>
<div class="footer-menu">
<div id="privacyContainer">
<ul>
<li>
<a href="#" id="privacy">Privacy Policy</a></li>
<li>
<a href="#" id="sitemap">Site Map</a></li>
</ul>
<span class="copyRight">©Copyright 2013 jQuery Page Walkthrough. All Rights Reserved.</span>
</div>
</div>
</div>
</div><!-- footer -->
</div><!-- container -->
<!-- walkthrough -->
<div id="walkthrough">
<div id="type-modal" style="display:none;">
<p class="tooltipTitle">Walkthrough Type Modal</p>
<p>Each step has numerous configuration options to fine-tune its position and appearance. This step demonstrates the "modal" option which doesn't highlight any part of the page.system for designing interactive, multimedia, educational walkthroughs.</p>
<br>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="type-tooltip" style="display:none;">
<p class="tooltipTitle">Walkthrough Type Tooltip & Highlighting Area</p>
<p>Walkthough can highlight any part of the page and link it to content. Since the highlight is based on standard CSS selectors, they will adjust if the page changes.</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="type-tooltip-top" style="display:none;">
<p class="tooltipTitle">Tooltip Top Position</p>
<p>Walkthough is defined as a series of steps, each with custom content. The content can be placed above (like here)...</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="type-tooltip-right" style="display:none;">
<p class="tooltipTitle">Tooltip Right Position</p>
<p>...on the right...</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="type-tooltip-bottom" style="display:none;">
<p class="tooltipTitle">Tooltip Bottom Position</p>
<p>...on the bottom...</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="type-tooltip-left" style="display:none;">
<p class="tooltipTitle">Tooltip Left Position</p>
<p>...or on the left...</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="type-no-highlight" style="display:none;">
<p class="tooltipTitle">Walkthrough Type No Highlight</p>
<p>Walkthrough can be used without highlighting area</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="tooltip-draggable" style="display:none;">
<p class="tooltipTitle">Tooltip Draggable</p>
<p>Walkthrough tooltip draggable...</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="nohighlight-draggable" style="display:none;">
<p class="tooltipTitle">NoHighlight Draggable</p>
<p>Walkthrough no highlight drag and drop...</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="content-rotation" style="display:none;">
<p class="tooltipTitle">Content Rotation</p>
<p>All walkthrough type support Content Rotation Feature</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="highlight-accessable" style="display:none;">
<p class="tooltipTitle">Tooltip Type Accessable Highlight Area</p>
<p>You can set the highlight area to be accessable</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="auto-scroll" style="display:none;">
<p class="tooltipTitle">Auto Scroll</p>
<p>Auto scrolling page to the walkthrough step, this step will show you autoScroll options set FALSE which means it will not autoscroll for this step</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="stay-focus" style="display:none;">
<p class="tooltipTitle">Stay Focus to The Walkthrough</p>
<p>Walkthrough has option to force user stay focus on the walkthrough step, try to scroll down on this step</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="done-walkthrough" style="display:none;">
<p class="tooltipTitle">DONE...!!!</p>
<p>Woohoo...It's Done!, Now please click 'close' button at top right corner to close this walkthrough</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
</div>
</div>
<!-- callback -->
<div id="callbacks">
<div id="callback-beforeshow-aftershow" style="display:none;">
<p class="tooltipTitle">onBeforeShow & onAfterShow </p>
<p>This callback will be executed only on before show & on after show the first step</p>
<br>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="callback-restart" style="display:none;">
<p class="tooltipTitle">onRestart</p>
<p>This callback will be executed when walkthrough is restarted</p>
<br>
<a href="javascript:;" class="restart-step" style="float:left;">Restart</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="callback-onleave" style="display:none;">
<p class="tooltipTitle">onLeave</p>
<p>This callback will be executed on LEAVE this step </p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="callback-onenter" style="display:none;">
<p class="tooltipTitle">onEnter</p>
<p>This callback will be executed on ENTER this step </p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="callback-onclose" style="display:none;">
<p class="tooltipTitle">onClose</p>
<p>This callback will be executed on walkthrough close. Now try to close the walkthrough now..</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="callback-oncookieload" style="display:none;">
<p class="tooltipTitle">onCookieLoad</p>
<p>On Cookie Load means when walkthrough has been closed it will set a cookie and tells the walkthrough to not load automaticly. Try to refresh the page to see onCookieLoad callback</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
</div>
</div>
<!-- methods -->
<div id="methods">
<div id="method-show" style="display:none;">
<p class="tooltipTitle">Method show</p>
<p>This method allows you to open page walkthrough</p>
<p><pre>$.pagewalkthrough('show', target)</pre></p>
<p>Target is your walkthrough ID, i.e: #selector</p>
<br>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="method-next" style="display:none;">
<p class="tooltipTitle">Method Next</p>
<p>This method allows you to go the NEXT step</p>
<p><pre>$.pagewalkthrough('next', event)</pre></p>
<p>Note: event is needed as a param to call next method</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="method-prev" style="display:none;">
<p class="tooltipTitle">Method Prev</p>
<p>This method allows you to go the PREVIOUS step</p>
<p><pre>$.pagewalkthrough('prev', event)</pre></p>
<p>Note: event is needed as a param to call prev method</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="method-restart" style="display:none;">
<p class="tooltipTitle">Method Restart</p>
<p>This method allows you to RESTART walkthrough</p>
<p><pre>$.pagewalkthrough('restart', event)</pre></p>
<p>Note: event is needed as a param to call restart method</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="method-close" style="display:none;">
<p class="tooltipTitle">Method Close</p>
<p>This method allows you to CLOSE walkthrough</p>
<p><pre>$.pagewalkthrough('close', target)</pre></p>
<p>Target is optional. It could be filled with walkthrough ID or leave it blank</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="method-ispagewalkthroughactive" style="display:none;">
<p class="tooltipTitle">Property: isPageWalkthroughActive</p>
<p>This property will return status of page walkthrough</p>
<p><pre>$.pagewalkthrough('isPageWalkthroughActive')</pre></p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="method-currindex" style="display:none;">
<p class="tooltipTitle">Property: currIndex</p>
<p>This property will return current index of current walkthrough step</p>
<p><pre>$.pagewalkthrough('currIndex')</pre></p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="method-getoptions" style="display:none;">
<p class="tooltipTitle">Property: getOptions</p>
<p>This property will return walkthrough options whether it an active walkthrough options or all walkthrough options</p>
<p><pre>$.pagewalkthrough('getOptions', activeWalkthrough)</pre></p>
<p>activeWalkthrough = true / false. By default it is FALSE, if set TRUE it will return current active walkthrough object, if FALSE it will return Array of all walkthrough options
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
</div>
</div>
<!-- example -->
<div id="extra">
<div id="ex-image" style="display:none;">
<p class="tooltipTitle">Image in Step Content</p>
<p>You can add image in step content.</p>
<img src="images/monster-inc.jpg">
<br>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="ex-video" style="display:none;">
<p class="tooltipTitle">Embedding Video</p>
<p>You can embedding video too...</p>
<iframe width="560" height="315" src="http://www.youtube.com/embed/8UVNT4wvIGY" frameborder="0" allowfullscreen></iframe>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="ex-validation" style="display:none;">
<p class="tooltipTitle">Step Validation</p>
<p>jQuery Page Walkthrough also supports powerful options for control-of-flow. For example, this step won't let you proceed unless you fill in a valid phone number (numbers only)</p>
<br>
<a href="javascript:;" class="prev-step" style="float:left;">Prev Step</a>
<a href="javascript:;" class="next-step" style="float:right;">Next Step</a>
</div>
<div id="ex-done" style="display:none;">
<p class="tooltipTitle">Support</p>
<p>For future feature and issue support you can contact me at [email protected]</p>
</div>
</div>
</body>
</html>