Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: grit/testdata/hover.html

Issue 1442863002: Remove contents of grit's SVN repository. (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk/
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « grit/testdata/homepage.html ('k') | grit/testdata/include_test.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head>
3 <meta http-equiv="content-type" content="text/html; charset=utf-8">
4 <meta http-equiv="cache-control" content="no-cache">
5 <meta http-equiv="pragma" content="no-cache">
6 <meta http-equiv="expires" content="-1">
7 <style>
8 BODY { FONT-SIZE: 8pt; FONT-FAMILY: verdana,arial,san-serif }
9 P { FONT-SIZE: 8pt; FONT-FAMILY: verdana,arial,san-serif }
10 TD { FONT-SIZE: 8pt; FONT-FAMILY: verdana,arial,san-serif }
11 A { FONT-SIZE: 8pt; FONT-FAMILY: verdana,arial,san-serif }
12 DIV { FONT-SIZE: 8pt; TEXT-DECORATION: none }
13 A:hover { COLOR: #ffffff }
14 .border { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0 px }
15 </style>
16
17 <!-- menu experiment start -->
18
19 <style>
20 <!--
21 .menu1 {
22 cursor:default;
23 position:absolute;
24 left: 10;
25 top: 0;
26 text-align: left;
27 font-family: Arial, Helvetica, sans-serif;
28 font-size: 8pt;
29 background-color: menu;
30 visibility: hidden;
31 padding-top: 2px;
32 padding-bottom: 2px;
33 border: 1 solid;
34 border-color: #888888;
35 z-index: 100;
36 }
37 .menuitems {
38 padding-left: 5px;
39 padding-right: 5px;
40 }
41 -->
42 </style>
43 <SCRIPT LANGUAGE="JavaScript1.2">
44 <!--
45 var menustyle = "menu1";
46
47 function showmenu() {
48 // var rightedge = document.body.clientWidth-event.clientX;
49 // var bottomedge = document.body.clientHeight-event.clientY;
50 // if (rightedge < rcmenu.offsetWidth)
51 // rcmenu.style.left = document.body.scrollLeft + event.clientX - rcmenu.offs etWidth;
52 // else
53 // rcmenu.style.left = document.body.scrollLeft + event.clientX;
54 // if (bottomedge < rcmenu.offsetHeight)
55 // rcmenu.style.top = document.body.scrollTop + event.clientY - rcmenu.offse tHeight;
56 // else
57 // rcmenu.style.top = document.body.scrollTop + event.clientY;
58
59 rcmenu.style.visibility = "visible";
60 // rcmenu.style.zindex = 0;
61 // document.all('rcmenu').style.zindex = 20;
62 document.onkeydown=ck;
63 return false;
64 }
65
66 function hidemenu() {
67 rcmenu.style.visibility = "hidden";
68 }
69
70 function ck(e){
71 evt=document.all?window.event:e;
72 k=document.all?window.event.keyCode:e.keyCode;
73
74 if(k==27 /*<Esc>*/) {
75 hidemenu();
76 }
77 }
78
79 function menumouseover() {
80 if (event.srcElement.className == "menuitems") {
81 event.srcElement.style.backgroundColor = "highlight";
82 event.srcElement.style.color = "white";
83 }
84 }
85
86 function menumouseout() {
87 if (event.srcElement.className == "menuitems") {
88 event.srcElement.style.backgroundColor = "";
89 event.srcElement.style.color = "black";
90 window.status = "";
91 }
92 }
93
94 function menuselect() {
95 if (event.srcElement.className == "menuitems") {
96 if (event.srcElement.getAttribute("target") != null)
97 window.open(event.srcElement.url, event.srcElement.getAttribute("target"));
98 else if (event.srcElement.url.length)
99 window.location = event.srcElement.url;
100 }
101 }
102 // -->
103 </script>
104
105 <!-- menu experiment end -->
106
107 </head>
108 <BODY bottomMargin=0 bgColor=#3300cc leftMargin=0 topMargin=0 rightMargin=0 marg inwidth="0" marginheight="0" border=0 style="border-width:0;" scroll=no>
109
110 <!-- <br> -->
111
112 <!-- menu experiment start -->
113
114 <div id="rcmenu" class="skin0" onMouseover="menumouseover()" onMouseout="menumou seout()" onClick="menuselect();">
115 <span class="menuitems" url="[$~SETDISP1~$]">Sidebar</span>
116 <span class="menuitems" url="[$~SETDISP4~$]">Minibar</span>
117 <span class="menuitems" url="[$~HIDE2~$]">Close</span>
118 </div>
119
120 <script language="JavaScript1.2">
121 if (document.all && window.print) {
122 rcmenu.className = menustyle;
123 document.oncontextmenu = showmenu;
124 document.body.onclick = hidemenu;
125 }
126 </script>
127
128 <!-- menu experiment end -->
129
130 <script>
131 function hide() {
132 return 1;
133 // return confirm("Are you sure you want to hide the minibar?\nYou can s how it again in Google Desktop Search Preferences. ");
134 }
135 function clear() {
136 document.getElementById('q').value='';
137 }
138 </script>
139
140 <TABLE cellSpacing=0 cellPadding=0 bgColor=#3300cc border=0><TBODY>
141 <tr><TD vAlign=top>
142
143 <form method=get action="[$~SEARCHURL~$]" [$~SEARCH_TARGET~$] name=f1 ID="f1" on submit="window.setTimeout('clear()', 500)">
144 <input type=hidden name=src value=3>
145 <input type=hidden name=redir value='' ID="redir">
146
147 <TABLE cellSpacing=0 cellPadding=0 bgColor=#3300cc border=0><TBODY>
148
149 <tr>
150 <!-- border-top: #414a4f 0px solid; -->
151 <!-- z-index:2; z-order:2; -->
152 <TD vAlign=top>&nbsp;<INPUT name=q style="position:relative; height=19px;" class =border size=12>&nbsp;</td>
153
154 <TD TABINDEX="2" onkeydown='if(event.keyCode!=16&&event.keyCode!=9)onclick()' on click="f1.submit();q.value=''" class=ch onmouseover="this.bgColor='6666FF'" styl e="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #6666cc 1px solid; BORDER-LEFT: #6666cc 1px solid; BORDER-BOTTOM: #000000 1px solid" onmouseout="this.bgColor='# 000099'" vAlign=center align=middle bgColor=#000099><IMG src="logo.gif" align=mi ddle></td>
155
156 <TD width=2><IMG height=1 width=1></td>
157
158 <TD TABINDEX="3" onkeydown='if(event.keyCode!=16&&event.keyCode!=9)onclick()' on click="redir.value='google'; f1.submit(); redir.value='';q.value=''" class=ch on mouseover="this.bgColor='6666FF'" style="BORDER-RIGHT: #000000 1px solid; BORDER -TOP: #6666cc 1px solid; BORDER-LEFT: #6666cc 1px solid; BORDER-BOTTOM: #000000 1px solid" onmouseout="this.bgColor='#000099'" vAlign=center align=middle bgColo r=#000099><IMG src="gfavicon.ico" align=middle></td></tr>
159 </TBODY></table>
160 </td>
161
162 <TD width=5><IMG height=1 width=1></td>
163
164 <TD vAlign=top>
165
166 <TABLE cellSpacing=0 cellPadding=1 bgColor=#000099><TBODY>
167 <tr><TD TABINDEX="4" onkeydown='if(event.keyCode!=16&&event.keyCode!=9)onclick() ' valign=top onclick="location.href='[$~SETDISP1~$]';" class=ch onmouseover="thi s.bgColor='6666FF'" style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #6666cc 1px solid; BORDER-LEFT: #6666cc 1px solid; BORDER-BOTTOM: #000000 1px solid" onm ouseout="this.bgColor='#000099'" vAlign=top noWrap bgColor=#000099><IMG src="dow n.gif"></td></tr></TBODY></table>
168
169 </td>
170
171 <TD width=1><IMG height=1 width=1></td>
172
173 <TD vAlign=top><TABLE cellSpacing=0 cellPadding=1><TBODY>
174 <tr><TD TABINDEX="5" onkeydown='if(event.keyCode!=16&&event.keyCode!=9)onclick() ' valign=top onclick="if (hide())location.href='[$~HIDE2~$]';" class=ch onmouseo ver="this.bgColor='6666FF'" style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #6666cc 1px solid; BORDER-LEFT: #6666cc 1px solid; BORDER-BOTTOM: #000000 1px so lid" onmouseout="this.bgColor='#000099'" vAlign=top noWrap bgColor=#000099><IMG src="close.gif"></td></tr></TBODY></table></td></tr></TBODY></table>
175
176 </form>
177 </body></html>
OLDNEW
« no previous file with comments | « grit/testdata/homepage.html ('k') | grit/testdata/include_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698