File:  [mozdev] / bloquezilla / www / index.html
Revision 1.8: download - view: text, annotated - select for diffs - revision graph
Mon May 26 17:26:36 2003 UTC (15 years, 8 months ago) by jhonec
Branches: MAIN
CVS tags: HEAD
agregando contador

<script language="javascript">
<!--

function triggerURL(url) {

        if (!InstallTrigger.updateEnabled())
          return false; 

        else
          InstallTrigger.startSoftwareUpdate(url); 

}

//-->
</script>


<!-- MAIN CONTENT -->
<h5 class="page-header">Installation</h5>
<script>
function playGame(url,width,height,title) {
	// check that we're using mozilla
	// if not, ask user does he want to proceed anyway
	if (checkIsMoz() ||
		window.confirm("This software is designed for the mozilla browser. You do not appear to be using mozilla at the moment, do you want to continue anyway?")
		) {
		// set the features of the new window
		var features = "centerscreen,chrome,close,titlebar";
		// including width and height if specified
		if (width && height) {
			features += ",width=" + width + ",height=" + height;
		}
		// set the title if not set
		if (!title) {
			title = "Mozilla";
		}
		// if nn7, just open the xul window (doesn't work otherwise, for some reason)
		if (checkIsNN7()) {
			window.open(url,'game_window',features);
		} else {
			// open new blank window 
			var xulwin = window.open('','game_window',features);
			// set the window to display some text while the xul page is loading
			var loadingtext = "Loading...";
			xulwin.document.write("<html><head><title>" + title + "</title></head><body><br><p align='center'><strong>" + loadingtext + "</strong></p></body></html>");
			xulwin.document.close();
			// reload with xul location
			xulwin.location = url;
		}
	}
}

function checkIsMoz() {
	return (navigator.userAgent.indexOf("Gecko") != -1);
}

function checkIsNN7() {
	return (navigator.userAgent.indexOf("Netscape/7") != -1);
}
</script>


<!-- ***************** INFO/NEWS *************** -->
<div id="infoTabs">
<div class="infoTab" id="whats-new">
<h5 class="infoHeader">What's New</h5>
<ul>
<li><b>2003-05-26</b> English ready</li>
<li><b>2002-12-06</b> New version 0.9b to play online</li>
<li><b>2002-11-07</b> New version 0.2 in CVS</li>
<li><b>2002-11-01</b> Launched the project</li>
</ul>
</div>

</div>
<!-- ***************** INFO/NEWS *************** -->

<!-- MAIN CONTENT -->
<img src="images/logo.png" alt="bloquezilla01">

<p>Hi to the <strong>Bloquezilla</strong> project.</p>

<p>Bloquezilla is a Sliding Blocks clone using XUL, EMACScript and the Gecko
layout engine</p>

<p>Bloquezilla es un clon del juego Sliding Blocks usando XUL, EMACScript y
Gecko, en pocas palabras usando mozilla</p>

<p>
<a href="javascript:playGame('http://bloquezilla.mozdev.org/play/bloquezilla.xul',530,480,'Bloquezilla');">Click here to play online</a> the <b>last version</b> of the game
</p>
<!-- Start of TheCounter.com Code -->
<SCRIPT TYPE="text/javascript" LANGUAGE="javascript">
s="na";c="na";j="na";f=""+escape(document.referrer)
</SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="javascript1.2">
s=screen.width;v=navigator.appName
if (v != "Netscape") {c=screen.colorDepth}
else {c=screen.pixelDepth}
j=navigator.javaEnabled()
</SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="javascript">
function pr(n) {document.write(n,"\n");}
NS2Ch=0
if (navigator.appName == "Netscape" &&
navigator.appVersion.charAt(0) == "2") {NS2Ch=1}
if (NS2Ch == 0) {
r="&size="+s+"&colors="+c+"&referer="+f+"&java="+j+""
pr("<A HREF=\"http://www.TheCounter.com\" TARGET=\"_top\"><IMG"+
" BORDER=0 SRC=\"http://c2.thecounter.com/id=1345649"+r+"\"><\/A>")}
</SCRIPT>
<NOSCRIPT><A HREF="http://www.TheCounter.com" TARGET="_top"><IMG
SRC="http://c2.thecounter.com/id=1345649" ALT="TC" BORDER=0></A>
</NOSCRIPT>
<!-- End of TheCounter.com Code -->

<?php $author="jhonec@epm.net.co"; require(NOTES); ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>