域卡的卜 Vicker’s Blog

Hong Kong Adobe Flash platform (Flex, Flash and AIR) developer
  • rss
  • Home
  • About
  • Resume
  • Flickr
  • Contact

Alternate Style Sheets

Vicker | November 30, 2005 | 4:42 pm

When we designing our web site style, have we think about whether others like our style? I guess it is not possible making a style which suits everyone’s taste. So why not letting the visitor selecting his own style? That is why Alternate Style Sheets become an important function in a web site.The idea of alternate style sheet is that we will first prepare a few different style sheets to be the alternate. And then providing a drop down box within the web page allowing the user to choose the style he / she likes. And the preferences are stored in the cookies, so the next time he / she returns will be browsing in his / her favorites.This method is not simply talking about suiting someone’s taste. It is also raising the accessibility of the web sites which is suggested by W3C. Because we can design styles which have larger fonts for the elderly, or design styles which have simpler color combinations for the people suffering color blindness.Although it increases the workload designing the styles, it worths.Reference:Alternative Style: Working With Alternate Style Sheets. [Online]. Sowden, P. Available: http://www.alistapart.com/stories/alternate

Related posts

  • Web Content Accessibility Guidelines (0)
  • 論壇升級 2.5 (0)
  • The Form Assembly (0)
Comments
No Comments »
Categories
Web Usability
Tags
CSS, W3C
Comments rss Comments rss
Trackback Trackback

Aural Cascading Style Sheets (ACSS)

Vicker | November 23, 2005 | 1:22 am

Cascading Style Sheets (CSS) is widely used when developing a web page. It can be used in both layout and styling. However it is meaningless for the blinds. So are there any styles for the blinds?Aural Cascading Style Sheets (ACSS) is the answer. Actually ACSS is not a new technology. It can be viewed as an add-on to the original CSS. The following are the commands supported by ACSS.voice-familyspeech-ratepitchpitch-rangestressrichnessBy means of these commands, the speech produced by the disables assisting browsers like JAWS that I previously mentioned can be “styled”.For example the following will make the browser reading the text in a woman high pitch voice.Phantom of the Opera. Arrrrrrrrrrrrrrr~~~~References:ACSS: Aural Style Sheets. [Online]. Burns, J. Available: http://www.htmlgoodies.com/beyond/css/article.php/3470211

Related posts

  • Web Content Accessibility Guidelines (0)
  • The Form Assembly (0)
  • Sometimes I hate Flex… Sometimes (0)
Comments
No Comments »
Categories
Web Usability
Tags
ACSS, CSS
Comments rss Comments rss
Trackback Trackback

Cyber Formula Road to Infinity 2

Vicker | November 21, 2005 | 1:21 am

今朝一起身就即刻燒左隻 Cyber Formula 出黎之前第一集唔算得太好玩因為無乜臨場感覺今集的確進步左好多玩起黎好有張力排位變動得好緊要可能因為電腦比較人性化好少見電腦會係同一個圈會有唔同既地方 brake而且電腦識得撞你最攪野係電腦都會出錯自己剷上草地 XDD隧道裡面既車聲做得好似雷神既噴射滑翔都可以自己禁得到不過好亂控制 =.=||隻 game 無左 gallery 比較失色~不過未玩既人真係要記住玩下~~!!

Related posts

  • 愛瑪氏上腦 (0)
  • 6851 peers… 上升中 (0)
Comments
No Comments »
Categories
Daily Life
Tags
Cyber Formula, PS2
Comments rss Comments rss
Trackback Trackback

Good Dog U

Vicker | November 20, 2005 | 1:59 am

前排係 CNXP 見到有一個節目叫 “馴狗有方″ (英驛 Good Dog University)哈~ 一諗起狗仔就諗起老婆會好鍾意結果就一次過 download 埋之前o個 6 集今日同老婆一齊睇原來馴狗都幾係玩的模擬某 d situation 然後讚隻狗再模擬另一 d situation 然後鬧隻狗咁樣就叫做馴狗… =.=||都幾攪野…

Related posts

  • No related posts.
Comments
No Comments »
Categories
Daily Life
Tags
good dog u
Comments rss Comments rss
Trackback Trackback

好暖呀~~ 被裡面 =.=||

Vicker | | 1:56 am

尋日我竟然因為唔知醒所以無上到 Algorithm 既 tutorial…真係呢個 sem 既首次證明左天氣轉冷喇…結果為左避免返到去又 warcraft 我連 lecture 都無上自己係屋企睇 notes 未嘗唔係一件好事夜晚做 challenging question都 ok bor~ 一諗就諗到用 3d array 黎做第一題但第二題最終都係放棄…做 challenging 之前睇左 The Core 地心浩劫外國人對呢套戲評價唔高不過我覺得都唔錯 bor地球唔轉… 都幾大鑊

Related posts

  • 涯病為 5 蚊 (0)
  • 有品… (0)
  • 愛瑪氏上腦 (0)
Comments
No Comments »
Categories
Daily Life
Tags
algorithm, the core, WarCraft
Comments rss Comments rss
Trackback Trackback

有品…

Vicker | November 18, 2005 | 2:11 am

“有品” 呢個 term 係我o係 Warcraft Battlenet 學的所謂 “有品” 就係玩 game 輸左都唔會發脾氣走既人今日係打 Warcraft 日當然都會同 佢 打啦~佢同平時一樣… 或者今日仲嚴重左 tim自己輸又話 click 唔到贏又好串好多野講有時真係攪到自己都火埋呢 d 就係 “無品” 喇~其實自己今晚都好 “無品”因為我 d 脾氣去左我老婆度 ~__~ummm…. 仲需要磨練下自己

Related posts

  • 涯病為 5 蚊 (0)
  • 愛瑪氏上腦 (0)
  • 好暖呀~~ 被裡面 =.=|| (0)
Comments
No Comments »
Categories
Daily Life
Tags
Battlenet, WarCraft
Comments rss Comments rss
Trackback Trackback

On Fire…

Vicker | | 2:06 am

尋晚似乎開始有 d on fire 既感覺通常我每年都會有 d on fire 時間做野會特別快的~尋晚追返 CS OSS Job d 野望住隻 game d 公仔我竟然一下子畫過晒 wor~ 仲要畫得唔錯 tim~~!!睇黎開始發奮喇~~~!!今晚執埋 d 手尾仲算完成左~~兩晚時間咁又幾百蚊~ hehe

Related posts

  • No related posts.
Comments
No Comments »
Categories
Jobs
Tags
OSS
Comments rss Comments rss
Trackback Trackback

Presentation

Vicker | | 2:01 am

尋日好輕鬆咁做左個 Web usalibity presentation講真由中學開始做 presentation 我已經習慣左兩袖清風 :p其實咁樣我反而更加冷靜仲記得以前英文 Oral好似係要睇完一段野之後Repharse 佢然後講出黎既規矩係可以有一張卡紙仔寫下野的但… 我係即時背晒的 =.=|||

Related posts

  • 繼續學會去輸 (0)
Comments
No Comments »
Categories
Daily Life
Tags
presentation, Web Usability
Comments rss Comments rss
Trackback Trackback

6851 peers… 上升中

Vicker | November 16, 2005 | 1:52 am

今日凍左好多又成為左我 hea 既藉口…成日都只係做左 web usability 兩個 blog…聽日唔好咁喇~~~~今日終於出左 Gundam 連合 vs ZAFT當然第一時間 download la~~7 點幾 download 當時有 400 個 peers 左右到依家就黎2點已經有 6893 個 peers… 仲要穩步上升中…BT 真係強….不過聽講無 mission mode咁就實在太失色喇~~6906 peers now… 1 分鐘 difference 都無…..

Related posts

  • 愛瑪氏上腦 (0)
  • Cyber Formula Road to Infinity 2 (0)
Comments
No Comments »
Categories
Daily Life
Tags
bt, gundam, PS2
Comments rss Comments rss
Trackback Trackback

Blog Talk 2 – How to Implement Consistent Framework

Vicker | November 15, 2005 | 11:43 pm

I think all of you have done the redesign assignment already and starting to write the report. When you are redesigning the web, I think most of you may have faced a certain problem in mind that is how to make all the pages consistent? As all the pages will have the same html opening tags, meta tags, linking of the style sheets, header navigation bar and the footer copyright declaration part. If I simply copy and paste it to every page, it is time consuming and not easy to maintain in the future. So I want to introduce a few methods here.—————————————————————1. FramesI think I don’t need to talk too much about frames, it is just a standard HTML tag that is easy to implement. It will divide the screen into areas which each area will load it’s corresponding page.The advantage is that it is server independent, any web hosting services can run it. However there are a bunch of problem using frames to achieve consistency which are shown below.- Browser don’t know what to bookmark- Opening the source will open the frameset but not the page- Search engine will have problem crawling the pages—————————————————————2. Client Side IncludeInclude means that you will insert one page (in here HTML) into another one. For example, you may have a navigation menu which will appear in every page. So you can simply include the navigation menu page into every pages of your web site to achieve consistency. In here client side include means the include process is done on the client side which can be achieved using JavaScript.Here is the JavaScript example:

<script type=”text/javascript”>function print_header (){var elem = document.getElementById (”header_content”);elem.innerHTML = “<table><tr>…….</tr></table>”}</script><span id=”header_content”></span>

The advantage of using client side include is that it is server independent just like frame. Any browser which supports JavaScript will work. However there are a few disadvantages as below.- Destroying HTML structure (if you look at the JavaScript structure, you can see that it is some sort of program and strings instead of standard HTML)- Hard to maintain- Search engine won’t be able to crawl because it is made at client side—————————————————————3. Server Side IncludeIn contrast, server side include is done by some server side scripting. It can be some simple ones like the SHTML or some complicated ones like PHP, ASP or JSP. The pros of server side include is that it can totally eliminate all the disadvantages in the previous methods. However the main disadvantage is that it is server dependent, and it is sad that CityU personal web do not support these.The example of SHTML is illustrated below:=> index.shtml

<!–#include file=”header.html”–><body>……</body><!–#include file=”footer.html”–>

=> header.html

<!DOCTYPEhtml PUBLIC “-//W3C//DTD XHTML 1.1//EN”"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”><html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”zh-tw”>

More resources and tutorialsHow do I include another file inside a HTML file?How do I include one HTML file in another?

Related posts

  • 繼續學會去輸 (0)
  • Web Content Accessibility Guidelines (0)
  • The Form Assembly (0)
Comments
No Comments »
Categories
Web Usability
Tags
frame, HTML, include, PHP
Comments rss Comments rss
Trackback Trackback

« Previous Entries

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Certification


Adobe MAX 2008

Categories

Archives

Tag Cloud

family the core freelance CSS AIR Andy Chun bt flysforum PHP Mac accessibility color selector sitemap MOV JAWS Flex stylesheet Gary Wong webxact frame Experts Exchange good dog u color flash video encoder Munsang College Macromedia PS2 ActionScript FYP OSS blog validation ACSS YouTube exhibition HTML braille MovieClip presentation VideoDisplay Molyx birthday WCAG Misaki Ito OO WYSIWYG gundam Chris Liang WarCraft Adobe MAX XHTML algorithm Densha Otoko job hunting meta business HKICTA CityU WMV John Koch UI Lego Apple Tim Shiu Hacken Lee depth manager textformat XML hyperlink music Battlenet bobby flysbookmark Flex FAQ Flash component Web Usability suck FLABER Yahoo Adobe textfield SEO design pattern Google APICTA include Laszlo web page protoype W3C hea Cyber Formula form Eva Shi flv prototype AdvancedDataGrid Flex Builder form assembly

Flickr

0511_web_usability_asg_a.jpg 0509_battle_system_1_5.jpg 0601_flaber_0_4_7.jpg dojang1.jpg english2.jpg vector_td msc_bio_v3_1.png wanshan.jpg iad2.jpg msc_bio_v2_3.png 467138530_19ab43538e_o 11092007102.jpg 0511_web_usability_asg_b.jpg msc_bio_v1_2.png 469811325_48b2617196_b diarybox1.jpg

Blogroll

  • Eva’s Blog
  • Way’s Blog

RSS FxAIR.org

  • ActionScript for Random Numberic Text Lucky Draw
  • Post in cookbook to win a copy of Flex 3 Pro
  • Adobe Flash Player 10 Release is out
  • Adobe CS4 Launch Seminar
  • Flex 3 + external swf with embedded video
  • Flex & AIR @ BarCamp Hong Kong on 6 Sep.
  • Mojave Experiment by Microsoft
  • FotoViewr beta
  • RIAJobs
  • Cairngorm on opensource.adobe.com
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox