File:  [mozdev] / bloquezilla / www / index.html
Revision 1.17: download - view: text, annotated - select for diffs - revision graph
Mon Sep 26 01:19:02 2005 UTC (13 years, 4 months ago) by jhonec
Branches: MAIN
CVS tags: HEAD
Actualizacion de correo y quitando peticion de ayuda.

<script language="javascript">

function triggerURL(url) {

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




<h5 class="page-header">Installation</h5>
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()) {,'game_window',features);
		} else {
			// open new blank window 
			var xulwin ='','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>");
			// reload with xul location
			xulwin.location = url;

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

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

<!-- ***************** INFO/NEWS *************** -->
<div id="infoTabs">
<div class="infoTab" id="whats-new">
<h5 class="infoHeader">What's New</h5>
<li><b>2003-19-12</b> New How to change the language</li> 
<li><b>2003-14-07</b> Italian Ready</li>
<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>

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

<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 and Javascript</p>

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

<a href="javascript:playGame('',530,480,'Bloquezilla');">Click here to play online</a> the <b>last version</b> of the game

Project Owner: <a href="">John Edgar Congote</a>

FreeBSD-CVSweb <>