equal
deleted
inserted
replaced
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
2 |
|
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
4 |
|
5 <head> |
|
6 <link rel="stylesheet" id = "CSSLink" type="text/css" href="../css/chromeStyleBlack.css" /> |
|
7 </head> |
|
8 <script type="text/javascript"> |
|
9 function chromeSelect(){ |
|
10 var p = document.getElementsByName("ChromeSelection"); |
|
11 for(i = 0; i < p.length; i ++){ |
|
12 if(p[i].checked == true){ |
|
13 return p[i].value; |
|
14 } |
|
15 } |
|
16 } |
|
17 |
|
18 function styleSelect() { |
|
19 var p = document.getElementsByName("StyleSelection"); |
|
20 for(i = 0; i < p.length; i ++){ |
|
21 if(p[i].checked == true){ |
|
22 return p[i].value; |
|
23 } |
|
24 } |
|
25 } |
|
26 </script> |
|
27 <body> |
|
28 <h3>Chrome settings</h3> |
|
29 <hr/> |
|
30 Chrome: |
|
31 <br/> |
|
32 Simple |
|
33 <input type ="radio" |
|
34 checked = "checked" |
|
35 name = "ChromeSelection" |
|
36 value="chrome.html"/> |
|
37 |
|
38 <button type="button" class="Button" onclick="window.chrome.updateChrome('chrome/' + chromeSelect());">Update</button> |
|
39 |
|
40 <br/> |
|
41 Veggie |
|
42 <input type ="radio" |
|
43 name = "ChromeSelection" |
|
44 value="veggie-chrome.html"/> |
|
45 <hr/> |
|
46 Style: |
|
47 <br/> |
|
48 Simple |
|
49 <input type ="radio" |
|
50 checked = "checked" |
|
51 name = "StyleSelection" |
|
52 value="chromeStyleFlat.css"/> |
|
53 <button type="button" class="Button" onclick="newStyle('css/' + styleSelect());">Update</button> |
|
54 |
|
55 <br/> |
|
56 Curved |
|
57 <input type ="radio" |
|
58 name = "StyleSelection" |
|
59 value="chromeStyleBlack.css"/> |
|
60 <br/> |
|
61 </body> |
|
62 </html> |
|