Home
Forum
utile
Downland
Editare Gimp
Yahoo detector
Widgets
Crere Meta Tag
Scanare Online
Graffiti Creator
Download music
Diverse
Android
Favicon
Live Wallpaper
Analizare meta tag
Culori HTML
Resurse CS 1.6
Servere CS 1.6
Informati
Diverse informati
TV-Sopcast
Decoratiuni
Chat
Vizitatori
Afla IP
Sustine Blogul!!
Internet
Cauta Torrent
Desene Animate Online
Scoala Discovery
Recomandarea zilei
Documentare
TV-RADIO
Filme Online
Online TV
Multimedia
Transfer-fisiere
Muzica Noua
Editare Poze Online
Flash
HTML Compress
Jocuri
Cuprins
Contact
Se afișează postările cu eticheta
la noroc
.
Afișați toate postările
Se afișează postările cu eticheta
la noroc
.
Afișați toate postările
7 septembrie 2011
Postari la antamplare buton
Numai Bloggerii Google:
<div style="text-align: center;"><br /> <div id="myLuckyPost"></div><script type="text/javascript"> function showLucky(root){ var feed = root.feed; var entries = feed.entry || []; var entry = feed.entry[0]; for (var j = 0; j < entry.link.length; ++j){if (entry.link[j].rel == 'alternate'){window.location = entry.link[j].href;}}} function fetchLuck(luck){ script = document.createElement('script'); script.src = '/feeds/posts/summary?start-index='+luck+'&max-results=1&alt=json-in-script&callback=showLucky'; script.type = 'text/javascript'; document.getElementsByTagName('head')[0].appendChild(script); } function feelingLucky(root){ var feed = root.feed; var total = parseInt(feed.openSearch$totalResults.$t,10); var luckyNumber = Math.floor(Math.random()*total);luckyNumber++; a = document.createElement('a'); a.href = '#random'; a.rel = luckyNumber; a.onclick = function(){fetchLuck(this.rel);}; a.innerHTML = '<img width="48" alt="HIT ME!" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiou1NOd0Yn_Ob2IxSmVoQZLvf0aWbjinIGJboNekAkD5Znp0jUnCUYHsl0QpKQIXFt8Ap-PUEPDNDJtO2Xcy7wezdd_xBjHgBxxrOd0f3FSFat50udHE3pcPQYixzJUk1L0z8Fk14vOZ8/s1600/random_posts_widget%257E1.png" height="48"/>'; document.getElementById('myLuckyPost').appendChild(a); } </script> <script src="/feeds/posts/summary?max-results=0&alt=json-in-script&callback=feelingLucky"></script><br /> </div/a>
HTML>code:
<div style="text-align: center;"><br /> <div id="myLuckyPost"></div><script type="text/javascript"> function showLucky(root){ var feed = root.feed; var entries = feed.entry || []; var entry = feed.entry[0]; for (var j = 0; j < entry.link.length; ++j){if (entry.link[j].rel == 'alternate'){window.location = entry.link[j].href;}}} function fetchLuck(luck){ script = document.createElement('script'); script.src = '/feeds/posts/summary?start-index='+luck+'&max-results=1&alt=json-in-script&callback=showLucky'; script.type = 'text/javascript'; document.getElementsByTagName('head')[0].appendChild(script); } function feelingLucky(root){ var feed = root.feed; var total = parseInt(feed.openSearch$totalResults.$t,10); var luckyNumber = Math.floor(Math.random()*total);luckyNumber++; a = document.createElement('a'); a.href = '#random'; a.rel = luckyNumber; a.onclick = function(){fetchLuck(this.rel);}; a.innerHTML = '<img width="48" alt="HIT ME!" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiou1NOd0Yn_Ob2IxSmVoQZLvf0aWbjinIGJboNekAkD5Znp0jUnCUYHsl0QpKQIXFt8Ap-PUEPDNDJtO2Xcy7wezdd_xBjHgBxxrOd0f3FSFat50udHE3pcPQYixzJUk1L0z8Fk14vOZ8/s1600/random_posts_widget%257E1.png" height="48"/>'; document.getElementById('myLuckyPost').appendChild(a); } </script> <script src="/feeds/posts/summary?max-results=0&alt=json-in-script&callback=feelingLucky"></script><br /> </div>