RSS The Strange Zen Of JavaScript
哪吒推荐该订阅
原站:http://jszen.blogspot.com/
指数:
点击立即订阅,“The Strange Zen Of Ja...”的内容有更新,哪吒第一时间提醒您
“The Strange Zen Of JavaScript”的内容更新
累计:35 篇(自 2007-08-17 起)
更新:约8篇/年,最后更新365 天前
The Strange Zen Of JavaScript
i was wondering why in the world we still have to terminate script elements with </script> tags in 2011, fer pete's sake.i.e. why does this work:<script src="foo.js"></script>but this:<script src="foo.js" />does not?for years i thought it was just a bad implementation from the ns4 days that nobody bothered to correct. not so! turns ou... (316 天前)
The Strange Zen Of JavaScript
to teach myself a little about html 5 and its built-in support for rich media, i built a proof-of-concept html5 audio player, written entirely in html 5, jquery and css 3. it more or less replaces all the functionality of the flash audio player on my music site.it took a little over two hours starting from nothing. developed it in safari 4.0 and works g... (316 天前)
The Strange Zen Of JavaScript
most of us are familiar with the for..in loop construct:for (var i in object) { /* some iterative action here */}less well-known is the use of "in" as an operator to test if a named property exists on an object:>>> var x = {foo:1, bar:2, baz:'cat'};>>> ('foo' in x)true>>> ('bar' in x)true>>> ('qux' in x)falsethis works on ... (316 天前)
The Strange Zen Of JavaScript
here's one for the books:<!-- [if ie]><p>some ie-specific stuff here</p><![endif] -->this will be ignored by ie. why?because ie doesn't like the whitespace between the comment delimiters and square brackets. here's the correct way:<!--[if ie]><p>some ie-specific stuff here</p><![endif]-->note the difference:<... (316 天前)
The Strange Zen Of JavaScript
the recent buzz over html 5 this week at google i/o could not have come at a better time.it reminds me of another time, back in 2005, when the economy was just starting to recover from the dotcom bust. ajax made the scene (heavily backed by google in the form of suggest and maps) and got people excited about doing cool things on the web again.now the e... (316 天前)
The Strange Zen Of JavaScript
I recently worked on a demo that used tooltip-like "popover" menus that appeared when the mouse pointer hovered over certain page elements. The initial approach was pretty straightforward: find the offsetTop and offsetLeft of the target element, then move the menu to those coordinates.Two challenges:If an item was too close to the left or bottom edge o... (316 天前)
The Strange Zen Of JavaScript
Mine did.I was recently given a pretty large redesign project, and during the planning stages I took the opportunity to add a long-missing DOCTYPE to the site. I chose a nice HTML 4.01 Transitional flavor because there was no way in hell the site was going to resemble anything close to XHTML anytime soon. At the very least, it would 1) get the site out ... (316 天前)
订阅者 ( 1 )
520hacker
kobter
相关订阅源
RSS Ajax Blog

html, javascript and xml coding techniques for web 2.0

标签: ajax javascript

指数 | 7人订阅  

RSS About.com JavaScript: What's Hot Now

These articles that had the largest increase in popularity over the last week

指数 | 1人订阅  

RSS JAVAJavascript-AJava.org

java技术教程 / javascript

指数 | 1人订阅  

我要反馈