-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpagebuilder.js
More file actions
41 lines (40 loc) · 1.3 KB
/
pagebuilder.js
File metadata and controls
41 lines (40 loc) · 1.3 KB
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
/**
* Created by msyk on 2014/02/11.
*/
window.onload = function() {
$.ajax({
url: (typeof relativePath != 'undefined' ? relativePath : "") + "page_navi.html",
type: 'get',
dataType: 'html',
success: function (data, status) {
if (status != 'success')return;
$('#navigation').html(data);
}
});
$.ajax({
url: (typeof relativePath != 'undefined' ? relativePath : "") + "news.html",
type: 'get',
dataType: 'html',
success: function (data, status) {
if (status != 'success')return;
$('#latestnews').html(data);
}
});
$.ajax({
url: (typeof relativePath != 'undefined' ? relativePath : "") + "page_header.html",
type: 'get',
dataType: 'html',
success: function (data, status) {
if (status != 'success')return;
$('#page_header').html(data);
document.getElementById("updatedate").innerHTML =
new Date(Date.parse(htmlDocumentModDate)).toLocaleDateString();
}
});
if(typeof pageSideOnload === 'function') {
pageSideOnload();
}
}
function showDemoVideo() {
var win = window.open("../demo2.html", null, "width=800,height=630,toolbar=no,location=no,directories=no,status=no");
}