launcher








Transport drogowy rzeczy. Blok 1.3



/******************************************************************************/
//
// NOTE TO DEVELOPERS:
// The following code should be integrated with your web page in order to open
// the presentation in a new window. To launch the presentation immediately,
// simply copy the code below into your web page. To launch the presentation
// when a button or link is clicked, call LaunchPresentation when the onClick
// event is triggered.
//
/******************************************************************************/


var Safari = (navigator.appVersion.indexOf("Safari") >= 0);

var g_bChromeless = true;
var g_bResizeable = true;
var g_nContentWidth = 720;
var g_nContentHeight = 540;
var g_strStartPage = "quiz.html";
var g_strBrowserSize = "default";

function LaunchContent()
{
var nWidth = screen.availWidth;
var nHeight = screen.availHeight;

if (nWidth > g_nContentWidth && nHeight > g_nContentHeight && g_strBrowserSize != "fullscreen")
{
nWidth = g_nContentWidth;
nHeight = g_nContentHeight;

if (!Safari && !g_bChromeless)
{
nWidth += 17;
}
}

// Build the options string
var strOptions = "width=" + nWidth +",height=" + nHeight;
if (g_bResizeable)
{
strOptions += ",resizable=yes"
}
else
{
strOptions += ",resizable=no"
}

if (g_bChromeless)
{
strOptions += ", status=0, toolbar=0, location=0, menubar=0, scrollbars=0";
}
else
{
strOptions += ", status=1, toolbar=1, location=1, menubar=1, scrollbars=1";
}

// Launch the URL
if (Safari)
{
var oWnd = window.open("", "_blank", strOptions);
oWnd.location = g_strStartPage;
}
else
{
window.open(g_strStartPage , "_blank", strOptions);
}
}
























Wyszukiwarka

Podobne podstrony:
AviScreen Portable launcher license
key launcher
launch x 431
launch?velopment processm0A61B6
Behaviour of a Working Fluid in an Electrothermal Launcher Chamber
launch date
Instrukcja obsługi Launch Creader V
launch cresetter oil
launch
launch?velopment process?C4847D
launch creader cr hd heavy duty code scanner introduction
x launcher changelog en
launchcontents

więcej podobnych podstron