Location: PHPKode > projects > Axis Groupware > musiclib/unused/tunez/fs.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">   
   
<HTML>
<HEAD>
 
  

<TITLE>Tunez Full Screen</TITLE>
<script language="JavaScript">

var agt=navigator.userAgent.toLowerCase();

var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);

var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
            && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
            && (agt.indexOf('webtv')==-1));
var is_nav4 = (is_nav && (is_major == 4));
var is_nav4up = (is_nav && (is_major >= 4));
var is_navonly      = (is_nav && ((agt.indexOf(";nav") != -1) ||
                      (agt.indexOf("; nav") != -1)) );
var is_nav5 = (is_nav && (is_major == 5));
var is_nav5up = (is_nav && (is_major >= 5));

var is_ie   = (agt.indexOf("msie") != -1);
var is_ie3  = (is_ie && (is_major < 4));
var is_ie4  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")==-1) );
var is_ie4up  = (is_ie  && (is_major >= 4));
var is_ie5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) );
var is_ie5up  = (is_ie  && !is_ie3 && !is_ie4);

var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
var is_mac    = (agt.indexOf("mac")!=-1);

function openFullscreen(page) {
        if (is_win) {
                var adjWidth=10;
                var adjHeight=30;
        }
        else if (is_mac) {
                var adjWidth=20;
                var adjHeight=35;
        }

        windowprops = "width=" + (screen.availWidth - adjWidth) + ",height=" + (screen.availHeight - adjHeight) + ",location=no,menubar=no,personalbar=no,resizable=no,screenX=0,screenY=0,locationbar=yes,scrollbars=no,directories=no,statusbar=no,toolbar=no";
        if (is_ie && is_win) {
                dsdwshow = window.open(page, 'dsdwshow', 'fullscreen=yes');
        }
        else {
                dsdwshow = window.open(page, 'dsdwshow', windowprops);
                dsdwshow.moveTo(0,0);
        }
}
openFullscreen("index.php");
</script>
Return current item: Axis Groupware