不同时间段显示不同问候
来源:互联网 发布:sql count * group by 编辑:程序博客网 时间:2024/06/11 06:31
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
now = new Date(),hour = now.getHours()
if (hour<06) {document.write("凌晨好!")}
else if (hour<08) {document.write("早上好!")}
else if (hour<12) {document.write("上午好!")}
else if (hour<14) {document.write("中午好!")}
else if (hour<17) {document.write("下午好!")}
else if (hour<22) {document.write("晚上好!")}
else {document.write("夜里好!")}
</SCRIPT>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<SCRIPT language=javascript>now = new Date(),hour = now.getHours()
if (hour<06) {document.write("凌晨好!")}
else if (hour<08) {document.write("早上好!")}
else if (hour<12) {document.write("上午好!")}
else if (hour<14) {document.write("中午好!")}
else if (hour<17) {document.write("下午好!")}
else if (hour<22) {document.write("晚上好!")}
else {document.write("夜里好!")}
</SCRIPT>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- 不同时间段显示不同问候
- 不同时间段值得选择
- 按照上下午或不同时间段显示不同网页背景的js特效
- js控制不同的时间段显示不同的css样式的实例代码
- c#不同时间段、不同费率计算费用
- 上下班的判断(不同季度不同时间段)
- 不同
- 不同
- 悬停显示不同内容
- 不同栏目显示策略
- 显示不同tr
- ASPxNavBar显示不同页
- label显示不同字体
- Button显示不同字体
- ListView显示不同布局
- ListView 显示不同布局
- 不同的显示隐藏
- RecyleView显示格式不同
- 把网页内表格数据另存为文件
- Blurring the Tiers @ JDJ
- Seven Strategies for Surviving Outsourcing @ JDJ
- 表单多项目选择脚本
- Google Puts New Anti-Phishing Measures Into Gmail @ JDJ
- 不同时间段显示不同问候
- Implementing Security For Web Applications @ JDJ
- 查找页面关键字
- The New Era of Business Intelligence @ JDJ
- 常用javascript
- Adding A Middle Tier to Your Java Code Using Jaguar CTS @ JDJ
- Using the CASE Expression in SQL Queries @ JDJ
- 常用javascript函数(二)
- Give the New PIVOT and UNPIVOT Commands in SQL Server 2005 a Whirl