Einbindung Twitter: Unterschied zwischen den Versionen

Aus KAS-Wiki
Wechseln zu: Navigation, Suche
Zeile 12: Zeile 12:
 
}}
 
}}
  
 +
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
 +
<script>
 +
new TWTR.Widget({
 +
  version: 2,
 +
  type: 'profile',
 +
  rpp: 4,
 +
  interval: 6000,
 +
  width: 250,
 +
  height: 300,
 +
  theme: {
 +
    shell: {
 +
      background: '#333333',
 +
      color: '#ffffff'
 +
    },
 +
    tweets: {
 +
      background: '#000000',
 +
      color: '#ffffff',
 +
      links: '#4aed05'
 +
    }
 +
  },
 +
  features: {
 +
    scrollbar: false,
 +
    loop: false,
 +
    live: false,
 +
    hashtags: true,
 +
    timestamp: true,
 +
    avatars: false,
 +
    behavior: 'all'
 +
  }
 +
}).render().setUser('440_hz').start();
 +
</script>
  
 
[[Widget:Twitter]]
 
[[Widget:Twitter]]
  
 
[[Kategorie:Entwicklungen]]
 
[[Kategorie:Entwicklungen]]

Version vom 27. März 2011, 13:20 Uhr

<widget type="twitter" uid="89912485" count="9" />


<script src="http://widgets.twimg.com/j/2/widget.js"></script> <script> new TWTR.Widget({

 version: 2,
 type: 'profile',
 rpp: 4,
 interval: 6000,
 width: 250,
 height: 300,
 theme: {
   shell: {
     background: '#333333',
     color: '#ffffff'
   },
   tweets: {
     background: '#000000',
     color: '#ffffff',
     links: '#4aed05'
   }
 },
 features: {
   scrollbar: false,
   loop: false,
   live: false,
   hashtags: true,
   timestamp: true,
   avatars: false,
   behavior: 'all'
 }

}).render().setUser('440_hz').start(); </script>

Widget:Twitter