Quando tento adicionar o código extra para o código original, o chatbox pode não funciona corretamente.
Quando eu remover o código, ele funciona muito bem.
o código que eu queria adicionar foi:
<script>
function changeNavigation1(id)
{document.getElementById('main1').innerHTML=document.getElementById(id).innerHTML}
</script>
<script>
function changeNavigation(id)
{document.getElementById('main2').innerHTML=document.getElementById(id).innerHTML}
</script>
<div id="main1" style="background: transparent">
<img src="http ://img.photobucket.com/albums/v520/teresazhou/ZenedEnter.jpg" onclick="changeNavigation1('main2')" alt="click!" border="0" style="border:none;position: absolute; top: 200; left: 350;">
</div>
<div id="main2" style="display: none;">
e o código original é:
<html>
<head>
<script language="JavaScript" type="text/javascript">
<!
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http ://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// >
</script>
<title>
Bem-vindo à terra de verdura.
</title>
<style type="text/css">
/
THIS NOTICE MUST STAY INTACT FOR LEGAL USE
CSS RELEASED UNDER CREATIVE COMMONS LICENSE
(http ://creativecommons.org/licenses/by-nc-sa/2.5/)
AUTHOR: XAVQIOR
CONTACT: XAVQIOR@GMAIL.COM
© XAVQIOR
/
</style>
<style type="text/css">
body{background:url(http ://i134.photobucket.com/albums/q101/xavqior/Blogskins/GreeneryLandscape.jpg) repeat-x top; background-color:#dfff5b;}
body, td{font:normal 8pt tahoma,arial,verdana; color:#000000; cursor:default; line-height:95%;}
a{font:normal 8pt tahoma,arial,verdana; color:#88870e; text-decoration:none;}
a:hover{text-decoration:none; font-weight:normal; cursor:none; color:#666666;}
.entries, span{font:normal 8pt tahoma,arial,verdana; color:#000000; line-height:none; text-align:left; line-height:100%;}
.date{font:bold 8pt tahoma,arial,verdana; color:#666666; text-align:left; text-transform:uppercase; background:#dfff5b; border-bottom:2px solid #acc640; line-height:95%;}
.navigation{font:bold 8pt tahoma,arial,verdana; color:#666666; text-align:left; text-transform:uppercase; background:#dfff5b; border-bottom:2px solid #acc640; line-height:95%;}
.welcome{font:normal 10pt tahoma,arial,verdana; color:#545454;}
.navigationbox{padding:5px; text-align:center;}
.entrybox{border:none;}
#navbar-iframe{height:0px; visibility:hidden; display:none}
</style>
</head>
<body>
...</body></html></div>