Connexion
One Laptop per Child Logo
Google Search
Google

LabsSphère Catégories
Css (9)
Php (8)
Javascript (11)
Xoops (5)
Divers (1)
Design (10)

Blog : HedgerWow

Keep It Simple, Stupid URL Flux
Dernière mise à jour : 23/11/2009 9:07:41 Mettre à jour

hedgerwang | 2007-11-14T20:35:31+01:00 | 16 lectures

one of my co-workers asked the way to deploy grid-like layout for list-item with nice alignment and visual treatment.Apparently a more flexible design and layout will make this better and old school CSS solution such as “float:left” won’thelp in the case.I had a very simple prototype on :http://www.hedgerwow.com/360/dhtml/css-inline-block-layout.php you may try to adjust the font-size, window-size and see how this fluid layout adjust to your best-view-size and still keeps the UI looks nice and aligned well.BTW, in case you may not notice the very inconvenient truth. Some might think that block Element s such as DIV does not get display:inline-block on Internet Explorer....


hedgerwang | 2007-11-20T03:20:48+01:00 | 7 lectures

Are we really ready for this? http://www.hedgerwow.com/360/dhtml/cs ... ut-multiple-view/demo.php


hedgerwang | 2007-11-22T01:43:45+01:00 | 44 lectures

Let’s fix this and see no more  [BUTTON] tags , [input type=image /] or dirty CSS /HTML / JS for this simple lovely button.http://www.hedgerwow.com/360/dhtml/ui ... nput-replacement/demo.phpBTW, what’s the difference between Link and Button?( one of my interview question for interaction designer)


hedgerwang | 2007-12-06T00:51:15+01:00 | 13 lectures

I did this for my co-worker, though it’s a rarely used function.http://www.hedgerwow.com/360/dhtml/dom-ie7-zoom-detector.html


hedgerwang | 2008-01-02T09:02:20+01:00 | 11 lectures

FBJS really did the right simple thing to put JavaScript into sandbox, and here’s my raw prototype:http://www.hedgerwow.com/360/dhtml/fbjs/demo.php


hedgerwang | 2008-01-18T23:08:07+01:00 | 224 lectures

I tried to do something across browsers like this :const FOO = ‘bar’;(function(){alert( ‘before >> ‘ + FOO  ); //expected -> barFOO = ‘Opera 9.5 sucks’;alert( ‘after >> ‘ +FOO  ); //expected -> bar, but Opera 9.5 will fail me.})();It seems that declaring a constant in IE is a lot easier than other browsers for me.http://www.hedgerwow.com/360/dhtml/js_constant.html


hedgerwang | 2008-03-05T23:37:08+01:00 | 4 lectures

1.download IE8 http://www.microsoft.com/windows/prod ... ie8/readiness/Install.htm2.test this page with IE8http://www.hedgerwow.com/360/bugs/ie8.beta.layout.bug.html


hedgerwang | 2008-03-31T20:53:41+02:00 | 3 lectures

Some folks wrote to me and asked me why I seemed stop posting new stuffs recently.My short answer is that I had been developing JAVA applications for months and not really had much to continue my JS/CSS/HTML exploration.The web is evolving, and I am always interested in “fixing” it.BTW, I will attend the Designer and Developer Summit in Beijing, China in April 26, 2008 as one of the speaker, which I guess it’s a good time for me to show some fun stuffs to broader audience.Hedger.


hedgerwang | 2008-05-06T02:56:38+02:00 | 8 lectures

A void anonymous function http://www.hedgerwow.com/360/dhtml/js ... us-function-patterns.html


hedgerwang | 2008-05-06T10:28:32+02:00 | 4 lectures

Just upload the materials of the topic “Enterprise Ajax in PHP” which I presented in the second developer and designer summit in Beijing, China.Feel free to download and share this with your friends.download power point slide fileview the slide onlinedownload the JS + PHP5 Sample examples and codes


hedgerwang | 2008-10-17T00:53:25+02:00 | 7 lectures

I did not know this trick until I view the HTML source ofa randomly search result from googlehttp://www.hedgerwow.com/360/dhtml/short_doc_type.html


hedgerwang | 2008-05-23T00:16:17+02:00 | 9 lectures

My two cents for this little JavaScript trick.http://www.hedgerwow.com/360/dhtml/js-simple-instantiation.html


hedgerwang | 2008-05-31T02:17:06+02:00 | 11 lectures

My answer which explain why people like to use JavaScript label for inline script unconsciously.http://www.hedgerwow.com/360/dhtml/js_label/


hedgerwang | 2008-06-06T19:57:19+02:00 | 4 lectures

Some languages suggest that using try….finally block statement may help to prevent the memory leak, and this rule apply to JScript in IE, too.http://www.hedgerwow.com/360/dhtml/ie6_memory_leak_fix/


hedgerwang | 2008-06-29T02:42:58+02:00 | 9 lectures

for really long words in HTML, there’s a way to break it.http://www.hedgerwow.com/360/dhtml/css-word-break.html