-
Notifications
You must be signed in to change notification settings - Fork 201
/
Copy pathiframe.html
33 lines (27 loc) · 1.04 KB
/
iframe.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title>iframed Webshims Lib tests</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.js"></script>
</head>
<body>
<iframe src="index.html" style="width: 80%; height: 550px;"></iframe>
<script>
if(location.href.indexOf('http://127.0.0.1:8000/webshim/') === 0){
document.write('<iframe src="test-ext\/base-tag-loading.html" style="width: 80%; height: 150px;"><\/iframe>');
}
</script>
<script>
//performance
if(!$.browser.msie || parseInt($.browser.version, 10) > 8){
document.write('<iframe src="jquery\/index.html" style="width: 80%; height: 250px;"><\/iframe>');
document.write('<iframe src="load-test.html?notrycatch=true" style="width: 80%; height: 150px;"><\/iframe>');
} else {
document.write('<p><a href="jquery\/index.html">jQuery tests<\/a><\/p>');
document.write('<p><a href="load-test.html?notrycatch=true">test loading test<\/a><\/p>');
}
</script>
</body>
</html>