new icons and widgets
This commit is contained in:
1 parent
01af32aa60
commit
193cee2df7
28 files changed
+167
-86
No files matched your search
@@ -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;
|
||||
});
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
@@ -0,0 +1,34 @@
|
||||
<style>
|
||||
#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;
|
||||
}
|
||||
</style>
|
||||
<center>
|
||||
<form id="search">
|
||||
<img src="desktop_widgets/googlesearch/img/google_64.png" style='margin-right:10px;'><br />
|
||||
<input id="googlesearch">
|
||||
<input type="submit" style="display:none;">
|
||||
<br>
|
||||
<span id="eric">Powered by Eric</span>
|
||||
</form>
|
||||
</center>
|
||||
<script>
|
||||
search();
|
||||
</script>
|
||||
@@ -1,8 +1,6 @@
|
||||
function timetable(){
|
||||
var d = new Date();
|
||||
var n = d.getHours();
|
||||
|
||||
|
||||
$('#tt_timetable .tt_time div').each(function(){
|
||||
if($(this).data('tthour') == n ){
|
||||
$(this).parents('tr').addClass('timenow');
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<iframe width="250" height="250" src="http://www.youtube.com/embed/RQieoqCLWDo" frameborder="0" allowfullscreen></iframe>
|
||||
Whitespace-only changes.
Reference in new issue
Block a user