2010年1月12日 星期二
2009年8月18日 星期二
Google AJAX API
http://code.google.com/intl/zh-TW/apis/ajax/documentation/
標籤:
Google,
IT - Programming
HTML elements and their attributes : SitePoint
HTML : http://reference.sitepoint.com/html
CSS : http://reference.sitepoint.com/css
JavaScript : http://reference.sitepoint.com/javascript
CSS : http://reference.sitepoint.com/css
JavaScript : http://reference.sitepoint.com/javascript
標籤:
IT - Programming
SWFObject
http://code.google.com/p/swfobject/
http://www.adobe.com/devnet/flashplayer/articles/swfobject.html
http://www.adobe.com/devnet/flashplayer/articles/alternative_content.html
Traditional publishing mechanisms for rich media content created for Adobe Flash Player often rely on the twice-cooked method to embed SWF files into HTML pages. One major drawback of this method is that it is based on old-fashioned, vendor-specific markup that doesn't comply with modern web standards and also doesn't allow you to nest fallback content inside of it.
To solve this problem, we created SWFObject 2, which offers multiple standards-friendly methods to embed rich media content into web pages. It supports the use of alternative (substitute) content to display content to people who browse the web without plug-ins, to help search engines index your content, and to point visitors to the Adobe Flash Player download page.
http://www.adobe.com/devnet/flashplayer/articles/swfobject.html
http://www.adobe.com/devnet/flashplayer/articles/alternative_content.html
Traditional publishing mechanisms for rich media content created for Adobe Flash Player often rely on the twice-cooked method to embed SWF files into HTML pages. One major drawback of this method is that it is based on old-fashioned, vendor-specific markup that doesn't comply with modern web standards and also doesn't allow you to nest fallback content inside of it.
To solve this problem, we created SWFObject 2, which offers multiple standards-friendly methods to embed rich media content into web pages. It supports the use of alternative (substitute) content to display content to people who browse the web without plug-ins, to help search engines index your content, and to point visitors to the Adobe Flash Player download page.
標籤:
Flash,
IT - Programming
2009年8月8日 星期六
Perl : To compare two files and print differences between them
#!/usr/bin/perl -W
open F1, "< FileA.txt";
open F2, "< FileB.txt";
my %hash1;
my %hash2;
while () { $hash1{$_} = 1; }
while () { $hash2{$_} = 1; }
print "words are in FileA but not in FileB are:\n";
foreach (keys %hash1) { print if !defined($hash2{$_}); }
print "words are in FileB but not in FileA are:\n";
foreach (keys %hash2) { print if !defined($hash1{$_}); }
close F1;
close F2;
open F1, "< FileA.txt";
open F2, "< FileB.txt";
my %hash1;
my %hash2;
while (
while (
print "words are in FileA but not in FileB are:\n";
foreach (keys %hash1) { print if !defined($hash2{$_}); }
print "words are in FileB but not in FileA are:\n";
foreach (keys %hash2) { print if !defined($hash1{$_}); }
close F1;
close F2;
標籤:
IT - Programming
2009年7月12日 星期日
CSS Validation
W3C: Markup Validation Service
http://validator.w3.org/
Favelet:
http://tantek.com/favelets/
Firefox Plugin (Web Developer Extension):
http://chrispederick.com/work/web-developer/
CSS Optimizer:
http://www.cssoptimiser.com/
The Definitive Post on Gzipping your CSS:
http://www.fiftyfoureleven.com/weblog/web-development/css/the-definitive-css-gzip-method
http://validator.w3.org/
Favelet:
http://tantek.com/favelets/
Firefox Plugin (Web Developer Extension):
http://chrispederick.com/work/web-developer/
CSS Optimizer:
http://www.cssoptimiser.com/
The Definitive Post on Gzipping your CSS:
http://www.fiftyfoureleven.com/weblog/web-development/css/the-definitive-css-gzip-method
標籤:
IT - Programming
訂閱:
文章 (Atom)