Jump to content
SennNathan

How to make a script full screen

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";?>

Share this post


Link to post
Share on other sites

I'm sure there is some documentation somewhere for that script you are using that probably has a method to do that.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • 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.