میتوانید متن را در قسمت Title صفحات خود بصورت فعال به نمایش در آورید.
<html>
<head>
<script language=”javascript”>
function changettl1(){
if(boxtxt.value==”){document.title=’Enter a text in text box , …by Naser’}
else{document.title=boxtxt.value};
setTimeout(“changettl2()”,500)
}
function changettl2(){
document.title=”\r\r\r”
setTimeout(“changettl1()”,300)
}
</script>
</head>
<body onload=”changettl1()”>
<nobr>enter a text for title here :
<input type=”text” id=”boxtxt” size=”20″></nobr>
</body>
</html>
دیدگاه خود را بیان کنید.
باید وارد سایت شده باشید برای دیدگاه دادن