May 2012
3 posts
April 2012
2 posts
March 2012
4 posts
February 2012
3 posts
[note] Javascript closure problem
http://odetocode.com/blogs/scott/archive/2007/07/09/closure-on-javascript-closures.aspx
http://www.yaosansi.com/post/1263.html
[note]Javascript event handling
One wants to register function event in Javascript
use
document.getElementById(“eee”).onclick = functionname;
Be alarmed! There is no parentheses with the registered function!
If you really want to do something with assigned parameter function, use anonymos function instead.
January 2012
2 posts
PHP note
oh god i took 3 times this note and Tumblr just deleted those then!
when browser pops up something like 500 internal error or anything shit make the whole page become blank, check
/var/log/apache2/error_log
if you are on mac and use apache server as development environment.
December 2011
3 posts
oh god oh god oh god
我一定要把這記下來
http://www.zinif.tw/
後來發現那是代購網
這個比較便宜
http://www.stylemina.com/
August 2011
1 post
6 tags
July 2011
12 posts
{idea} Draw it.
Have you ever discussed your thought or concept picture and share it on a forum?
Does it need to be uploaded? What if you want to share the same picture on another forum? Upload it again?
The question is, why do we need to upload them? Why not just draw it and share with an address? Forever the same URI!
So my idea is:
step 1: draw it.
step 2: paste the address and share it on the net!
...
Drop-down menu
http://javascript-array.com/scripts/multi_level_drop_down_menu/?sb
http://javascript-array.com/scripts/simple_drop_down_menu/
align to parent’s right edge by adding:
postion: absolute;
right: 0;
Folded-corner div
http://nicolasgallagher.com/pure-css-folded-corner-effect/
Make a floating login box by using JQuery
http://jquery.com/demo/thickbox/
How to make a talking bubble div
http://www.sitepoint.com/pure-css3-speech-bubbles/
http://nicolasgallagher.com/pure-css-speech-bubbles/
How to remove white spaces between inline-block
applying
font-size: 0px;
to a div parent’s css
problem solved!
also, another feature cannot been unnoticed
http://www.w3.org/TR/css3-text/#white-space-collapse
Unfuntunately, this is not supported yet. :(
{eco}
index of Taiwan economic boom query page
http://www.cepd.gov.tw/
HTML shitty notes
Don’t put <button> in <form>, or mysterious errors will happen :(
台灣盤後零股交易查詢
http://www.twse.com.tw/ch/trading/exchange/TWT53U/genpage/Report201107/A4112011071101.php?chk_date=100/07/11&select2=01
The difference between ID an Name in HTML
describe in short:
ID
for DHTML or Javascript associative.
Name
for server side processing or form element.
sometimes, getting an ID by server side script may get you nothing.
Use get Name instead.
June 2011
16 posts
I'm gonna note the awesome thought
If a site minimize its facilities, user can use keyboard for most speed and convenience instead of grabbing mouse and swing it.
Just like 9gag or BBS on web.
I really think the future Apple product will be iLiquid that user need to sink themselves into this to feel a whole new ultimate technology user experience since Apple wants to provide the best UI… lol
release the fancy power again!
There is no cause for alarm.
{App} Search My Band
I love listen to music, and search bands for more their information.
But there is a little problem — I need to open so many tabs to search for a band’s name! Thus, a small tool is in need, and a thought came to my mind.
My idea is grouping websites into one page, and users only need to search them for once! All the results will appear automatically.
So here is the outline:
Due to...
English is so fancy!
Let’s make a sentence!
thus
I am so handsome. Thus so many beauties love me.
I was told to do things in this way, and I really did thus.
hence
Apple will knock down Microsoft, many years hence.
The cat is so cute, hence she becomes my pet.
clothing note
淺灰色的針織衫看起來好棒,自然又帶有氣質。
偏亮綠的也很美。
想要更多點色彩。
May 2011
5 posts