-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwidgetsearch.html
64 lines (63 loc) · 1.2 KB
/
widgetsearch.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
body
{
background:#FFFFFF;
}
#alim_widget
{
background:url(widgets/alimsearch.png) top left no-repeat #FFFFFF;
width:300px;
height:250px;
}
#alim_serachboxdiv
{
padding-top:74px;
padding-left:58px;
}
#alim_serachbuttondiv
{
padding-top:10px;
padding-left:110px;
}
#alim_serachbox
{
background:#C06D00;
border:0px;
outline:0px;
width:183px;
height:25px;
}
#alim_button
{
height:25px;
width:81px;
border:0px;
outline:0px;
background:none;
cursor:pointer;
text-indent:-99999px;
line-height:0px;
}
</style>
<script language="javascript">
function go()
{
var search_box = document.getElementById('alim_serachbox').value;
window.location = "http://alim.org/alimsearch/node/"+search_box;
}
</script>
</head>
<body>
<div id="alim_widget">
<div id="alim_serachboxdiv">
<input name="alim_serachbox" type="text" id="alim_serachbox">
</div>
<div id="alim_serachbuttondiv">
<input name="alim_button" id="alim_button" type="button" onClick="go()" value="Search">
</div>
</div>
</body>
</html>