forked from house9/jquery-iframe-auto-height
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
40 lines (34 loc) · 1.19 KB
/
index2.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
<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>jQuery » iFrame Sizing</title>
<link rel="stylesheet" type="text/css" media="all" href="css/master.css" />
<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/jquery.iframe-auto-height.plugin.js"></script>
</head>
<body>
<div id="container">
<h1>
jQuery » iFrame Sizing
</h1>
<p>
Back to <a href="index.html">index</a>
</p>
<p>
Test Chrome with tall iframes
</p>
<div class="clear"> </div>
<iframe src="iframe_3.html" width="600" scrolling="no" frameborder="0"></iframe>
<div class="clear"> </div>
<div>
A footer
</div>
</div>
<!-- end #container -->
<script type="text/javascript">
// match all iframes / use jQuery or alias $
jQuery('iframe').iframeAutoHeight();
</script>
</body>
</html>