You are viewing a post by umarsandi. View all 637 posts in [quote]RULES: [li]Eveyone must know the General Forum [url=http://theftalk.com/misc.php?action=rules]RULES[/url][/li] [li]must be active[/li] [li]must be friendly[/li] [li]spamming or flamming .
[/i]
aku menggunakan html . . .
pertama buat dulu file html nya . . .
kasih judul apa aja ***.html
masukkan ini
[spoiler]<html>
<title>Random Ayat</title>
<body>
<TABLE BORDER=3 CELLSPACING=3 CELLPADDING=3 WIDTH=100% COLOR="BLUE">
<TR HEIGHT=100>
<td><script type="text/javascript" src="http://www.mahesajenar.com/scripts/ayat.js?t=10"></script></td>
</tr>
</table>
</body>
</html>[/spoiler]
nah kemudian buat fungsi add boxnya
[spoiler]/*Random Ayat*/
addBox("RIGHT","<a href=\"#\" onClick=\"show_hide('content_ayat1'); return false\"><div align='center'>Random Ayat</div></a>",ayat,"ayat1",null);[/spoiler]
[i]di sesuaikan dengan add box kalian[/i]
nah kemuadian masukkan code ini di bagian C
[spoiler]/*Random Ayat*/
var ayat = "<iframe id=\"tickermain\" src=\"URL.HTML KAMU\" width=\"100%\" marginwidth=\"0\" marginheight=\"0\" hspace=\"0\" vspace=\"0\" frameborder=\"0\" scrolling=\"no\"></iframe>";
document.getElementById('content_ayat1').style.height='600px';
document.getElementById('content_ayat1').style.overflowY='hidden';
document.getElementById('content_ayat1').innerHTML = "<table width='100%'><tr><td align='center'>"+ayat+"</td></tr></table>";[/spoiler]
yah selesai . . .
gmna sob???
Last edited by umarsandi (2008-08-26 02:59:09)