locked
Concept of Sub-Window (Not a Pop-Up) RRS feed

  • Question

  • User-357433193 posted

    Hi,

    Although googled around for quite some time, didn't find the solution for the same. Any walkthrough or reference or sample for checking out how to have a Sub-Window fixed on the main webpage, like the scroll listing sub-forms?

    I went on coming across only Child Windows examples of pop-up types, as I searched the net. I can have a region on the main page be allotted to a different window, can't I?

    Wednesday, February 28, 2018 10:47 AM

Answers

  • User516094431 posted

    You can use iframe option for this.

    <iframe></iframe>
    $(document).ready(function(){
        $("iframe").attr("src","http://www.asp.net")
    })

    Or you can use below option as well:

    function load_home() {
         document.getElementById("content").innerHTML='<object type="text/html" data="home.html" ></object>';
    }

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, February 28, 2018 11:05 AM

All replies

  • User753101303 posted

    Hi,

    You are trying to have a scrollable div inside a page as shown at http://domedia.org/oveklykken/css-div-scroll.php ?

    Wednesday, February 28, 2018 11:02 AM
  • User516094431 posted

    You can use iframe option for this.

    <iframe></iframe>
    $(document).ready(function(){
        $("iframe").attr("src","http://www.asp.net")
    })

    Or you can use below option as well:

    function load_home() {
         document.getElementById("content").innerHTML='<object type="text/html" data="home.html" ></object>';
    }

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, February 28, 2018 11:05 AM