Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script language="JavaScript">
- <!--
- function calcHeight()
- {
- //find the height of the internal page
- var the_height=
- document.getElementById('the_iframe').contentWindow.
- document.body.scrollHeight;
- //change the height of the iframe
- document.getElementById('the_iframe').height=
- the_height;
- }
- //-->
- </script>
- <iframe width="100%" id="the_iframe"
- onLoad="calcHeight();"
- src="your page here"
- scrolling="NO"
- frameborder="0"
- height="1">
- An iframe capable browser is
- required to view this web site.
- </iframe><script src="http://www.example.com/machform/js/jquery/jquery-core.js"></script>
- <div id="frame_marker" style="display: none"></div>
- <script>
- function display_machform(url, callback) {
- $("#frame_marker").after('<iframe height="1" id="my_iframe"
- allowTransparency="true" frameborder="0"
- scrolling="no" style="width:100%;border:none"
- src="" title="form">machform</iframe>');
- $('#my_iframe').attr('src', url);
- $('#my_iframe').load(function()
- {
- callback(this);
- });
- }
- $(function(){
- display_machform('http://www.example.com/machform/embed.php?id=3',function(){
- var height = $("#my_iframe").contents().find("body").height();
- $("#my_iframe").attr("height",height);
- });
- });
- </script
- https://chaturbate.com/sexyivana91/?force=1&join_overlay=1&campaign=zM6MR&disable_sound=0&tour=dT8X&room=jimgreenobigcock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement