Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    216
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question How to make working iFrame?

    How to make working iFrame?
    I enclose files.
    Attached Files Attached Files

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    Hi. Some free advice:

    1. Five words is very rarely enough of a description of the problem for anyone to suggest a useful solution.

    2. Forcing people to download a zip file containing unknown files and code will result in fewer replies to your question than simply pasting the actual code into your post so that they can skim through it.

  • #3
    Regular Coder
    Join Date
    May 2006
    Posts
    216
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question

    PHP Code:
    <!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>
      <
    title></title>
    <
    script type="text/javascript" src="javascript/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="javascript/jquery.blockUI.js"></script>
    </head>

    <body>
    <script language="JavaScript" type="text/javascript">
    $(document).ready(function(){

        $daemach.debug = true;

        $('#loadContent').click(function(){

            $.frameReady(function(){
                    $.blockUI();
                    $('<div></div>').addClass('box2').appendTo("body").load("ajaxcontent.cfm",$.unblockUI);
                },"top.iFrame",
                { load: {type:"script",src:"javascript/jquery.blockUI.js",test: "$.blockUI.impl.install"} },
                function(){$(':disabled').removeAttr("disabled");
            });
        });

        $('#blockit').click(function(){
            $.frameReady(function(){$.blockUI(); },"top.iFrame");
        });
        $('#unblockit').click(function(){
            $.frameReady(function(){$.unblockUI(); },"top.iFrame");
        });
     });
    </script>

    </body>

    </html>

    and JS as quoted in ZIP 

  • #4
    Regular Coder
    Join Date
    May 2006
    Posts
    216
    Thanks
    4
    Thanked 0 Times in 0 Posts
    I try to add iframe:
    <iframe id="searchframe1">

    <div id="searchrec1">
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.

    </div>

    </iframe>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •