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