File:  [mozdev] / bloquezilla / www / index.html
Revision 1.16: download - view: text, annotated - select for diffs - revision graph
Mon Nov 8 03:44:41 2004 UTC (14 years, 5 months ago) by jhonec
Branches: MAIN
CVS tags: HEAD
Pequeno error gramatical.

    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-19-12</b> New How to change the language</li> 
   69: <li><b>2003-14-07</b> Italian Ready</li>
   70: <li><b>2003-05-26</b> English ready</li>
   71: <li><b>2002-12-06</b> New version 0.9b to play online</li>
   72: <li><b>2002-11-07</b> New version 0.2 in CVS</li>
   73: </ul>
   74: </div>
   75: 
   76: </div>
   77: <!-- ***************** INFO/NEWS *************** -->
   78: 
   79: <!-- MAIN CONTENT -->
   80: <img src="images/logo.png" alt="bloquezilla01">
   81: 
   82: <p>Hi to the <strong>Bloquezilla</strong> project.</p>
   83: 
   84: <p>Bloquezilla is a Sliding Blocks clone using XUL, ECMAScript and the Gecko
   85: layout engine</p>
   86: 
   87: <p>Bloquezilla es un clon del juego Sliding Blocks usando XUL, ECMAScript y
   88: Gecko, en pocas palabras usando mozilla</p>
   89: 
   90: <p>
   91: <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
   92: </p>
   93: 
   94: 
   95: <h1 style="color: rgb(255, 0, 0);">I need help - Necesito ayuda</h1>
   96: <p>
   97: Hello all, I want to redesign the images of the game, if you can help
   98: me please contact me.
   99: </p>
  100: <p>
  101: Hola todos, Quiero redise&ntilde;ar las imagenes del juego, si puedes
  102: ayudar por favor contactame.
  103: </p>
  104: <br\>
  105: <p>
  106: Project Owner: <a href="mailto:jhonec@epm.net.co">John Edgar Congote</a>
  107: </p>

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