Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Split one HTML page to display different views on multiple screens

I have two screens say Screen 1 and Screen 2 and a HTML page with JavaScript/JQuery.
What I want to do is that split the HTML into two views. One on Screen 1 and the other on Screen 2.
Screen 1 has a simple view ( e.g a cinema screen for customers to view ) and Screen 2 has all the controls ( e.g visible to the person on the other end ). Any possible solution?

like image 738
Anakooter Avatar asked Nov 16 '25 15:11

Anakooter


1 Answers

  • Best solution would be to have 2 different pages, after all it's a system and not a page.
  • But, since you want a workaround, use Bootstrap (it's responsive, so should easily adapt to a 2 screen display).

add Bootstrap to HTML <head>:

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">

to HTML <body>:

<div class="wrapper-fluid">
  <div class="container-fluid">
    <div class="row">
      <div id="screen1" class="col-md-6">
        <!-- PAGE 1 HERE -->
      </div>
      <div id="screen2" class="col-md-6">
        <!-- PAGE 2 HERE -->
      </div>
    </div>
  </div>
</div>

and to CSS:

#screen1 {
  background-color: blue;
  height: 900px;
}
#screen2 {
  background-color: green;
  height: 900px;
}
like image 184
warkentien2 Avatar answered Nov 19 '25 04:11

warkentien2



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!