Skip to content
Snippets Groups Projects
Commit 296b918f authored by ands's avatar ands
Browse files

twitter-refresh gefixt (refreshfunktion existierte bereits)

parent f4614a7f
No related branches found
No related tags found
No related merge requests found
...@@ -4,10 +4,12 @@ ...@@ -4,10 +4,12 @@
font-family: inherit; font-family: inherit;
color:#000000; color:#000000;
} }
.widget_light td, .widget_light div { .widget_light td, .widget_light div {
font-family: inherit; font-family: inherit;
color:#000000; color:#000000;
} }
.widget_light h1 { .widget_light h1 {
margin: 10; margin: 10;
padding: 0; padding: 0;
...@@ -28,6 +30,7 @@ ...@@ -28,6 +30,7 @@
font-size: 0.6em; font-size: 0.6em;
color: #222222; color: #222222;
} }
.widget_light ul { .widget_light ul {
background-color:#95897E; background-color:#95897E;
margin: 10; margin: 10;
...@@ -47,6 +50,7 @@ ...@@ -47,6 +50,7 @@
.widget_light li img { .widget_light li img {
padding: 4; padding: 4;
} }
.widget_light a, .widget_light a:hover, .widget_light a:visited, .widget_light a:active { .widget_light a, .widget_light a:hover, .widget_light a:visited, .widget_light a:active {
text-decoration:none; text-decoration:none;
font-family: inherit; font-family: inherit;
...@@ -54,6 +58,7 @@ ...@@ -54,6 +58,7 @@
font-style: normal; font-style: normal;
color: #333333; color: #333333;
} }
.widget_light img .widget_light img
{ {
float:left; float:left;
......
...@@ -16,23 +16,14 @@ class TwitterWall implements iWidget ...@@ -16,23 +16,14 @@ class TwitterWall implements iWidget
$widgetOutput .= ' $widgetOutput .= '
<script src="widgets/TwitterWall/jquery.tweet.js" type="text/javascript"></script> <script src="widgets/TwitterWall/jquery.tweet.js" type="text/javascript"></script>
<script type="text/javascript"> <script type="text/javascript">
var TwitterMail_everyFive = 5;
function TwitterMail_update () {
if (TwitterMail_everyFive == 5) {
TwitterMail_everyFive = 0;
$(".tweet").tweet({
avatar_size: 48,
count: 5,
loading_text: "loading tweets...",
query: "#warpzone"
});
} else {
TwitterMail_everyFive ++;
}
}
$(document).ready(function(){ $(document).ready(function(){
TwitterMail_update(); $(".tweet").tweet({
addFunctionToMinuteTimer(TwitterMail_update); avatar_size: 48,
count: 6,
loading_text: "loading tweets...",
query: "#warpzone",
refresh_interval: 360
});
}); });
</script>'."\n"; </script>'."\n";
$widgetOutput .= '<div class="tweet"></div>'."\n"; $widgetOutput .= '<div class="tweet"></div>'."\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment