-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmp.html
28 lines (27 loc) · 861 Bytes
/
tmp.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
<!DOCTYPE html>
<html lang="da">
<head>
<title>Ønskeliste</title>
<meta charset="utf-8"/>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#wishlist").load("wishlist.html", function() {
$('a').each(function() {
var a = new RegExp('/' + window.location.host + '/');
if(!a.test(this.href)) {
$(this).click(function(event) {
event.preventDefault();
event.stopPropagation();
window.open(this.href, '_blank');
});
}
});
}); //Include all content from secondary file
});
</script>
</head>
<body>
<div id="wishlist"></div>
</body>
</html>