Website: http://violet.vn/thanhha03vl
H2A_Code truyện cười
<iframe id="ifrHTMLFunny" name=ifrHTMLFunny frameborder="0"
width="98%"></iframe>
<script type="text/javascript">
FHeaderColor = '#336666';
FBodyColor = '#000000';
FFontSize = '12px';
function getRandomPosts(json) {
var maxEntries = 1;
var numPosts = json.feed.openSearch$totalResults.$t;
var indexPosts = new Array();
for (var i = 0; i < numPosts; ++i) {
indexPosts[i] = i;
}
indexPosts.sort(function() {return 0.5 - Math.random()});
var entry = json.feed.entry[indexPosts[0]];
var RandomFunny = document.getElementById('ifrHTMLFunny').contentWindow.document; RandomFunny.open();
RandomFunny.write('<html><head></head><body><p class="header" style="font-family: Arial, Tahoma, Verdana;color:' + FHeaderColor + ';font-size: '+ FFontSize +';font-weight: bold;">'+ entry.title.$t + '</p><div align="justify" style="font-family: Arial, Tahoma,
Verdana;color:' + FBodyColor + ';font-size: '+ FFontSize +';font-weight: normal;">' +
entry.content.$t + '</div><p><b>Power by <a
href="http://www.cuoititon.com">www.cuoititon.com</a><b></p></body></html>');
RandomFunny.close();
}
</script>
<script src="http://www.cuoititon.com/feeds/posts/default/-/Truy%E1%BB%87n%20c
%C6%B0%E1%BB%9Di/?alt=json-in-script&callback=getRandomPosts&max-results=999999" type="text/javascript">
</script>
Code Truyện cười:
Xem truyện cười <iframe frameborder="1" width="98%"
src="http://www.luudiachiweb.com/truyencuoi.htm" height="300"></iframe>
Chia sÎ kinh nghiÖm t¹o Website Violet
1
NguyÔn ThÞ Thanh Hµ Email: thanhhha03vl@gmail.com