<?xml version="1.0" encoding="big5"?>
<rss version="2.0">
  <channel>
    <title>中央論壇 - CENTER BBS - 網頁前端(JS)</title>
    <link>https://centerbbs.com/forum.php?mod=forumdisplay&amp;fid=540</link>
    <description>Latest 20 threads of 網頁前端(JS)</description>
    <copyright>Copyright(C) 中央論壇 - CENTER BBS</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 20 May 2026 10:12:37 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://centerbbs.com/static/image/common/logo_88_31.gif</url>
      <title>中央論壇 - CENTER BBS</title>
      <link>https://centerbbs.com/</link>
    </image>
    <item>
      <title>[jQuery] AJAX Cross Domain Request | AJAX跨網域</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=162876</link>
      <description><![CDATA[做個AJAX跨網域可是容易忘記細節的，這就來篇Note，

後端部分，Server Header請開啟(以PHP動態Header為例)：重點是前端的AJAX呀，JQuery為例：xhrFields中withCredentials要開啟，這就是亮點！]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Wed, 09 Mar 2016 07:15:56 +0000</pubDate>
    </item>
    <item>
      <title>[GA] Google analytics - 兩組帳號、多帳號並存 (通用分析)</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=162496</link>
      <description><![CDATA[看以下Code即可：Refer: https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers

Google analytics – 兩組帳號、多帳號並存一網站 (通用分析)]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Tue, 19 Jan 2016 10:40:12 +0000</pubDate>
    </item>
    <item>
      <title>[jQuery] IE Ajax cache - 解決IE瀏覽器Ajax緩存問題</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=162274</link>
      <description><![CDATA[IE...不解釋。

Ajax就它會預設Cache，造成諸多無預期問題！

在jQuery Ajax參數取消即可：]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Fri, 11 Dec 2015 04:05:36 +0000</pubDate>
    </item>
    <item>
      <title>Javascript - if IE偵測 - (全版本IE) Base on User-Agent</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=161639</link>
      <description><![CDATA[恨透了IE嗎? 以下我整理了偵測IE的Javascript，目前最高支援到IE12，原理就是判斷user-agent。Source參考：http://codepen.io/gapcode/pen/vEJNZN]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Fri, 24 Jul 2015 06:31:30 +0000</pubDate>
    </item>
    <item>
      <title>JS Encrypt/Decrypt AES (ECB mode為例) 對PHP成功\加解密範例</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=161432</link>
      <description><![CDATA[首先要先參考Cryptojs，但會雷，故只好自己來。

以下範例為AES ECB-mode：(已測試對PHP加解密，使用MCRYPT_RIJNDAEL_128)注意到官方文件的問題了嗎?]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Mon, 25 May 2015 12:22:16 +0000</pubDate>
    </item>
    <item>
      <title>JQuery Ajax() Example Code - Ajax完整範例</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=161431</link>
      <description><![CDATA[找來找去就是很難一搜就拿到JQuery Ajax好的sample code(官網DOC還是那麼讓人...)NOTE: data欄位可使用String送，後端如PHP則利用 file_get_contents(\&quot;php://input\&quot;); 來接。]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Mon, 25 May 2015 11:58:10 +0000</pubDate>
    </item>
    <item>
      <title>日期時間判斷 - 使用Date物件 - 自動開始結束程式範例</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=155975</link>
      <description><![CDATA[JS的Date基礎可以參考w3schools：http://www.w3schools.com/js/js_dates.asp

這裡我直接給個範例，清楚明白又能直接套用：]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Thu, 04 Dec 2014 03:34:08 +0000</pubDate>
    </item>
    <item>
      <title>Meta 十大項目功\用 | Meta of KeyWords,Description,Author</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=151818</link>
      <description><![CDATA[一、顯示及排列中文說明：
Content-Type==&gt;文件內容格式
;==&gt;CONTENT內要作的每件事\&quot; \&quot;，分別以分號區隔
text/html==&gt;純文字/超文字
charset==&gt;字元組為中文繁體大五碼，如用iso-2022-jp是指日文

[hr]
二、讓搜索引擎容易找到您說明：網頁內文關鍵字，可使用中 ...]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Tue, 08 Jul 2014 02:29:58 +0000</pubDate>
    </item>
    <item>
      <title>連續Input - 信用卡或序號欄位填寫自動跳下一欄位</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=150866</link>
      <description><![CDATA[一般信用卡的UI會用4格Input Text來呈現，要達到填寫信用卡或序號時，只要填滿就會自動跳下一欄位，我們要借助Javascript才有辦法達到此效果。

[hr]
範例一：此範例使用原生JS，轉貼自用Javascript達到信用卡或序號填寫時自動跳下欄位的方法

首頁我們在html 先把 ...]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Mon, 26 May 2014 09:38:09 +0000</pubDate>
    </item>
    <item>
      <title>font-family 字體字型的設定 - 中文字型對照英文</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=149535</link>
      <description><![CDATA[在CSS的設定語法中，有關字體的設定是像下面這樣的語法↓
font-family:\&quot;細明體\&quot;,\&quot;Times New Roman\&quot;,Georgia,Serif;

可以參考http://www.w3schools.com/CSS/pr_font_font-family.asp，這裡的定義與說明。

主要是說，在font-family:後面是一串的字體定義，而它是一 ...]]></description>
      <category>網頁前端(JS)</category>
      <author>郭子錢</author>
      <pubDate>Thu, 03 Apr 2014 03:15:42 +0000</pubDate>
    </item>
    <item>
      <title>網頁自動轉址/導向頁面 - 三種轉址方法教學 (HTML/JS/PHP)</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=149283</link>
      <description><![CDATA[1. HTML 的轉址方法： 

在 HTML 網頁的  中加入以下 HMTL 碼，網頁就會自動轉址。其中 content=\&quot;\&quot;中的 0 是指 0 秒後自動重新整理，並轉址到 \&quot;http://www.centerbbs.com\&quot; 這個 URL。 
[hr]
2. Javascript 的轉址方法： 

在 HTML 網頁中原則上是任一地方加入以下 ...]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Sun, 23 Mar 2014 03:48:23 +0000</pubDate>
    </item>
    <item>
      <title>Random - 亂數範例 | Math.random() / Math.floor()</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=147632</link>
      <description><![CDATA[這篇做簡單的Javascript - Random範例，方便日後查詢使用：

亂數函數：Math.random()

回傳 0 ~ 0.9999999(無窮小數)

【原始】[hr]
【最大值】[hr]
【有最小值】[hr]
【四捨五入】# 不公平：2 涵蓋\ 1.5 ~]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Tue, 21 Jan 2014 11:02:27 +0000</pubDate>
    </item>
    <item>
      <title>Cookie使用函數包 - create/get/delete輕鬆使用JS Cookie</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=147072</link>
      <description><![CDATA[提供一個很好用的Cookie函數包，輕鬆使用Javascript存取Cookie:Example:]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Sat, 04 Jan 2014 17:26:19 +0000</pubDate>
    </item>
    <item>
      <title>JQuery - XML 處理簡單基礎範例 - eq()抓取陣列 物件化處理方式</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=145713</link>
      <description><![CDATA[適用JQuery目前版本，範例以1.10.2為例：有不懂可告知再註解~]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Tue, 26 Nov 2013 09:49:20 +0000</pubDate>
    </item>
    <item>
      <title>取得網址的URL參數和值 (window.location)</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=145321</link>
      <description><![CDATA[最近遇到一個案子需要使用javascript來抓取網址的參數和值來做判斷，但如何利用javascript抓取參數呢? 

原著倒是沒試過，於是就上網查了js相關範例，並改寫成符合自已需求的判斷式，以後需要就可以直接取用囉。

舉例來說www.domain.com/index.php?a=1&amp;b=2&amp;c=3，想 ...]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Thu, 14 Nov 2013 06:52:43 +0000</pubDate>
    </item>
    <item>
      <title>HTML標準驗證文件類型 - !DOCTYPE 宣告方式一覽表 (HTML4/XHTML/HTML5)</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=143816</link>
      <description><![CDATA[HTML 4

HTML 4.01 Strict

(嚴格版) 檔案型別描述，這個標準是嚴格結構化的，使用CSS來做格式化。有時是否存在一個合適的檔案型別描述會影響一個瀏覽器顯示網頁的方式。[hr]
HTML 4.01 Transitional

(過渡版) 檔案型別描述是向嚴格的檔案型別描述過渡的緩衝[hr ...]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Sat, 05 Oct 2013 03:43:30 +0000</pubDate>
    </item>
    <item>
      <title>[插件] Datetime Picker - 時間選取器 (Datetime Selector) 推薦網站與範例</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=143764</link>
      <description><![CDATA[【插件名稱】：Any+Time&#8482; DatePicker/TimePicker AJAX Calendar Widget

【插件網站】：http://www.ama3.com/anytime/

【插件範例】：

(因外部JS不好引用所以僅提供範例圖)]]></description>
      <category>網頁前端(JS)</category>
      <author>死神</author>
      <pubDate>Fri, 04 Oct 2013 06:23:33 +0000</pubDate>
    </item>
    <item>
      <title>JSON 基礎教學與範例 - JSON概念、細節、使用</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=143671</link>
      <description><![CDATA[JSON概念

進入JSON前，請先看「Array宣告」，宣告一個Javascript Array物件，基本上是兩種語法：一個比較正式，一個是比較簡寫，通常Javascript寫久了，會採用第二種方式來宣告Array。

再來看Javascript物件的宣告，基本上也是兩種：一樣，久了也是會選第二種來寫 ...]]></description>
      <category>網頁前端(JS)</category>
      <author>郭子錢</author>
      <pubDate>Tue, 01 Oct 2013 03:55:11 +0000</pubDate>
    </item>
    <item>
      <title>Reset CSS - 重置歸零 - 各瀏覽器網頁排版快速一致化</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=143164</link>
      <description><![CDATA[各自為政的瀏覽器

網頁設計的標準（HTML &amp; CSS）是由 W3C 協會所制定的，然而，各大瀏覽器為了展現自身的強大，都自行加入一些有的沒有的設定，造成咱們網頁設計師在排版的時候，就得依每個瀏覽器的不同，而多花好多時間來調整改寫 CSS 語法。

使用 CSS 最令人頭 ...]]></description>
      <category>網頁前端(JS)</category>
      <author>郭子錢</author>
      <pubDate>Tue, 17 Sep 2013 07:31:53 +0000</pubDate>
    </item>
    <item>
      <title>防止表格被內容撐開 - 固定表格、內容方法 (適用於&lt;table&gt;&lt;div&gt;)</title>
      <link>https://centerbbs.com/forum.php?mod=viewthread&amp;tid=143002</link>
      <description><![CDATA[在我們設計網頁的時候，總會遇到一些不愉快的事情，最常見的莫過於在後台添加內容後才發現顯示的頁面被撐開，導致網頁極度不美觀。以前大家基本上都是設計 表格，網上自然不少對於的解決方法，如今還有div+css標準設計，很少看到相關好的方法，現在把平時找到的防止表格 ...]]></description>
      <category>網頁前端(JS)</category>
      <author>郭子錢</author>
      <pubDate>Fri, 13 Sep 2013 02:38:28 +0000</pubDate>
    </item>
  </channel>
</rss>