Jump to content

How to make a script full screen


SennNathan

Recommended Posts

I want to make my script go full screen like youtube videos do just not sure how to make it happen.

<?php $search_text = htmlspecialchars($_GET["keyword"]);?>
<?php $profile = htmlspecialchars($_GET["profile"]);?>

<?php include_once "header.php";?>
<title>Space Search</title>

    <script src="http://www.worldwidetelescope.org/scripts/wwtsdk.aspx"></script>        
<script>
        var wwt;
       function initialize() {
            wwt = wwtlib.WWTControl.initControl("WWTCanvas");
            wwt.add_ready(wwtReady);
            wwt.endInit();
        }
        function wwtReady() {
            wwt.loadImageCollection("http://www.worldwidetelescope.org/COMPLETE/wwtcomplete.wtml");
            wwt.gotoRaDecZoom(286.485, -27.5231666666667, 60, false);
            wwtControl.settings.set_solarSystemStars(true);
        }
    

</script>
</head>

        <div class="header">
		
	<div class="headerwidth">
           	               
                <div id="searchwrapper">
    				
                    <div id="search">
      
                        <form name="SearchForm" method="get" action="info.php">



<? include_once "menu.php"; ?>


 <body onload="initialize()">
        <div id="WWTCanvas" style="width:1250px; height:540px; margin-left:4%; margin-right:4%; margin-bottom:2.5%; border-style: none; border-width: 0px;"></div>

<?php include_once "footer.php";?>
Link to comment
https://forums.phpfreaks.com/topic/295135-how-to-make-a-script-full-screen/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.