cara membuat syntac Highlighter di boger.
ini scrip nya:
copy scrip di atas , setelah di copy tahap kedua kita tinggal memasukan secrip tadi di antara <head>paste di sini</head>
caranya:
login ke bloganda, setelah masuk backup dulu tempel blog anda, ini untuk jaga jaga apabila terjadi hal yang tidak di inginkan bisa di restor kembali.
setelah di bacup kita masuk ke dasbor>>design>>edit html,
setelah masuk cari kode <head> setelah ketemu tinggal paste scrip tadi.
setelah itu kita tinggal satu tahap lagi yaitu memasukan scrip yang nantiya akan di masukan scrip html
ini scrip nya
astulis disini kode 'HTML' anda
cara memasukanya, masuk ke blog terus bikin postingan pilih html lalu paste scrip di atas
<body> <table width="170" border="0" cellspacing="0" cellpadding="1"> <tr> <td width="168" valign="top" bgcolor="#FFFF99"> <table width="158" border="0" align="center" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td background="gambar/hr01.jpg"><div align="center"><span class="style1"><img src="gambar/Medal-Gold.png" width="22" height="22" align="left" />Produk Terlaris</span></div></td> </tr> <tr> <td><table width="165" border="0" align="center"> <?php $a="select*from produk order by dibeli DESC limit 2"; $b=mysql_query($a); while($c=mysql_fetch_array($b)) { ?> <tr> <td width="150" align="center"><img src="gambar/produk/<?php echo $c['gambar'];?>" width='90' height='90'><br><a href="detail_produk.php?id_produk=<?php echo $c['id_produk'];?>" style="TEXT-DECORATION:NONE"><?php echo $c['nama_produk'];?><br>Rp. <?php echo $c['harga'];?></a><hr></td> </tr> <?php } ?> </table></td> </tr> </table> <!-- mamasukan untuk logibagus--> <table width="158" border="0" align="center" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td background="gambar/hr01.jpg"><div align="center"><span class="style1"><img src="gambar/daftar.jpg" width="22" height="22" align="left" />login barlianno</span></div></td> </tr> <tr> <td> <table width="165" border="0" align="center"> <marquee>lihat data servis </marquee> <tr> <td width="150" align="center"> <a href="http://loginbagus.barliannet.com/">login barlianno</a> </td> </tr> <tr> <td> <center> <!-- jam hitarek.com --> <embed width="150" src="http://www.hitarek.com/clock/clock2.swf?TimeZone=IST&Place=&" height="150" wmode="transparent" type="application/x-shockwave-flash"> </embed></center> <!-- ahir jamhitarek.com --> </td> </tr> </table> </td> </tr> </table> <!-- ahir loginbagus--> <table width="158" border="0" align="center" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td background="gambar/hr01.jpg"><div align="center"><span class="style1"><img src="gambar/Calender.png" width="22" height="22" align="left" />Kalender</span></div></td> </tr> <tr> <td><table width="150" border="0" align="center"> <tr> <td width="120">?php include "kalender.php";?></td> </tr> </table></td> </tr> </table> <br> <table width="158" border="0" align="center" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td background="gambar/hr01.jpg"><div align="center"><span class="style1"><img src="gambar/Globe.png" width="22" height="22" align="left" />Jejaring Sosial </span></div></td> </tr> <tr> <td><table width="170" border="0" align="center"> <tr> <td width="120"><a href="http://www.facebook.com/<?php echo"$fb";?>" target="_blank"><img src="gambar/fb.png" width="154" height="51" border="0" /></a></td> </tr> <tr> <td><a href="http://www.twitter.com/<?php echo"$twitter";?>" target="_blank"><img src="gambar/twit.png" width="155" height="59" border="0" /></a></td> </tr> </table></td> </tr> </table> <!-- link parner awal--> <table width="158" border="0" align="center" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td background="gambar/hr01.jpg"><div align="center"><span class="style1"><img src="gambar/daftar.jpg" width="22" height="22" align="left" />link patner</span></div></td> </tr> <tr> <td> <table width="165" border="0" align="center"> <tr> <ul> <li> <div align="left"><a href="http://www.jagonarental.com">JagonaRental</a></div> </li> <li> <div align="left"><a href="http://www.lamtera.com">Lamtera</a></div> </li> <li> <div align="left"><a href="http://www.sewadpc.com">sewadpc</a></div> </li> <li> <div align="left"><a href="http://www.pabrikbajaringan.com">PabrikBajaRingan</a></div> </li> <li> <div align="left"><a href="http://www.icalanonlen.com">IcalanOnlen</a></div> </li> </ul> </tr> </table> </td> </tr> </table> <!-- link patner ahir--> <!--AWAL GLOBE PISITOR--> <table width="158" border="0" align="center" cellspacing="0" bordercolor="#CCCCCC"> <tr> <td background="gambar/hr01.jpg"><div align="center"><span class="style1"><img src="gambar/Globe.png" width="22" height="22" align="left" />pengunjung</span></div></td> </tr> <tr> <td> <!--AWAL MASUKAN SCRIP GLOBE PISITOR--> <script type="text/javascript" src="http://ja.revolvermaps.com/2/1.js?i=0ex8o7xao27&s=180&m=0&v=false&r=false&b=000000&n=false&c=ff0000" async="async"> </script> <!--AHIR GLOBE PISITOR--> </tr> </table> <!--AHIR MASUKAN SCRIP GLOBE PISITOR--> </td> </td> </tr> </table> </body> </html>
alham dulilah scrip muncul seperti di atas,
tapi jika dilihat scrip nya muncul tapi menghabis kan tempat, agar scrip tadi tidak memakan tempat maka scrip tadi di bikin scrol.
ini scrip nya
contohtulis disini kode 'HTML' anda
|
gb hasil scrip yang di pakai border dan scrol jadi scrip tidak memenuhi area. untuk ukuran lebar dan tinggi kotak bisa dengan merubah height dan width.
sekian dulu yach semoga berguna baik untuk penulis ataw pembaca postingan ini.
kunjungi juga barliannet.com
0 komentar:
Posting Komentar