-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
109 lines (88 loc) · 4.05 KB
/
index.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" itemscope itemtype="http://schema.org/Article">
<head>
<meta itemprop="name" content="vkTemplate">
<meta itemprop="description" content="Javascript templating plugin">
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
<script src="jquery.1.5.0.js" type="text/javascript"></script>
<script type="text/javascript" src="smartupdater.js"></script>
<script type="text/javascript" src="vktemplate.js"></script>
<script type="text/javascript" src="main.js"></script>
<link rel="stylesheet" type="text/css" href="main.css" media="screen" />
<title>vkTemplate - jQuery template plugin</title>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17957489-12']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<!-- ================= header ======================= -->
<div id="header">
<h1>vkTemplate </h1>
<ul>
| <li onclick="loadTemplate('overview')">Overview</li>
| <li onclick="loadTemplate('doc')">Documentation</li>
| <li><a href="http://vadimkir.blogspot.com/2011/09/vktemplate-jquery-template-plugin.html" target="_blank">Blog</a></li>
| <li ><a href="https://code.google.com/p/vktemplate/downloads/list" title="Download from Google Code" target="_blank">Download</a></li>
| <li ><a href="https://github.com/vkiryukhin/vkTemplate" title="Source on GitHub" target="_blank">GitHub</a></li> |
</ul>
<div style="inline-block;position:relative;top:-41px" ><g:plusone size="small" annotation="none"></g:plusone></div>
</div> <!-- /header -->
<!-- ================= container ======================= -->
<div id="container" >
<!-- ================= left panel ======================= -->
<div id="menu" >
<ul>
<!--li onclick="loadTemplate('test')">test</li-->
<li onclick="loadTemplate('basic')">Basic</li>
<li onclick="loadTemplate('callback')">Callback</li>
<li onclick="loadTemplate('loop')">Loop</li>
<li onclick="loadTemplate('condition')">Conditions</li>
<li onclick="loadTemplate('nested')">Nested</li>
<li onclick="loadTemplate('nested_conditionally')">Conditionally Nested</li>
<li onclick="loadTemplate('csi')">Client Side Include</li>
<li onclick="loadTemplate('embed')">Embedded in HTML</li>
<li onclick="loadTemplate('error_handling')">JSON Eror Handling</li>
<li onclick="loadTemplate('cntx')">Context</li>
<li onclick="loadTemplate('append')">Append Technique</li>
<li onclick="loadTemplate('integration')">Integration</li>
<li onclick="loadTemplate('i18n')" title="Internationalization">Localization (i18n)</li>
<li onclick="loadTemplate('tipstricks')">Tips and Tricks</li>
</ul>
</div> <!-- /menu -->
<!-- ================= right panel ======================= -->
<div id="content">
<div id="leftpanel"></div>
<div id="rightpanel"></div>
</div>
<br clear="both"/>
</div> <!-- /container -->
<!-- ================= footer ======================= -->
<div style="clear:both;"></div>
<br/><hr/>
<div id="footer">© 2010 - 2012 Vadim Kiryukhin </div>
<script id="embed_tmpl" type="text/html">
<style type="text/css">
.basic {border:1px solid orange;margin:1em; padding:0.5em;}
</style>
<div class="basic">
<div class="h5">Embedded.</div>
<div> My name is <%=o.first_name%> <%=o.last_name%>. </div>
<div>Greeting from <%=o.state%>!</div>
</div>
</script>
</body>
</html>