Contohnya seperti di bawah ini, silahkan klik.
Nah, Agan sudah paham ??
Untuk kodenya sendiri silahkan Agan salin.
<script language="javascript" type="text/javascript">
/* Visit http://ketagihanbaca.blogspot.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End -->
</script>
<center>
<!-- Put the URL inside the link's href="..." section, then carefully -->
<!-- change 'name' to a name for your popup window. The last three -->
<!-- items represent the popup window width, height, and scrollbars. -->
<a href="http://ketagihanbaca.blogspot.com/2012/11/chat.html" onclick="NewWindow(this.href,'name','900','800','yes');return false;">Buka Chat Box</a>
</center>
Selamat mencoba.
wow mantab ni sob
BalasHapusTutorialnya sabgat bermanfaat kawan
BalasHapusterima kasih telah berbagi
selamat malam dan salam sukses
kya nya...perlu di coba nih sob... :)
BalasHapuskya nya...perlu di coba nih sob... :)
BalasHapusMantesps nih, makasih tutorialnya...
BalasHapus