fix clock and theme

This commit is contained in:
Karl Hudgell 2015-07-03 10:39:35 +01:00
parent 8d0a00d775
commit 4e0035b998
6 changed files with 33 additions and 29 deletions

View File

@ -1,3 +1,7 @@
<html>
<head>
</head>
<table width='275' border='0' cellspacing='0' cellpadding='1'>
<tr BGCOLOR='#0066FF'>
<th style='text-align: left;'><font color='white'>Time</font></th>
@ -37,4 +41,9 @@ setInterval(GetClock,1000);
</td>
</table>
</p>
</body>
</html>

View File

@ -1,11 +1,6 @@
<html>
<head>
<script type="text/javascript">
window.onload=function(){
var formref=document.getElementById("switchform")
indicateSelected(formref.switchcontrol)
}
</script>
</head>
</p>
<!-- start feedwind code --><script type="text/javascript">document.write('\x3Cscript type="text/javascript" src="' + ('https:' == document.location.protocol ? 'https://' : 'http://') + 'feed.mikle.com/js/rssmikle.js">\x3C/script>');</script><script type="text/javascript">(function() {var params = {rssmikle_url: "http://kknowledge.tk/rss.php?mode=recent",rssmikle_frame_width: "275",rssmikle_frame_height: "400",frame_height_by_article: "5",rssmikle_target: "_blank",rssmikle_font: "Arial, Helvetica, sans-serif",rssmikle_font_size: "12",rssmikle_border: "off",responsive: "off",rssmikle_css_url: "",text_align: "left",text_align2: "left",corner: "off",scrollbar: "on",autoscroll: "on",scrolldirection: "up",scrollstep: "3",mcspeed: "20",sort: "Off",rssmikle_title: "on",rssmikle_title_sentence: "KKnowledge Articles",rssmikle_title_link: "http://kknowledge.tk",rssmikle_title_bgcolor: "#0066FF",rssmikle_title_color: "#FFFFFF",rssmikle_title_bgimage: "",rssmikle_item_bgcolor: "#FFFFFF",rssmikle_item_bgimage: "",rssmikle_item_title_length: "55",rssmikle_item_title_color: "#0066FF",rssmikle_item_border_bottom: "on",rssmikle_item_description: "on",item_link: "off",rssmikle_item_description_length: "150",rssmikle_item_description_color: "#666666",rssmikle_item_date: "gl1",rssmikle_timezone: "Etc/GMT",datetime_format: "%b %e, %Y %l:%M:%S %p",item_description_style: "text+tn",item_thumbnail: "full",item_thumbnail_selection: "auto",article_num: "15",rssmikle_item_podcast: "off",keyword_inc: "",keyword_exc: ""};feedwind_show_widget_iframe(params);})();</script><!-- end feedwind code -->

View File

@ -13,7 +13,6 @@ var formref=document.getElementById("switchform")
indicateSelected(formref.switchcontrol)
}
</script>
<!--This script should appear below your LINK stylesheet tags -->
<script src="styleswitch.js" type="text/javascript">

View File

@ -7,7 +7,12 @@
<link rel="alternate stylesheet" type="text/css" media="screen" title="black" href="css/black.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="white" href="css/white.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="blue" href="css/blue.css" />
<script type="text/javascript">
window.onload=function(){
var formref=document.getElementById("switchform")
indicateSelected(formref.switchcontrol)
}
</script>
<!--This script should appear below your LINK stylesheet tags -->
<script src="styleswitch.js" type="text/javascript">
@ -19,12 +24,7 @@
***********************************************/
</script>
<script type="text/javascript">
window.onload=function(){
var formref=document.getElementById("switchform")
indicateSelected(formref.switchcontrol)
}
</script>
</head>
<html>

View File

@ -6,7 +6,12 @@
<link rel="alternate stylesheet" type="text/css" media="screen" title="black" href="css/black.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="white" href="css/white.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="blue" href="css/blue.css" />
<script type="text/javascript">
window.onload=function(){
var formref=document.getElementById("switchform")
indicateSelected(formref.switchcontrol)
}
</script>
<!--This script should appear below your LINK stylesheet tags -->
<script src="styleswitch.js" type="text/javascript">
@ -18,12 +23,7 @@
***********************************************/
</script>
<script type="text/javascript">
window.onload=function(){
var formref=document.getElementById("switchform")
indicateSelected(formref.switchcontrol)
}
</script>
</head>
<body>

View File

@ -41,14 +41,14 @@ require "feeds.php";
<th style='text-align: left;'><font color='white'>Theme</font></th>
</tr>
<tr>
<td>
<form id="switchform">
<select name="switchcontrol" size="1" onChange="chooseStyle(this.options[this.selectedIndex].value, 60); parent.left.location.reload(); parent.main.location.reload() ">
<option value="white">White Theme</option>
<option value="black">Black Theme</option>
<option value="blue">Blue Theme</option>
</select>
</form>
<td BGCOLOR='#FFFFFF'>
<a href="javascript:chooseStyle('white', 60)" onclick="parent.left.location.reload(); parent.main.location.reload()" checked="checked">White</a>
</td>
<td BGCOLOR='#FFFFFF'>
<a href="javascript:chooseStyle('black', 60)" onclick="parent.left.location.reload(); parent.main.location.reload()" >Black</a>
</td>
<td BGCOLOR='#FFFFFF'>
<a href="javascript:chooseStyle('blue', 60)" onclick="parent.left.location.reload(); parent.main.location.reload()" >Blue</a>
</td>
</table>
</div>
@ -57,3 +57,4 @@ require "feeds.php";
</html>