$('body').scrollTop() is not working in IE and FF, use this instead $(window).scrollTop()
目前分類:未分類文章 (52)
- May 27 Tue 2014 10:04
jQuery
- Apr 08 Tue 2014 10:07
對於台灣的未來很重要的台灣關係法35週年聽證會
- Nov 17 Wed 2010 14:20
「Coldfusion」下載檔案
很單純
不用使用cffile讀取然後寫出
直接用下面的語法
<cfheader name="Content-disposition" value="attachment;filename=test.jpg">
- Jul 29 Wed 2009 13:32
[Coldfusion] 讀取遠端動態產生的XML格式並轉碼
首先因為遠端的XML是代入參數才動態產生的,所以沒辦法直接去抓檔來讀取
使用 cfhttp 這個tag產生一個request呼叫來得到要得到的response也就是XML格式文件
<cfhttp url="URL在這裡"
method="GET"
- Jun 16 Tue 2009 13:51
[網頁] mailto功能在firefox會產生亂碼中文標題的問題
- Nov 18 Tue 2008 22:31
[心得感想] 2008 Java Tech Days - Taipei
今年是第一次參加Sun舉辦的Java Tech Day
因為越早報名可以越優惠
所以老早就用500元的報名費報名好在等了
終於等到了11/17的大日子!
跟公司請了公假去參加盛會
- Oct 07 Tue 2008 11:22
[Mail] insert之前,判斷資料是否存在的寫法
Dear All
分享insert的寫法
這是oracle的喔
- Jan 18 Fri 2008 14:17
Fifteen hindred XBOX harddisks dominos
天下就是有些人會拿到奇怪的東西然後做出莫名其妙的事情...
and
我肯定他有看過日本的電視冠軍
- Jan 14 Mon 2008 22:33
[Movie] My Blueberry Night 我的藍莓夜
抱著忐忑的心和睡著的打算
我們去了今日看王家衛的新作
(先感謝免費票的提供者 拜~)
本來是不認為有任何機會可以看著懂這部電影
畢竟王導的功力巷尾皆知..
- Dec 30 Sun 2007 19:02
[XXX] I Am Legend
之前在書店看到了我是傳奇的小說
因為電影已經看過了
所以也只是翻翻
就從中間稍微看一下
沒想到這一看真是驚訝
- Dec 27 Thu 2007 14:35
[Mixed]
Life is just like a basketball game.
Make your strategy and then play.
『可苦可樂(コブクロ)-蕾(つぼみ) [PV] 3月21日發行。」
- Dec 21 Fri 2007 11:02
[問號]CC?
好像是某種GNU之類的lisence
改天來研究看看..
http://creativecommons.org/licenses/by-nc-nd/2.5/tw/
- Dec 21 Fri 2007 00:46
[Update]監獄兔
1-5
http://tw.youtube.com/watch?v=OQICDrewVLk&feature=related
6-10
http://tw.youtube.com/watch?v=4s011Mnn5BM&feature=related
- Dec 19 Wed 2007 16:43
[ColdFusion] the difference of URL parameters catching between MX and former version
Parameters in the URL are treated differently in the MX version. The older version captures only one value of parameters with the same name, to be precisely, the last one. On the other hand, MX version takes them all into a list. The example URL string like this:
test.cfm?pid=1&pid=2&pid=3
The output result of pid will be like:
- Dec 17 Mon 2007 10:14
[ColdFusion] URL encoding (Chinese characters)
In some cases, we need to pass parameters of Chinese characters via url. ColdFusion provides the URLEncodedFormat tag for the usage of url encoding. Under certain circumstances, it works with Chinese characters passing.
Successfully passing Chinese characters cases are listed below:
1.Passing values via a submitted form.
2.Passing values via a hyperlink, ﹝e.g. result.cfm?jobname=秘書﹞.
- Dec 17 Mon 2007 01:18
[驚悚]掰掰..
今天是狗狗去日本的第四天
這幾天台灣發生很多事情
賽爾提克主場繼續保持不敗、謝馬持續火拼、「我是傳奇」上映中...
裡面最最重大的應該就數我的左腳大拇指的整片指甲跟我說掰掰
真的是整片..超大的
- Dec 10 Mon 2007 12:53
[The Holiday] Square pin and round hole
Everyone needs the courage to step forward, to climb up the stairs in his life, to try something he's never been through before, even to grasp things will eventually go out of control. Amanda had the courage in the end to give her a chance to make the impossible relationship possible, Arthur managed to step onto the stairs both in and in front of him to embrace his glory. They tried themselves and with the power of the writers somehow they all succeeded. Courage is the spirit. Courage is the key. We all need that courage to clear the obstacles lay before us. Try and succeed, go and get.
- Dec 07 Fri 2007 00:03
[拆牌] 好個中正廟大戲
看來今天也許會是今年最精彩的一天
一下班吃完飯洗完澡就要趕快坐下來打開電視看今天的經典大戲
果然刺激無比
開頭先來個碰碰車事件
彭先生撞人還裝無辜
- Dec 06 Thu 2007 10:51
[巧遇] 超年輕人妻國小同學
去運動中心運動一下出來竟然被開了一張停車單
台北市也太會搶錢了吧
七、八點的還在開...
因為上述的台北市惡劣事蹟
逼的我11點多去seven繳停車費
- Dec 04 Tue 2007 10:05
[亞錦賽&螢火蟲之墓] Decision makes difference
最近看了令人心痛的亞錦賽和螢火蟲之墓
也有著很不幸的相似處
『關鍵人物都做了看似正常但卻錯誤的決定』
螢裡面