Pernahkah anda terpikir untuk meletakkan satu ruangan website lain dalam blog anda.? Seperti anda meletakkan website google, yahoo dan pelbagai lagi dalam blog anda. Ini membolehkan pengunjung blog anda melayari web lain tanpa meninggalkan blog anda.:)
<!--CHANGE LINKS BELOW TO YOUR OWN--> <a href="javascript:jumpto('http://www.google.com')">Google</a> | <a href="javascript:jumpto('http://www.yahoo.com')">Yahoo</a> | <script language="javascript"> <!-- //Specify display mode (0 or 1) //0 causes document to be displayed in an inline frame, while 1 in a new browser window var displaymode=0 //if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown var iframecode='<iframe id="external" style="width:99%;height:400px" src="http://www.google.com"></iframe>' /////NO NEED TO EDIT BELOW HERE//////////// if (displaymode==0) document.write(iframecode) function jumpto(inputurl){ if (document.getElementById&&displaymode==0) document.getElementById("external").src=inputurl else if (document.all&&displaymode==0) document.all.external.src=inputurl else{ if (!window.win2||win2.closed) win2=window.open(inputurl) //else if win2 already exists else{ win2.location=inputurl win2.focus() } } } //--> </script>
▼
Powered By Blogger Widgets
0 Responses to “Website Lain Dalam Blog”
Post a Comment