`
hunxiejun
  • 浏览: 1149134 次
文章分类
社区版块
存档分类
最新评论
文章列表
var thisDate = new Date();document.writeln(thisDate.toString());用于显示当前的时间 if ((thisDate.getDate() >= 1 && thisDate.getDate() <=6) && (thisDate.getHours() >= 9 && thisDate.getHours()<= 15))用这样的语句可以使网页在一定的时间里做出if语句里的动作 thisDate.getDay()得到当前是星期几. var Surl = documen ...
sa.js文件 document.write("good day"); ex1.html文件 <html><head></head><body><pre><script language = "javaScript">//this is commentdocument.writeln("hello");var value1 = '100';var value2 = "kill you";var value3 = 342;var value4 ...
在javaSript的注释中的语句只有在支持javaScript的浏览器上才能显现 不支持的浏览器要使用<noscript></noscript> 一旦使用<script language = "javaScript" src = "sa.js">语句块</script>则语句块不能再被使用.调用的 ...
//LRU algorithm//author:chillyCreator//in the page_information, the bigger number means the newer page.//if the number in the page_information is -1, it means no page is in this position. #include<iostream>using namespace std; bool isNotIn(int p_page_num);bool isNotFull(int& position);void ...
Global site tag (gtag.js) - Google Analytics