File:  [mozdev] / bloquezilla / www / index.html
Revision 1.12: download - view: text, annotated - select for diffs - revision graph
Tue Oct 14 15:54:52 2003 UTC (15 years, 5 months ago) by jhonec
Branches: MAIN
CVS tags: HEAD
Nueva versi?n de las notas.

    1: <script language="javascript">
    2: <!--
    3: 
    4: function triggerURL(url) {
    5: 
    6:         if (!InstallTrigger.updateEnabled())
    7:           return false; 
    8: 
    9:         else
   10:           InstallTrigger.startSoftwareUpdate(url); 
   11: 
   12: }
   13: 
   14: //-->
   15: </script>
   16: 
   17: 
   18: <!-- MAIN CONTENT -->
   19: <h5 class="page-header">Installation</h5>
   20: <script>
   21: function playGame(url,width,height,title) {
   22: 	// check that we're using mozilla
   23: 	// if not, ask user does he want to proceed anyway
   24: 	if (checkIsMoz() ||
   25: 		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?")
   26: 		) {
   27: 		// set the features of the new window
   28: 		var features = "centerscreen,chrome,close,titlebar";
   29: 		// including width and height if specified
   30: 		if (width && height) {
   31: 			features += ",width=" + width + ",height=" + height;
   32: 		}
   33: 		// set the title if not set
   34: 		if (!title) {
   35: 			title = "Mozilla";
   36: 		}
   37: 		// if nn7, just open the xul window (doesn't work otherwise, for some reason)
   38: 		if (checkIsNN7()) {
   39: 			window.open(url,'game_window',features);
   40: 		} else {
   41: 			// open new blank window 
   42: 			var xulwin = window.open('','game_window',features);
   43: 			// set the window to display some text while the xul page is loading
   44: 			var loadingtext = "Loading...";
   45: 			xulwin.document.write("<html><head><title>" + title + "</title></head><body><br><p align='center'><strong>" + loadingtext + "</strong></p></body></html>");
   46: 			xulwin.document.close();
   47: 			// reload with xul location
   48: 			xulwin.location = url;
   49: 		}
   50: 	}
   51: }
   52: 
   53: function checkIsMoz() {
   54: 	return (navigator.userAgent.indexOf("Gecko") != -1);
   55: }
   56: 
   57: function checkIsNN7() {
   58: 	return (navigator.userAgent.indexOf("Netscape/7") != -1);
   59: }
   60: </script>
   61: 
   62: 
   63: <!-- ***************** INFO/NEWS *************** -->
   64: <div id="infoTabs">
   65: <div class="infoTab" id="whats-new">
   66: <h5 class="infoHeader">What's New</h5>
   67: <ul>
   68: <li><b>2003-14-07</b>Italian Ready</li>
   69: <li><b>2003-05-26</b> English ready</li>
   70: <li><b>2002-12-06</b> New version 0.9b to play online</li>
   71: <li><b>2002-11-07</b> New version 0.2 in CVS</li>
   72: </ul>
   73: </div>
   74: 
   75: </div>
   76: <!-- ***************** INFO/NEWS *************** -->
   77: 
   78: <!-- MAIN CONTENT -->
   79: <img src="images/logo.png" alt="bloquezilla01">
   80: 
   81: <p>Hi to the <strong>Bloquezilla</strong> project.</p>
   82: 
   83: <p>Bloquezilla is a Sliding Blocks clone using XUL, EMACScript and the Gecko
   84: layout engine</p>
   85: 
   86: <p>Bloquezilla es un clon del juego Sliding Blocks usando XUL, EMACScript y
   87: Gecko, en pocas palabras usando mozilla</p>
   88: 
   89: <p>
   90: <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
   91: </p>
   92: 
   93: <?php $author="jhonec@epm.net.co"; $hide_text_control = 0; require(NOTES2); ?>

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