Desktop Widgtes updates..
This commit is contained in:
1 parent
28337c6b5b
commit
f68fe22cba
33 files changed
+217
-146
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
#search{border-radius: 5px; margin:10px;margin-top:25px;}
|
||||
input {
|
||||
border:none;
|
||||
-webkit-border-radius:5px;
|
||||
-moz-border-radius:5px;
|
||||
border-radius:5px;
|
||||
-webkit-box-shadow:0 0 5px #666 inset;
|
||||
-moz-box-shadow:0 0 5px #666 inset;
|
||||
box-shadow:0 0 5px #666 inset;
|
||||
height:15px;
|
||||
line-height:25px;
|
||||
width:200px;
|
||||
text-indent:5px;
|
||||
}
|
||||
#eric {
|
||||
font: 15px Tahoma, Helvetica, Arial, Sans-Serif;
|
||||
text-align: center;
|
||||
color: #222;
|
||||
text-shadow: 0px 1px 1px #555;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
@@ -0,0 +1,10 @@
|
||||
var search = function(){
|
||||
$("#search").submit(function(){
|
||||
var val=$("#googlesearch").val();
|
||||
if(val=="") return false;
|
||||
val.replace(" ", "+");
|
||||
//replace the zh-tw to something
|
||||
window.open("https://www.google.com.tw/#hl="+o.currentLanguage+"&q="+val);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"author" : "Eric",
|
||||
"name" : "Google Search",
|
||||
"shape" : "w2 h1",
|
||||
"version" : "1.0"
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
|
||||
<center>
|
||||
<form id="search">
|
||||
<img src="desktop_widgets/4fa78140c88514014d7c59be/img/google_64.png" style='margin-right:10px;' class="widget_image"><br />
|
||||
<input id="googlesearch">
|
||||
<input type="submit" style="display:none;">
|
||||
<br>
|
||||
<span id="eric">Powered by Eric</span>
|
||||
</form>
|
||||
</center>
|
||||
<script>
|
||||
search();
|
||||
</script>
|
||||
Reference in new issue
Block a user