Vorlage:Pprtw twitter: Unterschied zwischen den Versionen

Aus RTW

(use css instead of js api)
(updated according to twitter api changes (old version deprecated))
Zeile 1: Zeile 1:
 
<html>
 
<html>
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js" type="text/javascript"></script>
+
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/pprtw" data-widget-id="347278097818734593">Unsere tweets</a>
<script type="text/javascript">
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
new TWTR.Widget({
 
  version: 2,
 
  type: 'profile',
 
  rpp: 15,
 
  interval: 30000,
 
  width: 209,
 
  height: 250,
 
  theme: {
 
    shell: {
 
      background: '#ffffff',
 
      color: '#4a4a49'
 
    },
 
    tweets: {
 
      background: '#FFFFFF',
 
      color: '#4a4a49',
 
      links: '#7599b7'
 
    }
 
  },
 
  features: {
 
    scrollbar: true,
 
    loop: false,
 
    live: true,
 
    behavior: 'all'
 
  }
 
}).render().setUser('pprtw').start();
 
</script>
 
 
</html>
 
</html>

Version vom 19. Juni 2013, 10:06 Uhr