ginebra2/chrome/localpages/startpage.html
author hgs
Tue, 29 Jun 2010 00:46:29 -0400
changeset 3 0954f5dd2cd0
parent 0 1450b09d0cfd
child 16 3c88a81ff781
permissions -rw-r--r--
201026
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     1
<html>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     2
  <head>
3
hgs
parents: 0
diff changeset
     3
	  <title>Welcome Page</title>
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     4
	  <meta name = "viewport" content = "width = device-width, height = device-height, initial-scale = 1.0, user-scalable = no">
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     5
	  <link rel="stylesheet" type="text/css" href="startpage.css"/>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     6
  </head>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     7
  <script type="text/javascript">
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     8
  	function pressed (num) {
3
hgs
parents: 0
diff changeset
     9
		butt1 = document.getElementById('relnote_button');
hgs
parents: 0
diff changeset
    10
		butt2 = document.getElementById('survey_button');
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    11
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    12
		switch (num)
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    13
		{
3
hgs
parents: 0
diff changeset
    14
			case 1: 
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    15
				butt1.setAttribute('class', 'button_p');
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    16
				break;
3
hgs
parents: 0
diff changeset
    17
			case 2: 
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    18
				butt2.setAttribute('class', 'button_p');
3
hgs
parents: 0
diff changeset
    19
				alert ("No Survey Link");
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    20
				break;
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    21
			case 9: // reset on refocus
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    22
				butt1.setAttribute('class', 'button');
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    23
				butt2.setAttribute('class', 'button');
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    24
				break;
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    25
		}
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    26
	}
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    27
  
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    28
  </script>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    29
  <body onFocus="pressed(9)" >
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    30
  <img id="bgimage" src="grad_tall.jpg" />
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    31
  <div id="content">
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    32
    <div id="row1_logos">
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    33
	    <img id="nokia_logo" src="nokia_logo.png" />
3
hgs
parents: 0
diff changeset
    34
	    <img id="browser_logo" src="bedrock.png" />
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    35
        <div id="browser_version">
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    36
            <div id="release_version">
3
hgs
parents: 0
diff changeset
    37
	            <script type="text/javascript">
hgs
parents: 0
diff changeset
    38
	                var UAString = navigator.userAgent;
hgs
parents: 0
diff changeset
    39
	                var brNameVer = "unknown";
hgs
parents: 0
diff changeset
    40
	                var UALen = 1;
hgs
parents: 0
diff changeset
    41
	                var nameStart = 1;
hgs
parents: 0
diff changeset
    42
	        
hgs
parents: 0
diff changeset
    43
					// options for Welcome Page browser version information
hgs
parents: 0
diff changeset
    44
		            //document.write("ALPHA <span id='roman_num'>III</span>");
hgs
parents: 0
diff changeset
    45
		            //document.write("BETA");
hgs
parents: 0
diff changeset
    46
		            document.write("TRUNK BUILD");
hgs
parents: 0
diff changeset
    47
hgs
parents: 0
diff changeset
    48
					// Get, parse, display UA String
hgs
parents: 0
diff changeset
    49
	                UALen = UAString.length;
hgs
parents: 0
diff changeset
    50
	                // NOTE: if UA String changes browser name to 
hgs
parents: 0
diff changeset
    51
	                // something else we'll need to change the following line!
hgs
parents: 0
diff changeset
    52
	                nameStart = UAString.indexOf("NokiaBrowser");
hgs
parents: 0
diff changeset
    53
	                // test to see if "NokiaBrowser" is in the UA String at all
hgs
parents: 0
diff changeset
    54
	                if (nameStart < 0)
hgs
parents: 0
diff changeset
    55
						brNameVer = "UA = <br/>" + UAString;
hgs
parents: 0
diff changeset
    56
	                else
hgs
parents: 0
diff changeset
    57
	                {
hgs
parents: 0
diff changeset
    58
	                    // crop string starting at "NokiaBrowser"
hgs
parents: 0
diff changeset
    59
	                    brNameVer = UAString.substring(nameStart, UALen);
hgs
parents: 0
diff changeset
    60
	                    // limit substring to "NokiaBrowser" and version only
hgs
parents: 0
diff changeset
    61
	                    brNameVer = brNameVer.substr(0, brNameVer.indexOf(" "));
hgs
parents: 0
diff changeset
    62
	                    // clean up string for presentation
hgs
parents: 0
diff changeset
    63
	                    brNameVer = brNameVer.replace("/", " v");
hgs
parents: 0
diff changeset
    64
	                }
hgs
parents: 0
diff changeset
    65
					// comment OUT next two lines to remove build info...
hgs
parents: 0
diff changeset
    66
					document.write(" - ");
hgs
parents: 0
diff changeset
    67
	                document.write(brNameVer);
hgs
parents: 0
diff changeset
    68
					document.write("<br/>");
hgs
parents: 0
diff changeset
    69
	            </script>
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    70
            </div>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    71
        </div>
3
hgs
parents: 0
diff changeset
    72
		<div id="jerry_sez">
hgs
parents: 0
diff changeset
    73
			<img src="button4.png" onMouseDown="pressed(25)"></img>
hgs
parents: 0
diff changeset
    74
		</div>
hgs
parents: 0
diff changeset
    75
		<div id="buttons">
hgs
parents: 0
diff changeset
    76
        	<a href="relnotes.html" onMouseDown="pressed(1)"><img id="relnote_button" class="button" src="button_rel_notes.png" /></a>
hgs
parents: 0
diff changeset
    77
        	<a href="startpage.html" onMouseDown="pressed(2)"><img id="survey_button" class="button" src="button_survey.png" /></a>
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    78
        </div>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    79
		<div id="bottom_pad">
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    80
		</div>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    81
    </div>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    82
</body>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    83
</html>
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    84