今天要查看數(shù)據(jù)庫中的時(shí)間,因?yàn)閿?shù)據(jù)庫中的時(shí)間格式保存的是int類型,一時(shí)半會(huì)兒竟然忘記了如何將mysql中的unix時(shí)間戳轉(zhuǎn)換為對(duì)應(yīng)的日期 格式了,百度了下,才找回了遺忘已久的記憶
豬豬,想必你也知道,Android平臺(tái)的終端至少有千種之多,各個(gè)版本的系統(tǒng)都有,再加上2次開發(fā)改造的系統(tǒng),版本確實(shí)不少;而且分辨率也相當(dāng)分散,并不像iphone哪么集中。 因此,想讓
最近一直在研究移動(dòng)手機(jī)網(wǎng)站的開發(fā),發(fā)現(xiàn)做手機(jī)網(wǎng)站沒有想象中的那么難。為什么會(huì)這么說呢?我們試想下:我們連傳統(tǒng)的PC網(wǎng)站都會(huì)做,難道連一個(gè)小小的手機(jī)網(wǎng)站難道都搞不定嗎?
微軟的最新瀏覽器IE8及以下IE版本對(duì)HTML5標(biāo)簽的支持是有限的,我們可以通過在網(wǎng)頁中添加腳本的方式來解決目前IE瀏覽器對(duì)HTML5支持的問題。 讓IE(包括IE6)支持HTML5元素,我們需要在
1 絕對(duì)路徑、相對(duì)路徑和未確定路徑 相對(duì)路徑 相對(duì)路徑指以.開頭的路徑,例如 ./a/a.php (相對(duì)當(dāng)前目錄) ../common.inc.php (相對(duì)上級(jí)目錄), 絕對(duì)路徑 絕對(duì)路徑是以 / 開頭或者windows下的 C:
在開發(fā)的過程中有時(shí)候遇到input標(biāo)簽中的type=radio單選按鈕的時(shí)候,需要對(duì)單選按鈕進(jìn)行垂直居中對(duì)齊的操作,例如:性別的選擇等。 只需要定義字體行高及高度即可實(shí)現(xiàn)。 html代碼如下
HTML 5 meta 標(biāo)簽 所有瀏覽器都支持 meta 標(biāo)簽。 定義和用法 meta 元素可提供有關(guān)頁面的元信息(meta-information),比如針對(duì)搜索引擎和更新頻度的描述和關(guān)鍵詞。 meta 標(biāo)簽位于文檔的頭部,
milon/barcode可生成一維碼、二維碼等多種條碼格式,使用也非常的方便。 項(xiàng)目地...
設(shè)置緩存數(shù)據(jù)js源代碼cache.js,可用于在瀏覽器中利用js緩存數(shù)據(jù),需要的小伙伴...
使用jquery獲取ul中第一層li的index()值,示例代碼如下: HTML代碼: ul id=nav...
網(wǎng)站常會(huì)用到一些下拉菜單,幻燈片,飄浮廣告等。 但經(jīng)常會(huì)發(fā)現(xiàn)。幻燈片會(huì)擋住...
最近一直在研究移動(dòng)手機(jī)網(wǎng)站的開發(fā),發(fā)現(xiàn)做手機(jī)網(wǎng)站沒有想象中的那么難。為什么...
我們在寫一些效果時(shí),經(jīng)常要用到 jquery 獲取當(dāng)前時(shí)間,但是jquery 目前并沒有...
昨天自己的一個(gè)網(wǎng)站需要實(shí)現(xiàn)圖片等比例縮放,但又不能使用js只能用css控制div中...
AD Gallery一個(gè)高度可定制的jQuery畫廊插件