java语言的问题...
程序代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www. xmlns="http://www. http-equiv="Content-Type" content="text/html; charset=gbk" /> <title>我爱你</title> <SCRIPT LANGUAGE="JavaScript"> var message = new Array(); message[0] = "我爱你" var reps = 1; var speed = 200; // Set the overall typing speed (larger number = slower action). var hold = 12 // set the length of time to display the whole phrase before retyping (larger number = longer) var p = message.length; var q = 0; var r = 0; var C = 0; var mC = 0; var s = 0; var sT = null; if (reps < 1) { reps = 1; } function setMessage() { typing = message[mC]; q = typing.length; r = q + hold; typeMessage(); } function typeMessage() { if (s > r) { s = 0; } if (s > q) { document.title = ''+ typing +' - - -'; } else { document.title = ''+ typing.substr(0,s)+' - - -'; } if (C < (r * reps)) { sT = setTimeout("typeMessage()", speed); C++; s++; } else { C = 0; s = 0; mC++; if(mC > p - 1) {mC = 0;} sT = null; setMessage(); } } setMessage(); </script>
这些代码是title那边的
有没有显示在网页的这种代码?