Jump to content

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>        
        var wwt;
       function initialize() {
            wwt = wwtlib.WWTControl.initControl("WWTCanvas");
        function wwtReady() {
            wwt.gotoRaDecZoom(286.485, -27.5231666666667, 60, false);


        <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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

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.