[LINK] Datejs - JavaScript日期库 [英] [LINK] Datejs - A JavaScript Date Library

查看:91
本文介绍了[LINK] Datejs - JavaScript日期库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我真的很喜欢这个。而对于那些欢迎某些东西的人来说,这比那些常驻日期大师提供的东西要小一点,这里有一些机会尝试一些相当优雅且绝对独一无二的东西。

http://www.datejs.com/


-

-Lost

删除多余的单词以通过电子邮件回复。不要给我发电子邮件。我是开玩笑的。不,我不是。

解决方案

12月5日凌晨4:37,-Lost < maventheextrawo ... @ techie.comwrote:


我到目前为止真的很喜欢这个。而对于那些欢迎某些东西的人来说,这比那些常驻日期大师提供的东西要小一点,这里有一些机会尝试一些相当优雅且绝对独一无二的东西。

http://www.datejs.com/



我使用IE6访问它,只需输入demo的文本框就会产生一个

脚本错误。输入一个建议的字符串(去年四月)和

点击输入刚刷新页面。


查看lib本身的代码,我看到很多try / catch

子句,这将导致脚本在旧浏览器中失败。它

也在一些地方使用了Function.call,所以它看起来并不是因为兼容性而写的

。我没看过居民约会大师发布的代码

,但是可能有些含糊不清,我怀疑它是否有这些问题?b $ b它有这些问题。


12月5日晚上10点32分,David Mark< dmark.cins ... @ gmail.comwrote:


12月5日凌晨4:37, - 失去 < maventheextrawo ... @ techie.comwrote:


我到目前为止真的很喜欢这个。而对于那些欢迎某些东西的人来说,这比那些常驻日期大师提供的东西要小一点,这里有一个相当优雅且绝对独特的机会。


http://www.datejs .com /



我使用IE6
访问它



我在Safari和Firefox中尝试过加载页面。

很棒的广告!

-

Rob


On 12月5日上午7:57,RobG< rg ... @ iinet.net.auwrote:


12月5日晚上10点32分,David Mark< ; dmark.cins ... @ gmail.comwrote:


12月5日凌晨4:37,-Lost < maventheextrawo ... @ techie.comwrote:


我到目前为止真的很喜欢这个。而对于那些欢迎某些东西的人来说,这比那些常驻日期大师提供的东西要小一点,这里有一个相当优雅且绝对独特的机会。



> http://www.datejs.com/


我使用IE6访问过它



我在Safari和Firefox中尝试过,没有设法加载页面。

很棒的广告!



他们显然花了他们所有的开发时间在顶部的那张

半页图形上工作。除了主页,其余的

该网站会引发DNS错误。奇怪,因为他们在同一台服务器上。由于

未在Safari和Firefox中加载,这看起来像一个告诉

指标:


<!DOCTYPE HTML PUBLIC " - // W3C // DTD HTML 4.01 // EN"

" http://www.w3.org/TR/html4/strict.dtd">

< html xmlns =" http://www.w3.org/1999/xhtml" dir =" ltr">


完全可以说作者对标记和

脚本同样无能为力。


避免像瘟疫一样。


I''m REALLY liking this so far. And for those who welcome something a
little less cryptic than what the resident date guru offers, here''s a
chance to try something fairly elegant and definitely unique.

http://www.datejs.com/

--
-Lost
Remove the extra words to reply by e-mail. Don''t e-mail me. I am
kidding. No I am not.

解决方案

On Dec 5, 4:37 am, "-Lost" <maventheextrawo...@techie.comwrote:

I''m REALLY liking this so far. And for those who welcome something a
little less cryptic than what the resident date guru offers, here''s a
chance to try something fairly elegant and definitely unique.

http://www.datejs.com/

I visited it using IE6 and just typing in the demo''s textbox threw a
script error. Typing one of the suggested strings (last April) and
hitting enter just refreshed the page.

Looking at the code for the lib itself, I see lots of try/catch
clauses, which will cause the script to fail in older browsers. It
also uses Function.call in places, so it doesn''t appear that it was
written with compatibility in mind. I haven''t looked at the code
posted by the "resident date guru", but cryptic as it may be, I doubt
it has these sorts of issues.


On Dec 5, 10:32 pm, David Mark <dmark.cins...@gmail.comwrote:

On Dec 5, 4:37 am, "-Lost" <maventheextrawo...@techie.comwrote:

I''m REALLY liking this so far. And for those who welcome something a
little less cryptic than what the resident date guru offers, here''s a
chance to try something fairly elegant and definitely unique.

http://www.datejs.com/


I visited it using IE6

I tried in Safari and Firefox, neither managed to load the page.
Great advertisement!
--
Rob


On Dec 5, 7:57 am, RobG <rg...@iinet.net.auwrote:

On Dec 5, 10:32 pm, David Mark <dmark.cins...@gmail.comwrote:

On Dec 5, 4:37 am, "-Lost" <maventheextrawo...@techie.comwrote:

I''m REALLY liking this so far. And for those who welcome something a
little less cryptic than what the resident date guru offers, here''s a
chance to try something fairly elegant and definitely unique.

>http://www.datejs.com/

I visited it using IE6


I tried in Safari and Firefox, neither managed to load the page.
Great advertisement!

They apparently spent all of their development time working on that
half-page graphic at the top. Other than the home page, the rest of
the site throws DNS errors. Odd as they are on the same server. As
for not loading in Safari and Firefox, this looks like a telling
indicator:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">

Suffice to say that the author is equally clueless with markup and
script.

Avoid like the plague.


这篇关于[LINK] Datejs - JavaScript日期库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆