<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7307148017974385604</id><updated>2012-02-16T02:36:10.887-08:00</updated><category term='Canvas tag applied'/><category term='rotate image'/><category term='kinds of signs'/><category term='mouse cursor'/><category term='date.js'/><title type='text'>upforever</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-5586522643838665698</id><published>2008-11-27T22:46:00.000-08:00</published><updated>2008-11-27T22:47:09.405-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kinds of signs'/><title type='text'>所有特殊符号</title><content type='html'>░ ▒ ▬ ♦ ◊ ◦ ♠ ♣ ▣ ۰•● ❤ ●•۰&lt;br /&gt;► ◄ ▧ ▨ ♨ ◐ ◑ ↔ ↕ ▪ ▫ ☼ ♦ &lt;br /&gt; &lt;br /&gt;♧♡♂♀♠♣♥❤☜☞☎☏⊙◎ ☺☻☼▧▨♨◐◑↔↕▪ ▒ ◊◦▣▤▥ ▦▩◘ ◈◇♬♪♩♭♪の★☆→あぃ￡Ю〓§♤♥▶¤๑⊹⊱⋛⋌⋚⊰⊹&lt;br /&gt;≈ ๑۩۩.. ..۩۩๑ ๑۩۞۩๑ ✲ ❈ ✿ ✲ ❈ ➹ ~.~ ◕‿-｡ ☀☂☁【】┱ ┲ ❣ ✚ ✪ ✣ ✤ ✥ ✦❉ ❥ ❦ ❧ ❃ ❂ ❁ ❀ ✄ ☪ ☣ ☢ ☠ ☭ &lt;br /&gt; &lt;br /&gt;ღღღ ▶ ▷ ◀ ◁ ☀ ☁ ☂ ☃ ☄ ★ ☆ ☇ ☈ ⊙ ☊ ☋ ☌ ☍ⓛⓞⓥⓔ ╬ 『 』∴ ☀ .｡◕‿◕｡ ♫ ♬ ♩ ♭ ♪ ☆ ∷ ﹌ の ★ ◎ ▶☺ ☻ ► ◄ ▧ ▨ ♨ ◐ ◑ ↔ ↕↘ ☼ ▀ ▄ █ ▌░ ▒ ▬ ♦ ◊ &lt;br /&gt;☜ ☞ ▐ ░ ▒▬ ♦ ◊ ◦ ☼ ♪ の ☆→ ♧ ぃ ￡ ❤ ｡◕‿◕｡ ✎ ✟ஐ     &lt;br /&gt;   &lt;br /&gt;♡.1　⊙●○①?◎Θ⊙¤㊣★☆♀◆◇◣◢◥▲▼△▽⊿◤ ◥　　　　&lt;br /&gt;&lt;br /&gt;♡.2　▆ ▇ █ █ ■ ▓ 回 □ 〓≡ ╝╚╔ ╗╬ ═ ╓ ╩ ┠ ┨┯ ┷┏&lt;br /&gt;&lt;br /&gt;♡.3　┓┗ ┛┳⊥『』┌ ┐└ ┘∟「」↑↓→←↘↙♀♂┇┅ ﹉﹊﹍﹎╭&lt;br /&gt;&lt;br /&gt;♡.4　╮╰ ╯ *^_^* ^*^ ^-^ ^_^ ^（^ ∵∴‖｜ ｜︴﹏﹋﹌（）〔〕&lt;br /&gt;&lt;br /&gt;♡.5　【】〖〗＠：！/ " _ &lt; &gt; `,·。≈{}~ ～() _ -『』√ $ @ * &amp; # ※&lt;br /&gt;&lt;br /&gt;♡.6　卐 々∞Ψ ∪∩∈∏ の ℡ ぁ §∮”〃ミ灬ξ№∑⌒ξζω＊ㄨ ≮≯ ＋&lt;br /&gt;&lt;br /&gt;♡.7　－×÷＋－±／＝∫∮∝ ∞ ∧∨ ∑ ∏ ‖∠ ≌ ∽ ≤ ≥ ≈＜＞じ&lt;br /&gt;&lt;br /&gt;♡.8　☆veve↑↓⊙●★☆■♀『』◆◣◥▲Ψ ※◤ ◥ →№←㊣∑⌒〖〗＠&lt;br /&gt;&lt;br /&gt;♡.9　ξζω□∮〓※∴ぷ▂▃▅▆█ ∏卐【】△√ ∩¤々♀♂∞①ㄨ≡↘↙▂&lt;br /&gt;&lt;br /&gt;♡.10　▂ ▃ ▄ ▅ ▆ ▇ █┗┛╰☆╮ ≠ ▂ ▃ ▄ ▅&lt;br /&gt;&lt;br /&gt;♡.1．·°∴ ☆．．·°♡Yesterday ♡．·°&lt;br /&gt;&lt;br /&gt;♡.2　♡KicaZ宝贝o(╥﹏╥)o ♥♡　じ☆ve【 오빠 사랑해요 】*° ^_^.......♧♧&lt;br /&gt;&lt;br /&gt;♡.3　┢┦aΡｐy ♡^_^♡　☜♥☞　☞　☜　ぜ长ヤ乷　｡◕‿◕｡Cool Friends｡◕‿◕｡&lt;br /&gt;&lt;br /&gt;♡.4　【】—一　▄【┻┳═一　▄【┳一　▄【┻═┳一　▄【┳-一&lt;br /&gt;&lt;br /&gt;♡.5　▄【┻═┳　【┳═一　▄【┳一·　▄【┳═一　【┳═一oO&lt;br /&gt;&lt;br /&gt;♡.6　-—═┳【　∝╬══→　::======&gt;&gt;　┈━═☆　┣▇▇▇═— &lt;br /&gt;&lt;br /&gt;♡.7　ゅ≈小鱼≈ゅ　卐　 ♡ゞ、 时差 7 or 8 小时‘ヅ♡ ◈◇&lt;br /&gt;&lt;br /&gt;♡. 8 ...¤¸¸.·´¯`·.¸·.&gt;&gt;--» 洛雨·晴缘«---&lt;&lt;·.¸¸.·´¯`·.¸¸.¤...&lt;br /&gt;&lt;br /&gt;♡. 9 ╬叮咛╬　One fifth...☺☺ &amp;( ^___^ )&amp; 麻花辫女孩&lt;br /&gt;&lt;br /&gt;♡. 10 (？o？) 喔？ (☆＿☆) 眼睛一亮 (*^〔^*) 羞羞脸 &lt;br /&gt;&lt;br /&gt;♡. 11 (作鬼脸) ( 「 「 ) ~~~→ 怀疑喔～～ (‧_‧？) 什麼事啊？ &lt;br /&gt;&lt;br /&gt;♡. 12 (．．) 请问～ (((^^)(^^))) 什麼什麼，告诉我吧！&lt;br /&gt;&lt;br /&gt;♡. 13 ( *^_^* ) 笑(打招呼) ( T___T ) 怎麼会这样… (≥◇≤) 感动～&lt;br /&gt;&lt;br /&gt;♡.14 ……\ ( &gt; &lt; ) / 哇～出现了 ( ⊙ o ⊙ ) 目瞪口呆 &lt;br /&gt;&lt;br /&gt;♡.15 ( ¯ □ ¯ ) 脑中一片空白 ( *&gt;.&lt;* ) ~@ 酸～～！&lt;br /&gt;&lt;br /&gt;♡.16 ( E___E ) 念昏了头 ( $ _ $ ) 见钱眼开！( 3__3 ) 刚睡醒～&lt;br /&gt;&lt;br /&gt;♡.17 (ｂ_ｄ) 戴了副眼镜 (*^＠^*) 乖～还含个奶嘴哦&lt;br /&gt;&lt;br /&gt;♡.18 ( ＠^^＠) 脸红了啦！ o(‧"‧)o (皱眉头) &lt;br /&gt;&lt;br /&gt;♡.19 Chris' Blog™ ♪ ♬ ๑•ิ.•ั๑ ♠ ♣ ✖&lt;br /&gt;&lt;br /&gt;♡.20 ♂ ♀ ♥ ♡ ☜ ☞ ☎ ☏ ⊙ ◎ ☺ ☻► ◄ ▧ ▨ ♨ ◐ ◑ ↔ ↕ ▪ ▫ &lt;br /&gt;&lt;br /&gt;♡.21 ☼ ♦ ▀ ▄ █ ▌ ▐ ░ ▒ ▬ ♦ ◊ ◦ ☼ ♠ ♣ ▣ ▤ ▥&lt;br /&gt;&lt;br /&gt;♡.22 ▦ ▩ ◘ ◙ ◈ ♫ ♬ ♪ ♩ ♭ ♪ の ☆→ あ ぃ ￡ ❤ ｡◕‿◕｡&lt;br /&gt;&lt;br /&gt;♡.ゃōゃ ⊙▂⊙　⊙０⊙　⊙＾⊙　⊙ω⊙　⊙﹏⊙　⊙△⊙　⊙▽⊙ &lt;br /&gt;&lt;br /&gt;♡.◑▂◐　◑０◐　◑＾◐　◑ω◐　◑﹏◐　◑△◐　　◑▽◐ &lt;br /&gt;&lt;br /&gt;♡.∩▂∩　∩０∩　∩＾∩　∩ω∩　∩﹏∩　∩△∩　∩▽∩&lt;br /&gt;&lt;br /&gt;♡.●▂●　　●０●　　●＾●　　●ω●　　●﹏●　　●△● 　●▽● &lt;br /&gt;&lt;br /&gt;♡.∪▂∪　∪０∪　∪＾∪　∪ω∪　∪﹏∪　∪△∪　∪▽∪&lt;br /&gt;&lt;br /&gt;♡. ≥▂≤　≥０≤　≥＾≤　≥ω≤　≥﹏≤　≥△≤　≥▽≤ &lt;br /&gt;&lt;br /&gt;T_T 流眼泪的样子&lt;br /&gt;&lt;br /&gt;　　~~&gt;_&lt;~~ 痛哭，十分伤心&lt;br /&gt;&lt;br /&gt;　　⊙⊙ 睁着眼睛看着你&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;　　^_~ 俏皮地向对方眨眼睛&lt;br /&gt;&lt;br /&gt;　　*o* 陶醉&lt;br /&gt;&lt;br /&gt;　　:p 吐舌头&lt;br /&gt;&lt;br /&gt;　　@_@ 高度近视&lt;br /&gt;&lt;br /&gt;　　&lt;@_@&gt; 醉了&lt;br /&gt;&lt;br /&gt;　　o_o 盯着...&lt;br /&gt;&lt;br /&gt;　　^o^ 扮鬼脸，或者很得意，很自豪&lt;br /&gt;&lt;br /&gt;　　O_O 吃惊&lt;br /&gt;&lt;br /&gt;　　-_- 神秘的笑容&lt;br /&gt;&lt;br /&gt;　　^_^ 快乐的人儿&lt;br /&gt;&lt;br /&gt;　　＿.,＿ 裂开嘴轻声笑&lt;br /&gt;&lt;br /&gt;　　^v^ 很憨地笑&lt;br /&gt;&lt;br /&gt;　　^^v 成功了，高兴地笑，在用胜利的手势&lt;br /&gt;&lt;br /&gt;　　(^-^) 欢喜&lt;br /&gt;&lt;br /&gt;　　(^o^) 欢喜&lt;br /&gt;&lt;br /&gt;　　*^____^* 大笑&lt;br /&gt;&lt;br /&gt;　　=_=^ 得意&lt;br /&gt;&lt;br /&gt;　　=^_^= 脸红的人儿&lt;br /&gt;&lt;br /&gt;　　*^_^* 脸红&lt;br /&gt;&lt;br /&gt;　　=_= 晕&lt;br /&gt;&lt;br /&gt;　　+_+ 昏迷&lt;br /&gt;&lt;br /&gt;　　?_? 茫然，不明所以&lt;br /&gt;&lt;br /&gt;　　$_$ 贪心&lt;br /&gt;&lt;br /&gt;　　~_~ 生气&lt;br /&gt;&lt;br /&gt;　　T^T 生气&lt;br /&gt;&lt;br /&gt;　　&gt;o&lt; 愤怒 .\ /. 愤怒&lt;br /&gt;&lt;br /&gt;　　e_e 困，想睡觉&lt;br /&gt;&lt;br /&gt;　　－_－# 分特（分特＝faint、晕，即很无奈、很受不了）&lt;br /&gt;&lt;br /&gt;　　－_－b 流汗&lt;br /&gt;&lt;br /&gt;　　－_－^ 流汗&lt;br /&gt;&lt;br /&gt;　　&gt;_&lt; 表示要发飚了，准备收拾人；或者极度郁闷&lt;br /&gt;&lt;br /&gt;　　－O－ 打呵欠 &lt;br /&gt;1)愉快的情况 &lt;br /&gt;&lt;br /&gt;└(^o^)┘; 偶头好状壮ㄋㄟ```&lt;br /&gt;﹌○﹋ 喔嗨呦^ˇ^≡&lt;br /&gt;~^o^~ 大家安安!!&lt;br /&gt;=^_^= 温馨的微笑!!!&lt;br /&gt;Y(^_^)Y 举双手胜利&lt;br /&gt;\^o^/ 欢呼&lt;br /&gt;^o^y 胜利^o^y&lt;br /&gt;↖(^ω^)↗ 小猪为你打气!&lt;br /&gt;~^o^~ 加油呦!&lt;br /&gt;*^ˍ^* 笑,打&lt;br /&gt;*^ο^* 哦～,呵呵傻笑&lt;br /&gt;*^◎^* 呵呵大笑(嘴唇好厚)&lt;br /&gt;*^÷^* 得意的笑(有上下唇的哟)&lt;br /&gt;~~~^_^~~~ 笑毙罗(笑得连眼泪都蹦出来了...)&lt;br /&gt;(-.-)=3 松ㄌ一口气~&lt;br /&gt;~~~///(^v^)\\\~~~ 微笑表示友善!!!~哈~哈~&lt;br /&gt;~@^_^@~ 可爱呦!&lt;br /&gt;\\*^o^*// 可爱ㄋㄟ~&lt;br /&gt;~*.*~ 害羞又迷人的小女生&lt;br /&gt;#^_^# 脸红了!!&lt;br /&gt;∩__∩y 耶~~^^ (装可爱?!)&lt;br /&gt;(*^@^*) 乖～(还含个奶嘴哦) X﹏X糟糕.. 完蛋的意思呀~~&lt;br /&gt;(° ο°)~@ 晕倒了..&lt;br /&gt;{{{(&gt;_&lt;)}}} 发抖&lt;br /&gt;╯﹏╰ 粉无奈~~&lt;br /&gt;\(╯-╰)/ 很没劲/无耐的意思&lt;br /&gt;(╯^╰〉 一脸苦瓜&lt;br /&gt;}_} 粉无奈..粉悲情&lt;br /&gt;-____-" 唉~~别提了.....&lt;br /&gt;._. 受到打击,表情呈现呆滞样～&lt;br /&gt;(*@^@*〉 悲,晕&lt;br /&gt;-(- 好伤心.&lt;br /&gt;//(ㄒoㄒ)// 流泪中...&lt;br /&gt;::&gt;_&lt;:: 哭&lt;br /&gt;〒_〒 鸣~~我在哭...&lt;br /&gt;%&gt;_&lt;% 我要哭了哦...&lt;br /&gt;╰_╯我发火了!! 生气的意思~~~眉毛都翘起来~~&lt;br /&gt;&gt;_&lt;# 粉生气~冒青筋&lt;br /&gt;@x@ 生气&lt;br /&gt;(ˋ^ˊ〉-# 生气&lt;br /&gt;(&gt;﹏&lt;) 不～&lt;br /&gt;(*+﹏+*)~ @ 受不了～&lt;br /&gt;x__x, 唉..... 别哭了! &lt;br /&gt;(2)讶异的&lt;br /&gt; &lt;br /&gt;&gt;_&lt;¦¦¦ 很尴尬~!!!&lt;br /&gt;^_^; 尴尬&lt;br /&gt;⊙﹏⊙‖∣° 真尴尬～～&lt;br /&gt;^_^¦¦¦ 好尴尬!&lt;br /&gt;^_^" 尴尬的笑.....&lt;br /&gt;→_→ 怀疑的眼神~~&lt;br /&gt;..@_@¦¦¦¦¦.. 头昏眼花&lt;br /&gt;…(⊙_⊙;)… ○圭~○列~~怎麼酱?&lt;br /&gt;o_o .... 沉思(说穿了"呆滞状况")&lt;br /&gt;O__O" 呆滞的眼神~~~!!&lt;br /&gt;///^_^....... 造成"冷"...乾笑~&lt;br /&gt;?o?¦¦¦ 听无(就是听不懂ㄉ意思啦^^)&lt;br /&gt;( ^_^ )? 什麼意思??&lt;br /&gt;(+_+)? 不知道你在什麼&lt;br /&gt;(?ε?)? 哩公啥哇听无啦~&lt;br /&gt;o_O??? 发生啥事?&lt;br /&gt;@_@a 搔头,疑惑&lt;br /&gt;一 一+ 锐利的眼神~&lt;br /&gt;&gt;"&lt;¦¦¦¦ 伤脑筋的意思~ `(*&gt;﹏&lt;*)′ 好刺激..&lt;br /&gt;(*@ο@*) 哇～&lt;br /&gt;O_o 惊讶~~~&lt;br /&gt;(⊙o⊙) 目瞪口呆&lt;br /&gt;(°ο°)~ @ 晕倒,不省人事&lt;br /&gt;*@_@* 崇拜的眼神;眼睛为之一亮&lt;br /&gt;★~★ 见到偶像眼睛为之一亮 &lt;br /&gt;(3)表达爱意&lt;br /&gt; &lt;br /&gt;^◎- 爱你呦~~&lt;br /&gt;(*^‧^*) 啵一个!&lt;br /&gt;(^_^)∠※ 送你一束花&lt;br /&gt;(*^〔^*〕 羞羞&lt;br /&gt;`(*^﹏^*)′ 超级羞羞&lt;br /&gt;`(*∩_∩*)′ 献上 &lt;br /&gt;4)爱困的&lt;br /&gt; &lt;br /&gt;~_~ 想睡觉了的意思!!&lt;br /&gt;(～ o ～)~zZ 我想睡啦～ &lt;br /&gt;π_π 打瞌睡 &lt;br /&gt;5)感动的&lt;br /&gt; &lt;br /&gt;=@~@= 一个看到美眉就紧张+脸红的大学生.&lt;br /&gt;@(一-一) 秘密--------嘘```````&lt;br /&gt;(ˇ^ˇ〉 不以为然&lt;br /&gt;(^人^) 拜托啦^^~&lt;br /&gt;(^_^)/~~ 掰掰~&lt;br /&gt;*x*... ... 你逼我也没用,我劫对不会搜粗弃的!&lt;br /&gt;~w_w~ ... ... 嘘!别吵偶,让偶思考一下!&lt;br /&gt;(ˇˍˇ) 嗯～,思考中&lt;br /&gt;..&lt;{=... 乌鸦乌鸦飞过去表示冷场,无趣.....&lt;br /&gt;(*&gt;.&lt;*)~ @ 酸～&lt;br /&gt;~`o`~ 了解&lt;br /&gt;ˋ_ˊ* 你不要命啦!!!&lt;br /&gt;-.- 装蒜 ~&gt;_&lt;~+ 好感人唷...&lt;br /&gt;Q_Q 流眼泪的样子!!&lt;br /&gt;(+﹏+) 流泪,感动&lt;br /&gt;`(+﹏+)′ 超级感动,眼泪不停&lt;br /&gt;^_^o ~~~ 感动感动~~~ &lt;br /&gt;¦¦¦¦¦ 表情篇 ¦¦¦¦¦&lt;br /&gt;&lt;br /&gt;(‧_‧?) ( *^_^* ) (..) &lt;br /&gt;什麼事啊? 笑(打招呼) 请问～ &lt;br /&gt;(((^^)(^^))) ( T___T ) (≥◇≤) &lt;br /&gt;什麼什麼,告诉我吧! 怎麼会这样… 感动～ &lt;br /&gt;……\ ( &gt; &lt; ) / ( ⊙ o ⊙ ) ( ¯ □ ¯ ) &lt;br /&gt;哇～出现了 目瞪口呆 脑中一片空白 &lt;br /&gt;( *&gt;.&lt;* ) ~@ f( ^_^ ) ( E___E ) &lt;br /&gt;酸～～! 呵,这样啊 念昏了头 &lt;br /&gt;( $ _ $ ) (b_d) ( 3__3 ) &lt;br /&gt;见钱眼开! 戴了副眼镜 刚睡醒～ &lt;br /&gt;(*^@^*) ( @^^@) o(‧"‧)o &lt;br /&gt;乖～还含个奶嘴哦 脸红了啦! (皱眉头) &lt;br /&gt;(?o?) (☆_☆) (*^〔^*) &lt;br /&gt;喔? 眼睛一亮 羞羞脸 &lt;br /&gt;&amp;( ^___^ )&amp; (*^﹏^*) (.Q.) &lt;br /&gt;麻花辫女孩 超级羞羞～ (作鬼脸)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-5586522643838665698?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/5586522643838665698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=5586522643838665698' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/5586522643838665698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/5586522643838665698'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/11/blog-post.html' title='所有特殊符号'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-7457674238473978846</id><published>2008-11-26T18:37:00.000-08:00</published><updated>2008-11-26T18:39:03.180-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rotate image'/><title type='text'>a example for rorating the image</title><content type='html'>rotateImage = function(p, angle, whence){&lt;br /&gt;  if (whence) { &lt;br /&gt;   p.angle = ((p.angle == undefined ? 0 : p.angle) + angle) % 360;&lt;br /&gt;  } &lt;br /&gt;  else { &lt;br /&gt;   p.angle = angle; &lt;br /&gt;  } &lt;br /&gt;&lt;br /&gt;  if (p.angle &gt;= 0) { &lt;br /&gt;   var rotation = Math.PI * p.angle / 180; &lt;br /&gt;  } &lt;br /&gt;  else {&lt;br /&gt;   var rotation = Math.PI * (360 + p.angle) / 180;&lt;br /&gt;  }&lt;br /&gt;  var costheta = Math.cos(rotation);&lt;br /&gt;  var sintheta = Math.sin(rotation);&lt;br /&gt;  if (document.all &amp;&amp; !window.opera) {&lt;br /&gt;   var canvas = document.createElement("img");&lt;br /&gt;   canvas.src = p.src;&lt;br /&gt;   canvas.height = p.height;&lt;br /&gt;   canvas.width = p.width;&lt;br /&gt;   canvas.style.filter = "progid:DXImageTransform.Microsoft.Matrix(M11=" + costheta + ",M12=" + - sintheta + ",M21=" + sintheta + ",M22=" + costheta + ",SizingMethod='auto expand')";&lt;br /&gt;  }&lt;br /&gt;  else {&lt;br /&gt;   var canvas = document.createElement("canvas");&lt;br /&gt;   if (!p.oImage) {&lt;br /&gt;    canvas.oImage = new Image;&lt;br /&gt;    canvas.oImage.src = p.src;&lt;br /&gt;   }&lt;br /&gt;   else {&lt;br /&gt;    canvas.oImage = p.oImage;&lt;br /&gt;   }&lt;br /&gt;   canvas.style.width = canvas.width = Math.abs(costheta * canvas.oImage.width) + Math.abs(sintheta * canvas.oImage.height);&lt;br /&gt;   canvas.style.height = canvas.height = Math.abs(costheta * canvas.oImage.height) + Math.abs(sintheta * canvas.oImage.width);&lt;br /&gt;   var context = canvas.getContext("2d");&lt;br /&gt;   context.save();&lt;br /&gt;   if (rotation &lt;= Math.PI / 2) {&lt;br /&gt;    context.translate(sintheta * canvas.oImage.height, 0);&lt;br /&gt;   }&lt;br /&gt;   else if (rotation &lt;= Math.PI) {&lt;br /&gt;    context.translate(canvas.width, - costheta * canvas.oImage.height);&lt;br /&gt;   }&lt;br /&gt;   else if (rotation &lt;= 1.5 * Math.PI) {&lt;br /&gt;    context.translate(- costheta * canvas.oImage.width, canvas.height);&lt;br /&gt;   }&lt;br /&gt;   else {&lt;br /&gt;    context.translate(0, - sintheta * canvas.oImage.width);&lt;br /&gt;   }&lt;br /&gt;   context.rotate(rotation);&lt;br /&gt;   context.drawImage(canvas.oImage, 0, 0, canvas.oImage.width, canvas.oImage.height);&lt;br /&gt;   context.restore();&lt;br /&gt;  }&lt;br /&gt;  canvas.id = p.id;&lt;br /&gt;  canvas.angle = p.angle;&lt;br /&gt;  canvas.angle = canvas.angle &lt; 0 ? 360 + canvas.angle :canvas.angle&lt;br /&gt;  p.parentNode.replaceChild(canvas, p);&lt;br /&gt; };&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-7457674238473978846?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/7457674238473978846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=7457674238473978846' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/7457674238473978846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/7457674238473978846'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/11/example-for-rorating-image.html' title='a example for rorating the image'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-7970891549569449048</id><published>2008-11-21T06:16:00.000-08:00</published><updated>2008-11-21T06:20:20.408-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Canvas tag applied'/><title type='text'>a stock line example in javascript</title><content type='html'>fjlsfks;fkd;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-7970891549569449048?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/7970891549569449048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=7970891549569449048' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/7970891549569449048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/7970891549569449048'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/11/stock-line-example-in-javascript.html' title='a stock line example in javascript'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-6022042544548449322</id><published>2008-10-08T06:18:00.000-07:00</published><updated>2008-10-08T06:23:45.659-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mouse cursor'/><title type='text'>mouse cursor --from javascriptkit</title><content type='html'>		&lt;br /&gt;Custom CSS Cursors&lt;br /&gt;&lt;br /&gt;Using CSS, you can change the default cursor icon associated with a particular element, even specifying your own cursor image (in IE6+) instead. However, with power comes responsibility. Modify the cursor only when it makes sense to, such as when you're applying it to a custom interface. Like popup windows of JavaScript, changing cursors can quickly become counterproductive and irritating to the user.&lt;br /&gt;&lt;br /&gt;Below lists all the available values for the CSS property "cursor" (as of CSS2.1):&lt;br /&gt;Icon 	Value 	Live example (move mouse over box) 	Browser&lt;br /&gt;  	auto 	The User Agent determines the cursor to display based on the current context. 	All&lt;br /&gt;	default 	&lt;br /&gt;style="cursor: default;"&lt;br /&gt;	All&lt;br /&gt;	hand 	&lt;br /&gt;style="cursor: hand;"&lt;br /&gt;	IE&lt;br /&gt;	pointer 	&lt;br /&gt;style="cursor: pointer;"&lt;br /&gt;	NS6/ IE6&lt;br /&gt;	hand &amp; pointer 	&lt;br /&gt;style="cursor: pointer; cursor: hand;"&lt;br /&gt;	Cross browser&lt;br /&gt;	crosshair 	&lt;br /&gt;style="cursor: crosshair;"&lt;br /&gt;	All&lt;br /&gt;	text 	&lt;br /&gt;style="cursor: text;"&lt;br /&gt;	All&lt;br /&gt;	wait 	&lt;br /&gt;style="cursor: wait;"&lt;br /&gt;	All&lt;br /&gt;	help 	&lt;br /&gt;style="cursor: help;"&lt;br /&gt;	All&lt;br /&gt;  	inherit 	Takes on its parent element's computed cursor value. 	All&lt;br /&gt;	move 	&lt;br /&gt;style="cursor: move;"&lt;br /&gt;	All&lt;br /&gt;	e-resize 	&lt;br /&gt;style="cursor: e-resize;"&lt;br /&gt;	All&lt;br /&gt;	ne-resize 	&lt;br /&gt;style="cursor: ne-resize;"&lt;br /&gt;	All&lt;br /&gt;	nw-resize 	&lt;br /&gt;style="cursor: nw-resize;"&lt;br /&gt;	All&lt;br /&gt;	n-resize 	&lt;br /&gt;style="cursor: n-resize;"&lt;br /&gt;	All&lt;br /&gt;	se-resize 	&lt;br /&gt;style="cursor: se-resize;"&lt;br /&gt;	All&lt;br /&gt;	sw-resize 	&lt;br /&gt;style="cursor: sw-resize;"&lt;br /&gt;	All&lt;br /&gt;	s-resize 	&lt;br /&gt;style="cursor: s-resize;"&lt;br /&gt;	All&lt;br /&gt;	w-resize 	&lt;br /&gt;style="cursor: w-resize;"&lt;br /&gt;	All&lt;br /&gt;	progress 	&lt;br /&gt;style="cursor: progress;"&lt;br /&gt;	IE6&lt;br /&gt;	all-scroll 	&lt;br /&gt;style="cursor: all-scroll;"&lt;br /&gt;	IE6&lt;br /&gt;	col-resize 	&lt;br /&gt;style="cursor: col-resize;"&lt;br /&gt;	IE6&lt;br /&gt;	no-drop 	&lt;br /&gt;style="cursor: no-drop;"&lt;br /&gt;	IE6&lt;br /&gt;	not-allowed 	&lt;br /&gt;style="cursor: not-allowed;"&lt;br /&gt;	IE6&lt;br /&gt;	row-resize 	&lt;br /&gt;style="cursor: row-resize;"&lt;br /&gt;	IE6&lt;br /&gt;	url(uri) 	&lt;br /&gt;style="cursor: url(mycursor.cur);"&lt;br /&gt;&lt;br /&gt;Note: Only .cur and .ani file types are supported as of IE6.&lt;br /&gt;	IE6&lt;br /&gt;	vertical-text 	&lt;br /&gt;style="cursor: vertical-text;"&lt;br /&gt;	IE6&lt;br /&gt;&lt;br /&gt;Using the "cursor" property is like with any CSS property- simply apply it to the desired element. Here are a few examples:&lt;br /&gt;&lt;br /&gt;Example #1:&lt;br /&gt;&lt;br /&gt;&lt;style type="text/css"&gt;&lt;br /&gt;body{&lt;br /&gt;cursor: url(mycursor.cur)&lt;br /&gt;}&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;This changes the default arrow cursor of a webpage to a custom image instead.&lt;br /&gt;&lt;br /&gt;Example #2:&lt;br /&gt;&lt;br /&gt;&lt;div style="cursor: move; width: 200px; height: 200px"&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="help.htm" style="cursor: help;"&gt;Help&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In this second example, the entire DIV has a cursor of "move", and the link that follows, a "help" cursor.&lt;br /&gt;Changing the cursor dynamically using JavaScript&lt;br /&gt;&lt;br /&gt;As if the above isn't enough, you can change the cursor on the fly using JavaScript (as with most CSS properties). Simply use the syntax:&lt;br /&gt;&lt;br /&gt;element.style.cursor="new_cursor_value"&lt;br /&gt;&lt;br /&gt;Example #3 (disable text selection on the page): This last example disables text selection on the page in IE5+, and to make the process more intuitive, changes the cursor to "not allowed" while the user is dragging the mouse to try and select text:&lt;br /&gt;&lt;br /&gt;&lt;body onSelectStart="this.style.cursor='not-allowed'; return false;"&lt;br /&gt;onMouseup="this.style.cursor='default'"&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-6022042544548449322?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.javascriptkit.com/dhtmltutors/csscursors.shtml' title='mouse cursor --from javascriptkit'/><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/6022042544548449322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=6022042544548449322' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/6022042544548449322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/6022042544548449322'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/10/mouse-cursor-from-webkit.html' title='mouse cursor --from javascriptkit'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-1413893933538386867</id><published>2008-10-08T06:07:00.000-07:00</published><updated>2008-10-08T06:09:35.880-07:00</updated><title type='text'> 转载 Javascript中最常用的55个经典技巧收藏</title><content type='html'>&lt;br /&gt;1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键&lt;br /&gt;&lt;table border oncontextmenu=return(false)&gt;&lt;td&gt;no&lt;/table&gt; 可用于Table&lt;br /&gt;&lt;br /&gt;2. &lt;body onselectstart="return false"&gt; 取消选取、防止复制&lt;br /&gt;&lt;br /&gt;3. onpaste="return false" 不准粘贴&lt;br /&gt;&lt;br /&gt;4. oncopy="return false;" oncut="return false;" 防止复制&lt;br /&gt;&lt;br /&gt;5. &lt;link rel="Shortcut Icon" href="favicon.ico"&gt; IE地址栏前换成自己的图标&lt;br /&gt;&lt;br /&gt;6. &lt;link rel="Bookmark" href="favicon.ico"&gt; 可以在收藏夹中显示出你的图标&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. &lt;input style="ime-mode:disabled"&gt; 关闭输入法&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. 永远都会带着框架&lt;br /&gt;&lt;script language="JavaScript"&gt;&lt;!--&lt;br /&gt;if (window == top)top.location.href = "frames.htm"; //frames.htm为框架网页&lt;br /&gt;// --&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. 防止被人frame&lt;br /&gt;&lt;SCRIPT LANGUAGE=JAVASCRIPT&gt;&lt;!--&lt;br /&gt;if (top.location != self.location)top.location=self.location;&lt;br /&gt;// --&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. 网页将不能被另存为&lt;br /&gt;&lt;noscript&gt;&lt;*** src="/*.html&gt;";&lt;/***&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11. &lt;input type=button value="/查看网页源代码&lt;br /&gt;onclick="window.location = "view-source:"+ "http://www.pconline.com.cn""&gt;&lt;br /&gt;12.删除时确认&lt;br /&gt;&lt;a href=""javascript :if(confirm("确实要删除吗?"))location="boos.asp?&amp;areyou=删除&amp;page=1""&gt;删除&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;13. 取得控件的绝对位置&lt;br /&gt;//Javascript&lt;br /&gt;&lt;script language="Javascript"&gt;&lt;br /&gt;function getIE(e){&lt;br /&gt;var t=e.offsetTop;&lt;br /&gt;var l=e.offsetLeft;&lt;br /&gt;while(e=e.offsetParent){&lt;br /&gt;t+=e.offsetTop;&lt;br /&gt;l+=e.offsetLeft;&lt;br /&gt;}&lt;br /&gt;alert("top="+t+"/nleft="+l);&lt;br /&gt;}&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;//VBScript&lt;br /&gt;&lt;script language="VBScript"&gt;&lt;!--&lt;br /&gt;function getIE()&lt;br /&gt;dim t,l,a,b&lt;br /&gt;set a=document.all.img1&lt;br /&gt;t=document.all.img1.offsetTop&lt;br /&gt;l=document.all.img1.offsetLeft&lt;br /&gt;while a.tagName&lt;&gt;"BODY"&lt;br /&gt;set a = a.offsetParent&lt;br /&gt;t=t+a.offsetTop&lt;br /&gt;l=l+a.offsetLeft&lt;br /&gt;wend&lt;br /&gt;msgbox "top="&amp;t&amp;chr(13)&amp;"left="&amp;l,64,"得到控件的位置"&lt;br /&gt;end function&lt;br /&gt;--&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;14. 光标是停在文本框文字的最后&lt;br /&gt;&lt;script language="javascript"&gt;&lt;br /&gt;function cc()&lt;br /&gt;{&lt;br /&gt;var e = event.srcElement;&lt;br /&gt;var r =e.createTextRange();&lt;br /&gt;r.moveStart("character",e.value.length);&lt;br /&gt;r.collapse(true);&lt;br /&gt;r.select();&lt;br /&gt;}&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;input type=text name=text1 value="123" onfocus="cc()"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;15. 判断上一页的来源&lt;br /&gt;javascript :&lt;br /&gt;document.referrer&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;16. 最小化、最大化、关闭窗口&lt;br /&gt;&lt;object id=hh1 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"&gt;&lt;br /&gt;&lt;param name="Command" value="Minimize"&gt;&lt;/object&gt;&lt;br /&gt;&lt;object id=hh2 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"&gt;&lt;br /&gt;&lt;param name="Command" value="Maximize"&gt;&lt;/object&gt;&lt;br /&gt;&lt;OBJECT id=hh3 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"&gt;&lt;br /&gt;&lt;PARAM NAME="Command" value="/Close"&gt;&lt;/OBJECT&gt;&lt;br /&gt;&lt;input type=button value="/最小化 onclick=hh1.Click()&gt;&lt;br /&gt;&lt;input type=button value="/blog/最大化 onclick=hh2.Click()&gt;&lt;br /&gt;&lt;input type=button value=关闭 onclick=hh3.Click()&gt;&lt;br /&gt;本例适用于IE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;17.屏蔽功能键Shift,Alt,Ctrl&lt;br /&gt;&lt;script&gt;&lt;br /&gt;function look(){&lt;br /&gt;if(event.shiftKey)&lt;br /&gt;alert("禁止按Shift键!"); //可以换成ALT　CTRL&lt;br /&gt;}&lt;br /&gt;document.onkeydown=look;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;18. 网页不会被缓存&lt;br /&gt;&lt;META HTTP-EQUIV="pragma" CONTENT="no-cache"&gt;&lt;br /&gt;&lt;META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"&gt;&lt;br /&gt;&lt;META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"&gt;&lt;br /&gt;或者&lt;META HTTP-EQUIV="expires" CONTENT="0"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;19.怎样让表单没有凹凸感？&lt;br /&gt;&lt;input type=text style="""border:1 solid #000000"&gt;&lt;br /&gt;或&lt;br /&gt;&lt;input type=text style="border-left:none; border-right:none; border-top:none; border-bottom:&lt;br /&gt;1 solid #000000"&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;20.&lt;div&gt;&lt;span&gt;&amp;&lt;layer&gt;的区别？&lt;br /&gt;&lt;div&gt;(division)用来定义大段的页面元素，会产生转行&lt;br /&gt;&lt;span&gt;用来定义同一行内的元素，跟&lt;div&gt;的唯一区别是不产生转行&lt;br /&gt;&lt;layer&gt;是ns的标记，ie不支持，相当于&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;21.让弹出窗口总是在最上面:&lt;br /&gt;&lt;body onblur="this.focus();"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;22.不要滚动条?&lt;br /&gt;让竖条没有:&lt;br /&gt;&lt;body style="overflow:scroll;overflow-y:hidden"&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;让横条没有:&lt;br /&gt;&lt;body style="overflow:scroll;overflow-x:hidden"&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;两个都去掉？更简单了&lt;br /&gt;&lt;body scroll="no"&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;23.怎样去掉图片链接点击后，图片周围的虚线？&lt;br /&gt;&lt;a href="#" onFocus="this.blur()"&gt;&lt;img src="/logo.jpg" border=0&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;24.电子邮件处理提交表单&lt;br /&gt;&lt;form name="form1" method="post" action=mailto:****@***.com&lt;br /&gt;enctype="text/plain"&gt;&lt;br /&gt;&lt;input type=submit&gt;&lt;br /&gt;&lt;/form&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;25.在打开的子窗口刷新父窗口的代码里如何写？&lt;br /&gt;window.opener.location.reload()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;26.如何设定打开页面的大小&lt;br /&gt;&lt;body onload="top.resizeTo(300,200);"&gt;&lt;br /&gt;打开页面的位置&lt;body onload="top.moveBy(300,200);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;27.在页面中如何加入不是满铺的背景图片,拉动页面时背景图不动&lt;br /&gt;&lt;STYLE&gt;&lt;br /&gt;body&lt;br /&gt;{background-image:url(/logo.gif); background-repeat:no-repeat;&lt;br /&gt;background-position:center;background-attachment: fixed}&lt;br /&gt;&lt;/STYLE&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;28. 检查一段字符串是否全由数字组成&lt;br /&gt;&lt;script language="Javascript"&gt;&lt;!--&lt;br /&gt;function checkNum(str){return str.match(//D/)==null}&lt;br /&gt;alert(checkNum("1232142141"))&lt;br /&gt;alert(checkNum("123214214a1"))&lt;br /&gt;// --&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;29. 获得一个窗口的大小&lt;br /&gt;document.body.clientWidth; document.body.clientHeight&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;30. 怎么判断是否是字符&lt;br /&gt;if (/[^/x00-/xff]/g.test(s)) alert("含有汉字");&lt;br /&gt;else alert("全是字符");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;31.TEXTAREA自适应文字行数的多少&lt;br /&gt;&lt;textarea rows=1 name=s1 cols=27 onpropertychange&lt;br /&gt;="this.style.posHeight=this.scrollHeight"&gt;&lt;br /&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;32. 日期减去天数等于第二个日期&lt;br /&gt;&lt;script language=Javascript&gt;&lt;br /&gt;function cc(dd,dadd)&lt;br /&gt;{&lt;br /&gt;//可以加上错误处理&lt;br /&gt;var a = new Date(dd)&lt;br /&gt;a = a.valueOf()&lt;br /&gt;a = a - dadd * 24 * 60 * 60 * 1000&lt;br /&gt;a = new Date(a)&lt;br /&gt;alert(a.getFullYear() + "年" + (a.getMonth() + 1) + "月" + a.getDate() + "日")&lt;br /&gt;}&lt;br /&gt;cc("12/23/2002",2)&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;33. 选择了哪一个Radio&lt;br /&gt;&lt;HTML&gt;&lt;script language="vbscript"&gt;&lt;br /&gt;function checkme()&lt;br /&gt;for each ob in radio1&lt;br /&gt;if ob.checked then&lt;br /&gt;window.alert ob.value&lt;br /&gt;next&lt;br /&gt;end function&lt;br /&gt;&lt;/script&gt;&lt;BODY&gt;&lt;br /&gt;&lt;INPUT name="radio1" type="radio" value="/style" checked&gt;Style&lt;br /&gt;&lt;INPUT name="radio1" type="radio" value="/blog/barcode"&gt;Barcode&lt;br /&gt;&lt;INPUT type="button" value="check" onclick="checkme()"&gt;&lt;br /&gt;&lt;/BODY&gt;&lt;/HTML&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;34.脚本永不出错&lt;br /&gt;&lt;SCRIPT LANGUAGE="JavaScript"&gt;&lt;br /&gt;&lt;!-- Hide&lt;br /&gt;function killErrors() {&lt;br /&gt;return true;&lt;br /&gt;}&lt;br /&gt;window.onerror = killErrors;&lt;br /&gt;// --&gt;&lt;br /&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;35.ENTER键可以让光标移到下一个输入框&lt;br /&gt;&lt;input onkeydown="if(event.keyCode==13)event.keyCode=9"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;36. 检测某个网站的链接速度：&lt;br /&gt;把如下代码加入&lt;body&gt;区域中:&lt;br /&gt;&lt;script language=Javascript&gt;&lt;br /&gt;tim=1&lt;br /&gt;setInterval("tim++",100)&lt;br /&gt;b=1&lt;br /&gt;var autourl=new Array()&lt;br /&gt;autourl[1]=1000){this.resized=true;this.style.width=1000;}" align=absMiddle border=0&gt;www.njcatv.net"&lt;br /&gt;autourl[2]="javacool.3322.net"&lt;br /&gt;autourl[3]=1000){this.resized=true;this.style.width=1000;}" align=absMiddle border=0&gt;www.sina.com.cn"&lt;br /&gt;autourl[4]="www.nuaa.edu.cn"&lt;br /&gt;autourl[5]=1000){this.resized=true;this.style.width=1000;}" align=absMiddle border=0&gt;www.cctv.com"&lt;br /&gt;function butt(){&lt;br /&gt;***("&lt;form name=autof&gt;")&lt;br /&gt;for(var i=1;i&lt;autourl.length;i++)&lt;br /&gt;***("&lt;input type=text name=txt"+i+" size=10 value="/测试中……&gt; =》&lt;input type=text&lt;br /&gt;name=url"+i+" size=40&gt; =》&lt;input type=button value="/blog/GO&lt;br /&gt;onclick=window.open(this.form.url"+i+".value)&gt;&lt;br&gt;")&lt;br /&gt;***("&lt;input type=submit value=刷新&gt;&lt;/form&gt;")&lt;br /&gt;}&lt;br /&gt;butt()&lt;br /&gt;function auto(url){&lt;br /&gt;document.forms[0]["url"+b].value=url&lt;br /&gt;if(tim&gt;200)&lt;br /&gt;{document.forms[0]["txt"+b].value="/链接超时"}&lt;br /&gt;else&lt;br /&gt;{document.forms[0]["txt"+b].value="/blog/时间"+tim/10+"秒"}&lt;br /&gt;b++&lt;br /&gt;}&lt;br /&gt;function run(){for(var i=1;i&lt;autourl.length;i++)***("&lt;img src=http://"+autourl+"/"+Math.random()+" width=1 height=1&lt;br /&gt;onerror=auto("http://"+autourl+"")&gt;")}&lt;br /&gt;run()&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;37. 各种样式的光标&lt;br /&gt;auto ：标准光标&lt;br /&gt;default ：标准箭头&lt;br /&gt;hand ：手形光标&lt;br /&gt;wait ：等待光标&lt;br /&gt;text ：I形光标&lt;br /&gt;vertical-text ：水平I形光标&lt;br /&gt;no-drop ：不可拖动光标&lt;br /&gt;not-allowed ：无效光标&lt;br /&gt;help ：?帮助光标&lt;br /&gt;all-scroll ：三角方向标&lt;br /&gt;move ：移动标&lt;br /&gt;crosshair ：十字标&lt;br /&gt;e-resize&lt;br /&gt;n-resize&lt;br /&gt;nw-resize&lt;br /&gt;w-resize&lt;br /&gt;s-resize&lt;br /&gt;se-resize&lt;br /&gt;sw-resize&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;38.页面进入和退出的特效&lt;br /&gt;进入页面&lt;meta http-equiv="Page-Enter" content="revealTrans(duration=x, transition=y)"&gt;&lt;br /&gt;推出页面&lt;meta http-equiv="Page-Exit" content="revealTrans(duration=x, transition=y)"&gt;  &lt;br /&gt;这个是页面被载入和调出时的一些特效。duration表示特效的持续时间，以秒为单位。transition表示使用哪种特效，取值为1-23:&lt;br /&gt;　　0 矩形缩小&lt;br /&gt;　　1 矩形扩大&lt;br /&gt;　　2 圆形缩小&lt;br /&gt;　　3 圆形扩大&lt;br /&gt;　　4 下到上刷新&lt;br /&gt;　　5 上到下刷新&lt;br /&gt;　　6 左到右刷新&lt;br /&gt;　　7 右到左刷新&lt;br /&gt;　　8 竖百叶窗&lt;br /&gt;　　9 横百叶窗&lt;br /&gt;　　10 错位横百叶窗&lt;br /&gt;　　11 错位竖百叶窗&lt;br /&gt;　　12 点扩散&lt;br /&gt;　　13 左右到中间刷新&lt;br /&gt;　　14 中间到左右刷新&lt;br /&gt;　　15 中间到上下&lt;br /&gt;　　16 上下到中间&lt;br /&gt;　　17 右下到左上&lt;br /&gt;　　18 右上到左下&lt;br /&gt;　　19 左上到右下&lt;br /&gt;　　20 左下到右上&lt;br /&gt;　　21 横条&lt;br /&gt;　　22 竖条&lt;br /&gt;　　23 以上22种随机选择一种&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;39.在规定时间内跳转&lt;br /&gt;&lt;META http-equiv=V="REFRESH" content="5;URL=http://www.51js.com"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;40.网页是否被检索&lt;br /&gt;&lt;meta name="ROBOTS" content="属性值"&gt;&lt;br /&gt;　　其中属性值有以下一些:&lt;br /&gt;　　属性值为"all": 文件将被检索，且页上链接可被查询；&lt;br /&gt;　　属性值为"none": 文件不被检索，而且不查询页上的链接；&lt;br /&gt;　　属性值为"index": 文件将被检索；&lt;br /&gt;　　属性值为"follow": 查询页上的链接；&lt;br /&gt;　　属性值为"noindex": 文件不检索，但可被查询链接；&lt;br /&gt;　　属性值为"nofollow": 文件不被检索，但可查询页上的链接。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;41、email地址的分割&lt;br /&gt;把如下代码加入&lt;body&gt;区域中&lt;br /&gt;&lt;a href="mailto:webmaster@sina.com"&gt;webmaster@sina.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;42、流动边框效果的表格&lt;br /&gt;把如下代码加入&lt;body&gt;区域中&lt;br /&gt;&lt;SCRIPT&gt;&lt;br /&gt;l=Array(6,7,8,9,'a','b','b','c','d','e','f')&lt;br /&gt;Nx=5;Ny=35&lt;br /&gt;t="&lt;table border=0 cellspacing=0 cellpadding=0 height="+((Nx+2)*16)+"&gt;&lt;tr&gt;"&lt;br /&gt;for(x=Nx;x&lt;Nx+Ny;x++)&lt;br /&gt;t+="&lt;td width=16 id=a_mo"+x+"&gt;　&lt;/td&gt;"&lt;br /&gt;t+="&lt;/tr&gt;&lt;tr&gt;&lt;td width=10 id=a_mo"+(Nx-1)+"&gt;　&lt;/td&gt;&lt;td colspan="+(Ny-2)+" rowspan="+(Nx)+"&gt;　&lt;/td&gt;&lt;td width=16 id=a_mo"+(Nx+Ny)+"&gt;&lt;/td&gt;&lt;/tr&gt;"&lt;br /&gt;for(x=2;x&lt;=Nx;x++)&lt;br /&gt;t+="&lt;tr&gt;&lt;td width=16 id=a_mo"+(Nx-x)+"&gt;　&lt;/td&gt;&lt;td width=16 id=a_mo"+(Ny+Nx+x-1)+"&gt;　&lt;/td&gt;&lt;/tr&gt;"&lt;br /&gt;t+="&lt;tr&gt;"&lt;br /&gt;for(x=Ny;x&gt;0;x--)&lt;br /&gt;t+="&lt;td width=16 id=a_mo"+(x+Nx*2+Ny-1)+"&gt;　&lt;/td&gt;"&lt;br /&gt;***(t+"&lt;/tr&gt;&lt;/table&gt;")&lt;br /&gt;var N=Nx*2+Ny*2&lt;br /&gt;function f1(y){&lt;br /&gt;for(i=0;i&lt;N;i++){&lt;br /&gt;c=(i+y)%20;if(c&gt;10)c=20-c&lt;br /&gt;document.all["a_mo"+(i)].bgColor=""""#0000"+l[c]+l[c]+"'"}&lt;br /&gt;y++&lt;br /&gt;setTimeout('f1('+y+')','1')}&lt;br /&gt;f1(1)&lt;br /&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;43、JavaScript主页弹出窗口技巧&lt;br /&gt;窗口中间弹出&lt;br /&gt;&lt;script&gt;&lt;br /&gt;window.open("http://www.cctv.com","","width=400,height=240,top="+(screen.availHeight-240)/2+",left="+(screen.availWidth-400)/2);&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;============&lt;br /&gt;&lt;html&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;&lt;script language="LiveScript"&gt;&lt;br /&gt;function WinOpen() {&lt;br /&gt;    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no");&lt;br /&gt;    msg.***("&lt;HEAD&gt;&lt;TITLE&gt;哈 罗!&lt;/TITLE&gt;&lt;/HEAD&gt;");&lt;br /&gt;    msg.***("&lt;CENTER&gt;&lt;H1&gt;酷 毙 了!&lt;/H1&gt;&lt;h2&gt;这是&lt;B&gt;JavaScript&lt;/B&gt;所 开 的 视 窗!&lt;/h2&gt;&lt;/CENTER&gt;");&lt;br /&gt;}&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;form&gt;&lt;br /&gt;&lt;input type="button" name="Button1" value="Push me" onclick="WinOpen()"&gt;&lt;br /&gt;&lt;/form&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;/html&gt;&lt;br /&gt;==============&lt;br /&gt;一、在下面的代码中，你只要单击打开一个窗口，即可链接到赛迪网。而当你想关闭时，只要单击一下即可关闭刚才打开的窗口。&lt;br /&gt;　　代码如下：&lt;br /&gt;　　&lt;SCRIPT language="JavaScript"&gt;&lt;br /&gt;　　&lt;！--&lt;br /&gt;　　function openclk() {&lt;br /&gt;　　another=open('1000){this.resized=true;this.style.width=1000;}" align=absMiddle border=0&gt;http://www.ccidnet.com'，'NewWindow');&lt;br /&gt;　　}&lt;br /&gt;　　function closeclk() {&lt;br /&gt;　　another.close();&lt;br /&gt;　　}&lt;br /&gt;　　//--&gt;&lt;br /&gt;　　&lt;/SCRIPT&gt;&lt;br /&gt;　　&lt;FORM&gt;&lt;br /&gt;　　&lt;INPUT TYPE="BUTTON" NAME="open" value="/打开一个窗口" onClick="openclk()"&gt;&lt;br /&gt;　　&lt;BR&gt;&lt;br /&gt;　　&lt;INPUT TYPE="BUTTON" NAME="close" value="/blog/关闭这个窗口" onClick="closeclk()"&gt;&lt;br /&gt;　　&lt;/FORM&gt;&lt;br /&gt;　　二、上面的代码也太静了，为何不来点动感呢？如果能给页面来个降落效果那该多好啊！&lt;br /&gt;　　代码如下：&lt;br /&gt;　　&lt;script&gt;&lt;br /&gt;　　function drop(n) {&lt;br /&gt;　　if(self.moveBy){&lt;br /&gt;　　self.moveBy (0，-900);&lt;br /&gt;　　for(i = n; i &gt; 0; i--){&lt;br /&gt;　　self.moveBy(0，3);&lt;br /&gt;　　}&lt;br /&gt;　　for(j = 8; j &gt; 0; j--){&lt;br /&gt;　　self.moveBy(0，j);&lt;br /&gt;　　self.moveBy(j，0);&lt;br /&gt;　　self.moveBy(0，-j);&lt;br /&gt;　　self.moveBy(-j，0);&lt;br /&gt;　　}&lt;br /&gt;　　}&lt;br /&gt;　　}&lt;br /&gt;　　&lt;/script&gt;&lt;br /&gt;　　&lt;body onLoad="drop(300)"&gt;&lt;br /&gt;　　三、讨厌很多网站总是按照默认窗口打开，如果你能随心所欲控制打开的窗口那该多好。&lt;br /&gt;　　代码如下:&lt;br /&gt;　　&lt;SCRIPT LANGUAGE="JavaScript"&gt;&lt;br /&gt;　　&lt;！-- Begin&lt;br /&gt;　　function popupPage(l， t， w， h) {&lt;br /&gt;　　var windowprops = "location=no，scrollbars=no，menubars=no，toolbars=no，resizable=yes" +&lt;br /&gt;　　"，left=" + l + "，top=" + t + "，width=" + w + "，height=" + h;&lt;br /&gt;　　var URL = "http://www.80cn.com";&lt;br /&gt;　　popup = window.open(URL，"MenuPopup"，windowprops);&lt;br /&gt;　　}&lt;br /&gt;　　// End --&gt;&lt;br /&gt;　　&lt;/script&gt;&lt;br /&gt;　　&lt;table&gt;&lt;br /&gt;　　&lt;tr&gt;&lt;br /&gt;　　&lt;td&gt;&lt;br /&gt;　　&lt;form name=popupform&gt;&lt;br /&gt;　　&lt;pre&gt;&lt;br /&gt;　　打开页面的参数&lt;br&gt;&lt;br /&gt;　　离开左边的距离: &lt;input type=text name=left size=2 maxlength=4&gt; pixels&lt;br /&gt;　　离开右边的距离: &lt;input type=text name=top size=2 maxlength=4&gt; pixels&lt;br /&gt;　　窗口的宽度: &lt;input type=text name=width size=2 maxlength=4&gt; pixels&lt;br /&gt;　　窗口的高度: &lt;input type=text name=height size=2 maxlength=4&gt; pixels&lt;br /&gt;　　&lt;/pre&gt;&lt;br /&gt;　　&lt;center&gt;&lt;br /&gt;　　&lt;input type=button value="打开这个窗口！" onClick="popupPage(this.form.left.value， this.form.top.value， this.form.width.value，&lt;br /&gt;this.form.height.value)"&gt;&lt;br /&gt;　　&lt;/center&gt;&lt;br /&gt;　　&lt;/form&gt;&lt;br /&gt;　　&lt;/td&gt;&lt;br /&gt;　　&lt;/tr&gt;&lt;br /&gt;　　&lt;/table&gt;你只要在相对应的对话框中输入一个数值即可，将要打开的页面的窗口控制得很好。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;44、页面的打开移动&lt;br /&gt;把如下代码加入&lt;body&gt;区域中&lt;br /&gt;&lt;SCRIPT LANGUAGE="JavaScript"&gt;&lt;br /&gt;&lt;!-- Begin&lt;br /&gt;for (t = 2; t &gt; 0; t--) {&lt;br /&gt;for (x = 20; x &gt; 0; x--) {&lt;br /&gt;for (y = 10; y &gt; 0; y--) {&lt;br /&gt;parent.moveBy(0,-x);&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;for (x = 20; x &gt; 0; x--) {&lt;br /&gt;for (y = 10; y &gt; 0; y--) {&lt;br /&gt;parent.moveBy(0,x);&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;for (x = 20; x &gt; 0; x--) {&lt;br /&gt;for (y = 10; y &gt; 0; y--) {&lt;br /&gt;parent.moveBy(x,0);&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;for (x = 20; x &gt; 0; x--) {&lt;br /&gt;for (y = 10; y &gt; 0; y--) {&lt;br /&gt;parent.moveBy(-x,0);&lt;br /&gt;     }&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;//--&gt;&lt;br /&gt;//   End --&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;45、显示个人客户端机器的日期和时间&lt;br /&gt;&lt;script language="LiveScript"&gt;&lt;br /&gt;&lt;!-- Hiding&lt;br /&gt;   today = new Date()&lt;br /&gt;   ***("现 在 时 间 是： ",today.getHours(),":",today.getMinutes())&lt;br /&gt;   ***("&lt;br&gt;今 天 日 期 为： ", today.getMonth()+1,"/",today.getDate(),"/",today.getYear());&lt;br /&gt;// end hiding contents --&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;46、自动的为你每次产生最後修改的日期了：&lt;br /&gt;&lt;html&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;This is a simple HTML- page.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;Last changes:&lt;br /&gt;   &lt;script language="LiveScript"&gt;&lt;br /&gt;   &lt;!--   hide script from old browsers&lt;br /&gt;     ***(document.lastModified)&lt;br /&gt;   // end hiding contents --&gt;&lt;br /&gt;   &lt;/script&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;/html&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;47、不能为空和邮件地址的约束：&lt;br /&gt;&lt;html&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;&lt;script language="JavaScript"&gt;&lt;br /&gt;&lt;!-- Hide&lt;br /&gt;function test1(form) {&lt;br /&gt;   if (form.text1.value == "")&lt;br /&gt;     alert("您 没 写 上 任 何 东 西， 请 再 输 入 一 次 !")&lt;br /&gt;   else {&lt;br /&gt;    alert("嗨 "+form.text1.value+"! 您 已 输 入 完 成 !");&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;function test2(form) {&lt;br /&gt;   if (form.text2.value == "" ||&lt;br /&gt;       form.text2.value.indexOf('@', 0) == -1)&lt;br /&gt;         alert("这 不 是 正 确 的 e-mail address! 请 再 输 入 一 次 !");&lt;br /&gt;   else alert("您 已 输 入 完 成 !");&lt;br /&gt;}&lt;br /&gt;// --&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;form name="first"&gt;&lt;br /&gt;Enter your name:&lt;br&gt;&lt;br /&gt;&lt;input type="text" name="text1"&gt;&lt;br /&gt;&lt;input type="button" name="button1" value="输 入 测 试" onClick="test1(this.form)"&gt;&lt;br /&gt;&lt;P&gt;&lt;br /&gt;Enter your e-mail address:&lt;br&gt;&lt;br /&gt;&lt;input type="text" name="text2"&gt;&lt;br /&gt;&lt;input type="button" name="button2" value="输 入 测 试" onClick="test2(this.form)"&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;48、跑马灯&lt;br /&gt;&lt;html&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;&lt;script language="JavaScript"&gt;&lt;br /&gt;&lt;!-- Hide&lt;br /&gt;var scrtxt="怎麽样 ! 很酷吧 ! 您也可以试试."+"Here goes your message the visitors to your&lt;br /&gt;page will "+"look at for hours in pure fascination...";&lt;br /&gt;var lentxt=scrtxt.length;&lt;br /&gt;var width=100;&lt;br /&gt;var pos=1-width;&lt;br /&gt;function scroll() {&lt;br /&gt;   pos++;&lt;br /&gt;   var scroller="";&lt;br /&gt;   if (pos==lentxt) {&lt;br /&gt;     pos=1-width;&lt;br /&gt;   }&lt;br /&gt;   if (pos&lt;0) {&lt;br /&gt;     for (var i=1; i&lt;=Math.abs(pos); i++) {&lt;br /&gt;       scroller=scroller+" ";}&lt;br /&gt;     scroller=scroller+scrtxt.substring(0,width-i+1);&lt;br /&gt;   }&lt;br /&gt;   else {&lt;br /&gt;     scroller=scroller+scrtxt.substring(pos,width+pos);&lt;br /&gt;   }&lt;br /&gt;   window.status = scroller;&lt;br /&gt;   setTimeout("scroll()",150);&lt;br /&gt;   }&lt;br /&gt;//--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;body onLoad="scroll();return true;"&gt;&lt;br /&gt;这里可显示您的网页 !&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;/html&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;49、在网页中用按钮来控制前页，后页和主页的显示。&lt;br /&gt;&lt;html&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;FORM NAME="buttonbar"&gt;&lt;br /&gt;      &lt;INPUT TYPE="button" VALUE="Back" onClick="history.back()"&gt;&lt;br /&gt;      &lt;INPUT TYPE="button" VALUE="JS- Home" onClick="location='script.html'"&gt;&lt;br /&gt;      &lt;INPUT TYPE="button" VALUE="Next" onCLick="history.forward()"&gt;&lt;br /&gt;&lt;/FORM&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;/html&gt;&lt;br /&gt;50、查看某网址的源代码&lt;br /&gt;把如下代码加入&lt;body&gt;区域中&lt;br /&gt;&lt;SCRIPT&gt;&lt;br /&gt;function add()&lt;br /&gt;{&lt;br /&gt;var ress=document.forms[0].luxiaoqing.value&lt;br /&gt;window.location="view-source:"+ress;&lt;br /&gt;}&lt;br /&gt;&lt;/SCRIPT&gt;&lt;br /&gt;输入要查看源代码的URL地址:&lt;br /&gt;&lt;FORM&gt;&lt;input type="text" name="luxiaoqing" size=40 value="http://"&gt;&lt;/FORM&gt;&lt;br /&gt;&lt;FORM&gt;&lt;br&gt;&lt;br /&gt;&lt;INPUT type="button" value="查看源代码" onClick=add()&gt;&lt;br /&gt;&lt;/FORM&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;51、title显示日期&lt;br /&gt;把如下代码加入&lt;body&gt;区域中:&lt;br /&gt;&lt;script language="JavaScript1.2"&gt;&lt;br /&gt;&lt;!--hide&lt;br /&gt;var isnMonth = new&lt;br /&gt;Array("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月");&lt;br /&gt;var isnDay = new&lt;br /&gt;Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六","星期日");&lt;br /&gt;today = new Date () ;&lt;br /&gt;Year=today.getYear();&lt;br /&gt;Date=today.getDate();&lt;br /&gt;if (document.all)&lt;br /&gt;document.title="今天是: "+Year+"年"+isnMonth[today.getMonth()]+Date+"日"+isnDay[today.getDay()]&lt;br /&gt;//--hide--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;52、显示所有链接&lt;br /&gt;把如下代码加入&lt;body&gt;区域中&lt;br /&gt;&lt;script language="JavaScript1.2"&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;function extractlinks(){&lt;br /&gt;var links=document.all.tags("A")&lt;br /&gt;var total=links.length&lt;br /&gt;var win2=window.open("","","menubar,scrollbars,toolbar")&lt;br /&gt;win2.***("&lt;font size='2'&gt;一共有"+total+"个连接&lt;/font&gt;&lt;br&gt;")&lt;br /&gt;for (i=0;i&lt;total;i++){&lt;br /&gt;win2.***("&lt;font size='2'&gt;"+links[i].outerHTML+"&lt;/font&gt;&lt;br&gt;")&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;//--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;input type="button" onClick="extractlinks()" value="显示所有的连接"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;53、回车键换行&lt;br /&gt;把如下代码加入&lt;body&gt;区域中&lt;br /&gt;&lt;script type="text/javascript"&gt;                &lt;br /&gt;function handleEnter (field, event) {&lt;br /&gt;   var keyCode = event.keyCode ? event.keyCode : event.which ?&lt;br /&gt;event.which : event.charCode;&lt;br /&gt;   if (keyCode == 13) {&lt;br /&gt;    var i;&lt;br /&gt;    for (i = 0; i &lt; field.form.elements.length; i++)&lt;br /&gt;     if (field == field.form.elements[i])&lt;br /&gt;      break;&lt;br /&gt;    i = (i + 1) % field.form.elements.length;&lt;br /&gt;    field.form.elements[i].focus();&lt;br /&gt;    return false;&lt;br /&gt;   }&lt;br /&gt;   else&lt;br /&gt;   return true;&lt;br /&gt;}      &lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;form&gt;&lt;br /&gt;&lt;input type="text" onkeypress="return handleEnter(this, event)"&gt;&lt;br&gt;&lt;br /&gt;&lt;input type="text" onkeypress="return handleEnter(this, event)"&gt;&lt;br&gt;&lt;br /&gt;&lt;textarea&gt;回车换行&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;54、确认后提交&lt;br /&gt;把如下代码加入&lt;body&gt;区域中&lt;br /&gt;&lt;SCRIPT LANGUAGE="JavaScript"&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;function msg(){&lt;br /&gt;if (confirm("你确认要提交嘛！"))&lt;br /&gt;document.lnman.submit()&lt;br /&gt;}&lt;br /&gt;//--&gt;&lt;br /&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;form name="lnman" method="post" action=""&gt;&lt;br /&gt;   &lt;p&gt;&lt;br /&gt;     &lt;input type="text" name="textfield" value="确认后提交"&gt;&lt;br /&gt;   &lt;/p&gt;&lt;br /&gt;   &lt;p&gt;&lt;br /&gt;     &lt;input type="button" name="Submit" value="提交" onclick="msg();"&gt;&lt;br /&gt;   &lt;/p&gt;&lt;br /&gt;&lt;/form&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;55、改变表格的内容&lt;br /&gt;把如下代码加入&lt;body&gt;区域中&lt;br /&gt;&lt;script ***script&gt;&lt;br /&gt;var arr=new Array()&lt;br /&gt;arr[0]="一一一一一";&lt;br /&gt;arr[1]="二二二二二";&lt;br /&gt;arr[2]="三三三三三";&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;select onchange="zz.cells[this.selectedIndex].innerHTML=arr[this.selectedIndex]"&gt;&lt;br /&gt;   &lt;option value=a&gt;改变第一格&lt;/option&gt;&lt;br /&gt;   &lt;option value=a&gt;改变第二格&lt;/option&gt;&lt;br /&gt;   &lt;option value=a&gt;改变第三格&lt;/option&gt;&lt;br /&gt;&lt;/select&gt;&lt;br /&gt;&lt;table id=zz border=1&gt;&lt;br /&gt;   &lt;tr height=20&gt;&lt;br /&gt;     &lt;td width=150&gt;第一格&lt;/td&gt;&lt;br /&gt;&lt;td width=150&gt;第二格&lt;/td&gt;&lt;br /&gt;&lt;td width=150&gt;第三格&lt;/td&gt;&lt;br /&gt;   &lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;发表于 @ 2007年08月09日 11:21:00|评论(93)|编辑&lt;br /&gt;新一篇: 关于企业级安全管理策略的探讨  | 旧一篇: JavaScript：世界上误解最深的语言&lt;br /&gt;评论&lt;br /&gt;&lt;br /&gt;#song218888 发表于2007-08-11 10:13:04  IP: 125.73.28.*&lt;br /&gt;    好东西，一定要顶波。&lt;br /&gt;&lt;br /&gt;#djsky1234 发表于2007-08-12 11:45:51  IP: 219.238.245.*&lt;br /&gt;    顶````好东西```&lt;br /&gt;&lt;br /&gt;#Try1Try 发表于2007-08-12 13:09:13  IP: 74.12.74.*&lt;br /&gt;    实用技巧，帮你顶&lt;br /&gt;&lt;br /&gt;#zhujun2006un 发表于2007-08-12 17:05:20  IP: 58.49.254.*&lt;br /&gt;    好东西，我收藏了！&lt;br /&gt;&lt;br /&gt;#tanaaa84 发表于2007-08-13 09:51:13  IP: 211.167.66.*&lt;br /&gt;    受益匪浅！顶！&lt;br /&gt;&lt;br /&gt;#robertluolinbo 发表于2007-08-13 10:54:34  IP: 219.134.235.*&lt;br /&gt;    支持啊！这么好的东西&lt;br /&gt;&lt;br /&gt;#maer56 发表于2007-08-13 15:03:23  IP: 211.101.34.*&lt;br /&gt;    http://jsdoc.cn 我做的JavaScript站点&lt;br /&gt;&lt;br /&gt;#shaguaprince 发表于2007-08-14 00:53:39  IP: 124.236.192.*&lt;br /&gt;    支持!&lt;br /&gt;&lt;br /&gt;#foxfab 发表于2007-08-14 15:18:44  IP: 210.21.227.*&lt;br /&gt;    支持，不過代碼好多不能直接用，要修改的地方好多哦，&lt;br /&gt;    比如那個統計網頁打開時間的代碼錯誤比較多。修改如下：&lt;br /&gt;    &lt;script language=javascript&gt;&lt;br /&gt;    tim=1&lt;br /&gt;    setInterval("tim++",100)&lt;br /&gt;    b=1&lt;br /&gt;    var autourl=new Array()&lt;br /&gt;    autourl[1]="www.msic.com.cn";&lt;br /&gt;    autourl[2]="www.cs.vvv.vom";&lt;br /&gt;    autourl[3]="www.sina.com.cn";&lt;br /&gt;    autourl[4]="www.nuaa.edu.cn";&lt;br /&gt;    autourl[5]="www.cctv.com";&lt;br /&gt;    function butt()&lt;br /&gt;    {&lt;br /&gt;    document.write("&lt;form name=autof&gt;");&lt;br /&gt;    {&lt;br /&gt;    for(var i=1;i&lt;=autourl.length;i++)&lt;br /&gt;    {&lt;br /&gt;    document.write("&lt;input type=text name=txt"+i+" size=10 value=測試中……&gt; =》&lt;input type=text name=url"+i+" id=c"+i+" size=40&gt; =》&lt;input type=button name=b"+i+" value='GO' onclick=window.open(this.form.url"+i+".value)&gt;&lt;br&gt;");&lt;br /&gt;    document.write("&lt;input type=submit value=刷新&gt;");&lt;br /&gt;    //alert(document.forms[0]["url"+i]);&lt;br /&gt;    }&lt;br /&gt;    }&lt;br /&gt;    document.write("&lt;/form&gt;");&lt;br /&gt;    }&lt;br /&gt;    butt();&lt;br /&gt;    function auto(url)&lt;br /&gt;    {&lt;br /&gt;    document.forms[0]["url"+b].value = url;&lt;br /&gt;    if(tim&gt;200)&lt;br /&gt;    {&lt;br /&gt;    document.forms[0]["txt"+b].value="鏈接超時";&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;    document.forms[0]["txt"+b].value="時間"+tim/10+"秒";&lt;br /&gt;    b++;&lt;br /&gt;    }&lt;br /&gt;    }&lt;br /&gt;    function run()&lt;br /&gt;    {&lt;br /&gt;    for(var i=1;i&lt;autourl.length;i++)&lt;br /&gt;    {&lt;br /&gt;    document.write("&lt;img src=http://"+autourl[i]+"/"+Math.random()+" width=1 height=1 onerror=auto('http://"+aut&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-1413893933538386867?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/1413893933538386867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=1413893933538386867' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/1413893933538386867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/1413893933538386867'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/10/javascript55.html' title=' 转载 Javascript中最常用的55个经典技巧收藏'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-285583023899821611</id><published>2008-08-19T00:02:00.000-07:00</published><updated>2008-08-19T00:04:21.420-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='date.js'/><title type='text'>a simple javascript library to get day or timestamp</title><content type='html'>Date.prototype.getTimestamp = function(format){//the separatings line can be "-" ,'/' or '.' or else&lt;br /&gt; var currentTime = new Date();&lt;br /&gt; var thisYear = currentTime.getFullYear();&lt;br /&gt; var thisMonth = currentTime.getMonth()+1;&lt;br /&gt; var today = currentTime.getDate();&lt;br /&gt; var hh = currentTime.getHours();&lt;br /&gt; var mm = currentTime.getMinutes()&gt;10?currentTime.getMinutes():("0"+currentTime.getMinutes())&lt;br /&gt; var ss = currentTime.getSeconds()&gt;10?currentTime.getSeconds():("0"+currentTime.getSeconds());&lt;br /&gt;        return ( format.replace(/(y{2,4})/,thisYear).replace('MM',thisMonth).replace('dd',today).replace('hh',hh).replace('mm',mm).replace('ss',ss));&lt;br /&gt;     &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Date.prototype.getSomeDay = function(someday){&lt;br /&gt; var weekend=['Sun','Mon','Tue','Wed','Thu','Fri','Sat'];&lt;br /&gt;        var now = someday.split(/[\-|\/|\.]/);&lt;br /&gt;        var thisYear = parseInt(now[0]);&lt;br /&gt; var thisMonth = parseInt(now[1].replace(/(^0)/,''));&lt;br /&gt; var today = parseInt(now[2].replace(/(^0)/,''));&lt;br /&gt; if(thisMonth == 1) {&lt;br /&gt;  thisMonth = 13;&lt;br /&gt;  thisYear-=1;&lt;br /&gt; }&lt;br /&gt; if(thisMonth ==2){&lt;br /&gt;  thisMonth =14;&lt;br /&gt;  thisYear-=1;&lt;br /&gt; } &lt;br /&gt; var week=Math.round((today+2*thisMonth+3*(thisMonth+1)/5+thisYear+thisYear/4-thisYear/100+thisYear/400)%7); &lt;br /&gt; return weekend[week];&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-285583023899821611?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/285583023899821611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=285583023899821611' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/285583023899821611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/285583023899821611'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/08/simple-javascript-library-to-get-day-or.html' title='a simple javascript library to get day or timestamp'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-3320127248797080662</id><published>2008-07-22T19:35:00.000-07:00</published><updated>2008-07-23T21:57:14.169-07:00</updated><title type='text'>Configuration about tomcat and apache with ssi</title><content type='html'>Traditionally,we use tomcat which is a container as server to parse  servlet and jsp,but as we know,apache can handle some staticl pages like html,shtml faster than tomcat,so usually we use them together for our website,but there is another configuration which is normally used by apache without tomcat,can we use them all together for our website?to be honest,I think you can,here is the configration about apache:&lt;br /&gt;(1)apache with tomcat:# BEGIN This is for tomcat server&lt;br /&gt;# load the jk_mode&lt;br /&gt;LoadModule jk_module modules/mod_jk-1.2.26-httpd-2.2.4.so&lt;br /&gt;# set the configure file for jk&lt;br /&gt;JkWorkersFile conf/workers.properties&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Where to put jk shared memory&lt;br /&gt;# Update this path to match your local state directory or logs directory&lt;br /&gt;#JkShmFile /var/log/httpd/mod_jk.shm&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Where to put jk logs&lt;br /&gt;# Update this path to match your logs directory location (put mod_jk.log next to access_log)&lt;br /&gt;JkLogFile logs/mod_jk.log&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Set the jk log level [debug/error/info]&lt;br /&gt;JkLogLevel info&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Select the timestamp log format&lt;br /&gt;JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "&lt;br /&gt;&lt;br /&gt;# set the forward&lt;br /&gt;JkMount /*.jsp worker1&lt;br /&gt;JkMount /*.do worker1&lt;br /&gt;&lt;br /&gt;# Alias EarthData&lt;br /&gt;Alias /vc_EarthMap/ "/usr/virtualchina/EarthData/"&lt;br /&gt;Alias /vc_Model/ "/usr/virtualchina/data/"&lt;br /&gt;Alias /vc_Texture/ "/usr/virtualchina/data/"&lt;br /&gt;Alias /vc_File/sohu/ "/usr/virtualchina/sohu/"&lt;br /&gt;Alias /v/ "E:/WebApp/virtualchina/webapp/"&lt;br /&gt;# Alias the root dir to /&lt;br /&gt;#JkAutoAlias "C:/Program Files/apache-tomcat-6.0.14/webapps/ROOT"&lt;br /&gt;#JkMount /* worker1&lt;br /&gt;&lt;br /&gt;&lt;Directory "E:/WebApp/virtualchina/webapp/"&gt;&lt;br /&gt;    #&lt;br /&gt;    # Possible values for the Options directive are "None", "All",&lt;br /&gt;    # or any combination of:&lt;br /&gt;    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews&lt;br /&gt;    #&lt;br /&gt;    # Note that "MultiViews" must be named *explicitly* --- "Options All"&lt;br /&gt;    # doesn't give it to you.&lt;br /&gt;    #&lt;br /&gt;    # The Options directive is both complicated and important.  Please see&lt;br /&gt;    # http://httpd.apache.org/docs/2.2/mod/core.html#options&lt;br /&gt;    # for more information.&lt;br /&gt;    #&lt;br /&gt;    Options FollowSymLinks&lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # AllowOverride controls what directives may be placed in .htaccess files.&lt;br /&gt;    # It can be "All", "None", or any combination of the keywords:&lt;br /&gt;    #   Options FileInfo AuthConfig Limit&lt;br /&gt;    #&lt;br /&gt;    AllowOverride None&lt;br /&gt;&lt;br /&gt;    #&lt;br /&gt;    # Controls who can get stuff from this server.&lt;br /&gt;    #&lt;br /&gt;    Order allow,deny&lt;br /&gt;    allow  from all&lt;br /&gt;&lt;br /&gt;&lt;/Directory&gt;&lt;br /&gt;&lt;Directory "/usr/tomcat/webapps/v/"&gt;&lt;br /&gt; Options  FollowSymLinks&lt;br /&gt;        AllowOverride None&lt;br /&gt; Order allow,deny&lt;br /&gt; allow from all&lt;br /&gt;&lt;/Directory&gt;&lt;br /&gt;&lt;br /&gt;# protect the WEB-INF dir&lt;br /&gt;&lt;Directory "/usr/tomcat/webapps/v/WEB-INF"&gt;&lt;br /&gt;    AllowOverride None&lt;br /&gt;    Order deny,allow&lt;br /&gt;    Deny from all&lt;br /&gt;&lt;/Directory&gt;&lt;br /&gt;&lt;br /&gt;&lt;Directory "/usr/tomcat/webapps/v/META-INF"&gt;&lt;br /&gt;    AllowOverride None&lt;br /&gt;    Order deny,allow&lt;br /&gt;    Deny from all&lt;br /&gt;&lt;/Directory&gt;&lt;br /&gt;# END&lt;br /&gt;&lt;br /&gt;#put this to the beginning of the httpd.conf&lt;br /&gt;&lt;br /&gt;(2)enable ssi:&lt;br /&gt; remove the comments for these two lines:&lt;br /&gt;   # AddType text/html .shtml&lt;br /&gt;  # AddOutputFilter INCLUDES .shtml &lt;br /&gt;changed to be:&lt;br /&gt;  AddType text/html .shtml&lt;br /&gt;   AddOutputFilter INCLUDES .shtml &lt;br /&gt;add "Includes" to the end of this line&lt;br /&gt;   Options Indexes FollowSymLinks &lt;br /&gt;to be&lt;br /&gt;   Options Indexes FollowSymLinks Includes &lt;br /&gt;(3)add a file named workers.properties under apache2.2\conf ,the content is:&lt;br /&gt;&lt;br /&gt;   # Define 1 real worker using ajp13&lt;br /&gt;   worker.list=worker1&lt;br /&gt;   # Set properties for worker1 (ajp13)&lt;br /&gt;   worker.worker1.type=ajp13&lt;br /&gt;   worker.worker1.host=localhost&lt;br /&gt;   worker.worker1.port=8009&lt;br /&gt;tomcat:&lt;br /&gt;(1)&lt;br /&gt;  Rename $CATALINA_BASE/server/lib/servlets-ssi.renametojar to $CATALINA_BASE/server/lib/servlets-ssi.jar.&lt;br /&gt;(2)&lt;br /&gt;To use the SSI servlet, remove the XML comments from around the SSI servlet and servlet-mapping configuration in $CATALINA_BASE/conf/web.xml.&lt;br /&gt;(3)&lt;br /&gt;To use the SSI filter, remove the XML comments from around the SSI filter and filter-mapping configuration in $CATALINA_BASE/conf/web.xml&lt;br /&gt;(4)open the $CATALINA_BASE/conf/context.xml&lt;br /&gt;   add a property for the first line&lt;br /&gt;  &lt;Context privileged="true"&gt;&lt;br /&gt;&lt;br /&gt;that is all the steps I did,hope it can help you,cheers!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-3320127248797080662?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/3320127248797080662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=3320127248797080662' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/3320127248797080662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/3320127248797080662'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/07/configuration-about-tomcat-and-apache.html' title='Configuration about tomcat and apache with ssi'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-7774222659504745106</id><published>2008-07-17T20:24:00.000-07:00</published><updated>2008-07-17T20:25:58.643-07:00</updated><title type='text'>RevealTrans Filter --Joe Burns</title><content type='html'>The Code&lt;br /&gt;     It kills me that this is so simple. Here's the code that creates the effects. They are META commands so they go between your document's &lt;HEAD&gt; commands, below the &lt;TITLE&gt; and &lt;/TITLE&gt; commands. Here they are: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;META HTTP-EQUIV="Site-Enter" content="revealTrans(Duration=1.0,Transition=23)"&gt;&lt;br /&gt;&lt;META HTTP-EQUIV="Site-Exit" content="revealTrans(Duration=1.0,Transition=23)"&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's What's Happening&lt;br /&gt;     I'll only do the top command. You can pretty much take it from there to figure out the bottom one.&lt;br /&gt;&lt;br /&gt;META means that this command will tell about the page.&lt;br /&gt;&lt;br /&gt;HTTP-EQUIV stands for Hypertext Transfer Protocol Equivalent. That's a fancy way of saying, through HTTP, make an equal to this page. Or in simpler terms, do something to the display of this page.&lt;br /&gt;&lt;br /&gt;"Site-Enter" means to do the transition when someone enters the page. I think this is why you cannot get the effect when simply reloading.&lt;br /&gt;&lt;br /&gt;revealTrans is DHTML script denoting that the page should be "revealed".&lt;br /&gt;&lt;br /&gt;Duration=1.0 is the duration of the effect. It's set to one second right now.&lt;br /&gt;&lt;br /&gt;Transition=23 is to randomly choose from 22 other transitions. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What Was That Last One Again?&lt;br /&gt;     What? It doesn't make perfect sense to you that 23 is the perfect number for a random transition? Me neither, actually. And to be quite honest, I'm still not sure I am totally correct. I base my statements on a totally unscientific process of entering the numbers 1 through 46 (2 x 23) into the transition statement and recording what happened.&lt;br /&gt;     You're right. I have no life. Here's what I found: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Transition Numbers&lt;br /&gt;     You can try this for yourself. Just plug the numbers in and see. This is also pretty helpful knowledge if you want to set a specific transition.&lt;br /&gt;&lt;br /&gt;#  What Happens &lt;br /&gt;1  Reveal from inside out &lt;br /&gt;2  Scroll in from outer parts &lt;br /&gt;3  Scroll out from center &lt;br /&gt;4  Scroll up from button &lt;br /&gt;5  Scroll down from top &lt;br /&gt;6  Scroll left to right &lt;br /&gt;7  Scroll right to left &lt;br /&gt;8  Vertical Blinds left to right &lt;br /&gt;9  Horizontal Blink top to bottom &lt;br /&gt;10  Combination of 8 and 9 &lt;br /&gt;11  Looks a lot like 8 &lt;br /&gt;12  Comes in using pixels pixels &lt;br /&gt;13  Scrolls in from outer parts &lt;br /&gt;14  Scrolls out from center &lt;br /&gt;15  Closes from both top and bottom &lt;br /&gt;16  Opens from center to top and bottom &lt;br /&gt;17  Diagonal roll from right to left &lt;br /&gt;18  Different angle diagonal roll right to left &lt;br /&gt;19  Number 17 -- the other way &lt;br /&gt;20  Number 18 -- the other way &lt;br /&gt;21  Random horizontal lines &lt;br /&gt;22  Random vertical lines &lt;br /&gt;23  Completely random &lt;br /&gt;Cycle appears to start again after this....  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Where Did These Transitions Come From?&lt;br /&gt;     It has to be from Power Point. In fact, at first I guessed that if you didn't have Power Point installed on your computer you wouldn't get these transitions (you know, like fonts), but no go on that one either. When tested on a system without Power Point installed, the effect worked fine. I guess the commands come right along with the browser.&lt;br /&gt;     Now, I'll bet your first question is whether you can do this with just a simple line of text or an image. The answer is yes, but that's another tutorial. Coming soon -- I guarantee it.&lt;br /&gt;     Try this format, too (added not so long ago): &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;META HTTP-EQUIV="Page-Enter" content="revealTrans(Duration=1.0,Transition=23)"&gt;&lt;br /&gt;&lt;META HTTP-EQUIV="Page-Exit" content="revealTrans(Duration=1.0,Transition=23)"&gt; &lt;br /&gt;Enjoy!  &lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-7774222659504745106?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/7774222659504745106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=7774222659504745106' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/7774222659504745106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/7774222659504745106'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/07/revealtrans-filter-joe-burns.html' title='RevealTrans Filter --Joe Burns'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-6903581818489672736</id><published>2008-07-17T03:16:00.000-07:00</published><updated>2008-07-17T03:28:40.457-07:00</updated><title type='text'>a cool javascript image gallery</title><content type='html'>It takes me so long to find out the attribute about ' filters.revealTrans.Transition',is there any people can tell me what the exactly this meaning,but i have a good example for how to use,enjoy it:&lt;br /&gt;script language=Javascript&gt;&lt;br /&gt;var tupian=new Array();&lt;br /&gt;var tupianlink=new Array();&lt;br /&gt;var adNum=0;  &lt;br /&gt;&lt;br /&gt;tupianlink[0]="http://upisqueen.blogspot.com/";&lt;br /&gt;tupian[0]="http://bbs.caolu.org/UploadFile/2004-11/200411392145762.gif";&lt;br /&gt;tupianlink[1]="http://upisqueen.blogspot.com/";&lt;br /&gt;tupian[1]="http://bbs.caolu.org/UploadFile/2004-11/200411392145762.gif";&lt;br /&gt;tupianlink[2]="http://upisqueen.blogspot.com/";&lt;br /&gt;tupian[2]="http://bbs.caolu.org/UploadFile/2004-11/200411392145762.gif";&lt;br /&gt;tupianlink[3]="http://upisqueen.blogspot.com/";&lt;br /&gt;tupian[3]="http://bbs.caolu.org/UploadFile/2004-11/200411392145762.gif";&lt;br /&gt;var currentimage=new Array();   &lt;br /&gt;for (i=1;i&lt;=4;i++)&lt;br /&gt;{&lt;br /&gt; currentimage[i]=new Image();&lt;br /&gt;    currentimage[i].src=tupian[i];&lt;br /&gt;}&lt;br /&gt;function setCo()&lt;br /&gt;{&lt;br /&gt; if (document.all)&lt;br /&gt; {&lt;br /&gt; tupianrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);&lt;br /&gt; tupianrotator.filters.revealTrans.apply();&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;function playCo()&lt;br /&gt;{&lt;br /&gt; if (document.all)      tupianrotator.filters.revealTrans.play()&lt;br /&gt;}&lt;br /&gt;function nextAd()&lt;br /&gt;{&lt;br /&gt; if(adNum&lt;tupian.length-1)adNum++ ;&lt;br /&gt; else adNum=0;&lt;br /&gt; setCo();&lt;br /&gt; document.images.tupianrotator.src=tupian[adNum];&lt;br /&gt; playCo(); &lt;br /&gt; theTimer=setTimeout("nextAd()", 4000);&lt;br /&gt;}&lt;br /&gt;function linkurl()&lt;br /&gt;{&lt;br /&gt; jumpUrl=tupianlink[adNum];&lt;br /&gt; jumpTarget='_blank';&lt;br /&gt; if (jumpUrl != '')&lt;br /&gt; {&lt;br /&gt;  if (jumpTarget != '')window.open(jumpUrl,jumpTarget);&lt;br /&gt;  else location.href=jumpUrl;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;function listMsg() &lt;br /&gt;{&lt;br /&gt; status=tupianlink[adNum];&lt;br /&gt; document.returnValue = true;&lt;br /&gt;}&lt;br /&gt; document.write('&lt;a onMouseOver="listMsg();return document.returnValue" href="javascript:linkurl()" target="_self"&gt;');&lt;br /&gt; document.write('&lt;img style="FILTER: revealTrans(duration=2,transition=20,border:1px solid #000000"  src="javascript:nextAd()" width="109" height="112"  border=0 name=tupianrotator&gt;&lt;/a&gt;');&lt;br /&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-6903581818489672736?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/6903581818489672736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=6903581818489672736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/6903581818489672736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/6903581818489672736'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/07/cool-javascript-image-gallery.html' title='a cool javascript image gallery'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-1755992109127014457</id><published>2008-07-08T01:50:00.000-07:00</published><updated>2008-07-08T01:55:35.268-07:00</updated><title type='text'>About em defined in css </title><content type='html'>Before I thought "em" is a measure like px ,pt,but i realize what a mistake i made ,well,"em" is not only like measure simple ,it changes as the parent element,a good example i found below:&lt;br /&gt;&lt;br /&gt;&lt;html&gt;&lt;head&gt;&lt;br /&gt;&lt;style type="text/css"&gt;&lt;br /&gt;h1 {font-size:24px;}&lt;br /&gt;h2 {font-size:18px;}&lt;br /&gt;p {font-size:12px;}&lt;br /&gt;h1,h2,p {margin-left:1em;}&lt;br /&gt;small {font-size:0.8em;}&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;div style="border-left:solid 1px #aaa;"&gt;&lt;br /&gt;&lt;h1&gt;left margin =&lt;small&gt;24 pixels&lt;/small&gt;&lt;/h1&gt;&lt;br /&gt;&lt;h2&gt;left margin =&lt;small&gt;18 pixels&lt;/small&gt;&lt;/h2&gt;&lt;br /&gt;&lt;p&gt;left margin =&lt;small&gt;12 pixels&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;/html&gt;&lt;br /&gt;css is so magnificent,to be a css export,i need learn more,speed up!!! &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-1755992109127014457?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/1755992109127014457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=1755992109127014457' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/1755992109127014457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/1755992109127014457'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/07/about-em-defined-in-css.html' title='About em defined in css '/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-4619934390662560112</id><published>2008-05-02T01:44:00.000-07:00</published><updated>2008-05-02T01:46:49.747-07:00</updated><title type='text'>good point for long-term relationship</title><content type='html'>#1 is choosing the right person &lt;br /&gt; It's not about looking good, or having money, or good job, or good sex, or whatever... those are IMO the most important things, more or less in order: &lt;br /&gt;   1: Trust; you have to figure out as soon as possible to what extent you can trust that person. &lt;br /&gt;   2: Common interests; you have to have a number of things in common that you like to do, so that you'll never be bored together. If you're bored, then you'll start spending more and more time apart, and that means eventually one of the two finds someone else who is more compatible... &lt;br /&gt; 3: Understanding; every person is "different", has his or her own special little things. If each one understand how the other's mind and heart "works", if you can tell when he's in a bad mood and what's the best thing to do when he is, if he can tell when you need company and when you need time... &lt;br /&gt; 4: Commitment; both parties need to be in good agreement what they want from the relationship. I'm not talking long-term, but immediately; are you planning to spend the entire weekends together like Eva and I do? Or just go out for dinner once a week? Or do something pretty much every day? Do both people expect sex, or neither? (If one expects sex and the other expects no sex, you're in trouble, it won't last.) Do you want to go together every time you go out, would for example you be jealous if he went to a BLUG meeting without you, or will each one more or less keep a separate life? &lt;br /&gt;And of course, 5: Love ;-) if you're both completely compatible but you don't feel anything special when you're next to him, then it's not going to last too long... &lt;br /&gt;&lt;br /&gt; Sometimes it can be fun to have a short relationship where you don't trust the other party too much, if you're not expecting it to last... but only if you get in it already expecting it to end... personally I prefer more serious relationships &lt;br /&gt;&lt;br /&gt;  Most (not all) great-looking guys are jerks, because they know they can have girls easily... and most (not all) great-looking women are stupid and boring because they know they can get whatever they want only with their looks (and sometimes with some guile) &lt;br /&gt; Besides, when I'm in love with a girl I always think she looks amazing ;-) so that's never been a problem for me&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-4619934390662560112?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/4619934390662560112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=4619934390662560112' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/4619934390662560112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/4619934390662560112'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/05/good-point-for-long-term-relationship.html' title='good point for long-term relationship'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-3483381998856234507</id><published>2008-04-26T20:10:00.000-07:00</published><updated>2008-04-26T20:39:06.331-07:00</updated><title type='text'>css hack</title><content type='html'>&lt;p&gt;The syntax for conditional comments is as follows:&lt;/p&gt;     &lt;dl&gt;&lt;dt&gt;&lt;b&gt;Positive &lt;/b&gt; &lt;/dt&gt;&lt;dd&gt;&lt;code class="markup fragment"&gt;&lt;code class="markup comment"&gt;&lt;!--[if       &lt;var&gt;condition&lt;/var&gt;]&gt; &lt;var&gt;HTML&lt;/var&gt; &lt;![endif]--&gt;&lt;/code&gt;&lt;/code&gt;       &lt;br /&gt;&lt;/dd&gt;&lt;dt&gt;&lt;b&gt;Negative &lt;/b&gt; &lt;/dt&gt;&lt;dd&gt;&lt;code class="markup fragment"&gt;&lt;code class="markup comment"&gt;&lt;!--[if !&lt;var&gt;condition&lt;/var&gt;]&gt;&lt;![IGNORE[--&gt;&lt;/code&gt;&lt;code class="markup ignored"&gt;&lt;!--[IGNORE[]]--&gt;&lt;/code&gt;       &lt;var&gt;HTML&lt;/var&gt; &lt;code class="markup comment"&gt;&lt;!--&lt;![endif]--&gt;&lt;/code&gt;&lt;/code&gt;        &lt;/dd&gt;&lt;/dl&gt;     &lt;p&gt;&lt;i&gt;condition&lt;/i&gt; is one of the following:&lt;/p&gt;     &lt;dl&gt;&lt;dt&gt;&lt;code class="markup fragment"&gt;IE&lt;/code&gt; &lt;/dt&gt;&lt;dd&gt;Any version of IE        &lt;/dd&gt;&lt;dt&gt;&lt;code class="markup fragment"&gt;lt IE &lt;var&gt;version&lt;/var&gt;&lt;/code&gt; &lt;/dt&gt;&lt;dd&gt;Versions less than &lt;var&gt;version&lt;/var&gt;        &lt;/dd&gt;&lt;dt&gt;&lt;code class="markup fragment"&gt;lte IE &lt;var&gt;version&lt;/var&gt;&lt;/code&gt; &lt;/dt&gt;&lt;dd&gt;Versions less than or equal to &lt;var&gt;version&lt;/var&gt;        &lt;/dd&gt;&lt;dt&gt;&lt;code class="markup fragment"&gt;IE &lt;var&gt;version&lt;/var&gt;&lt;/code&gt; &lt;/dt&gt;&lt;dd&gt;Only version &lt;var&gt;version&lt;/var&gt;        &lt;/dd&gt;&lt;dt&gt;&lt;code class="markup fragment"&gt;gte IE &lt;var&gt;version&lt;/var&gt;&lt;/code&gt; &lt;/dt&gt;&lt;dd&gt;Versions greater than or equal to &lt;var&gt;version&lt;/var&gt;        &lt;/dd&gt;&lt;dt&gt;&lt;code class="markup fragment"&gt;gt IE &lt;var&gt;version&lt;/var&gt;&lt;/code&gt; &lt;/dt&gt;&lt;dd&gt;Versions greater than &lt;var&gt;version&lt;/var&gt; &lt;/dd&gt;&lt;/dl&gt;     &lt;p&gt;&lt;var&gt;version&lt;/var&gt; is the version of Internet Explorer, typically     &lt;code class="markup fragment"&gt;5&lt;/code&gt;, &lt;code class="markup fragment"&gt;5.5&lt;/code&gt;,     &lt;code class="markup fragment"&gt;6&lt;/code&gt;, or &lt;code class="markup fragment"&gt;7&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code class="markup fragment"&gt;for example:&lt;/code&gt;&lt;/p&gt;&lt;pre class="markup mixed-content"&gt;&lt;code class="markup fragment"&gt;&lt;br /&gt;&lt;html&gt;&lt;br /&gt;	&lt;head&gt;&lt;br /&gt;		&lt;title&gt;Test&lt;/title&gt;&lt;br /&gt;		&lt;link href="all_browsers.css" rel="stylesheet" type="text/css"&gt;&lt;br /&gt;		&lt;code class="markup comment"&gt;&lt;!--[if IE]&gt; &lt;link href="ie_only.css" rel="stylesheet" type="text/css"&gt; &lt;![endif]--&gt;&lt;/code&gt;&lt;br /&gt;		&lt;code class="markup comment"&gt;&lt;!--[if lt IE 7]&gt; &lt;link href="ie_6_and_below.css" rel="stylesheet" type="text/css"&gt; &lt;![endif]--&gt;&lt;/code&gt;&lt;br /&gt;		&lt;code class="markup comment"&gt;&lt;!--[if !lt IE 7]&gt;&lt;![IGNORE[--&gt;&lt;/code&gt;&lt;code class="markup ignored"&gt;&lt;!--[IGNORE[]]--&gt;&lt;/code&gt; &lt;link href="recent.css" rel="stylesheet" type="text/css"&gt; &lt;code class="markup comment"&gt;&lt;!--&lt;![endif]--&gt;&lt;/code&gt;&lt;br /&gt;		&lt;code class="markup comment"&gt;&lt;!--[if !IE]&gt;--&gt;&lt;/code&gt; &lt;link href="not_ie.css" rel="stylesheet" type="text/css"&gt; &lt;code class="markup comment"&gt;&lt;!--&lt;![endif]--&gt;&lt;/code&gt;&lt;br /&gt;	&lt;/head&gt;&lt;br /&gt;	&lt;body&gt;&lt;br /&gt;		&lt;/body&gt;&lt;/html&gt;&lt;/code&gt;&lt;p&gt;Test&lt;/p&gt;&lt;br /&gt;	&lt;br /&gt;&lt;br /&gt;****In-css hack&lt;br /&gt;&lt;/pre&gt;&lt;h3&gt;body[class|="page-body"]&lt;/h3&gt;     &lt;p&gt;The CSS 2.1 specification isn't clear about whether or not a hyphen can      be included in the value of a hyphen-separated attribute selector. Most      browsers, including &lt;a id="KonaLink9" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.javascriptkit.com/dhtmltutors/csshacks2.shtml#"&gt;&lt;span style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;&lt;span class="kLink" style="border-bottom: 1px solid blue; color: blue ! important;font-family:Verdana,&amp;quot;;font-size:12;color:#0000e0;"   &gt;Firefox&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; and Internet Explorer 7, Allow the     &lt;code class="style selector fragment"&gt;body[class|="page-body"]&lt;/code&gt;      selector to select an element whose start tag looks like this:     &lt;code class="markup fragment"&gt;&lt;/code&gt;. However,      Opera interprets the specification differently in this regard. It splits up      the attribute value by hyphens and only checks the first piece against the      attribute selector value. Obviously, if the attribute was split by hyphens,      the first piece won't have any hyphens in it, so Opera treats this selector      as a non-match. Therefore, when the proper class is applied to the     &lt;code class="markup tag-name"&gt;body&lt;/code&gt; element, this selector matches      Internet Explorer 7 and most modern browsers except Opera. Opera may change      their behavior to match other browsers in the future, but this technique is      known to work for &lt;a id="KonaLink10" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.javascriptkit.com/dhtmltutors/csshacks2.shtml#"&gt;&lt;span style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;Opera &lt;/span&gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;8&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; and 9.&lt;/p&gt;     &lt;p&gt;Here is an example of this technique in use:&lt;/p&gt;     &lt;code class="markup"&gt; &lt;html&gt; 	&lt;head&gt;&lt;title&gt;Test&lt;/title&gt; 		 		&lt;style type="text/css"&gt;&lt;/code&gt;&lt;code class="style"&gt; 			p 			{ 				background: red; &lt;code class="style comment"&gt;/* Applies to all major browsers */&lt;/code&gt; 			}  			body[class|="page-body"] p 			{ 				background: green; &lt;code class="style comment"&gt;/* Applies to IE 7 and most modern browsers except Opera */&lt;/code&gt; 			} 		&lt;/code&gt;&lt;code class="markup"&gt;&lt;/style&gt; 	 		&lt;/head&gt;&lt;/html&gt;&lt;/code&gt;&lt;p&gt;Test&lt;/p&gt; 	&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td id="spacertd" width="15"&gt;&lt;br /&gt;&lt;/td&gt;     &lt;td id="rightcolumn" valign="top"&gt;     &lt;h3&gt;Unrecommended hacks&lt;/h3&gt;     &lt;div id="unrecommended"&gt;   &lt;p&gt;        If you are going to use hacks, the above techniques are the recommended    choices. However, it's interesting to point out the following unrecommended    hacks. Some of them rely on invalid &lt;a id="KonaLink0" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.javascriptkit.com/dhtmltutors/csshacks3.shtml#"&gt;&lt;span style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;CSS&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; or are more clumsy than the above    alternatives.&lt;/p&gt;   &lt;div class="hacks" id="unrecommended-vendor_prefix"&gt;     &lt;h3&gt;&lt;img src="http://www.javascriptkit.com/Red_CurlyC035.gif" border="0" height="17" width="16" /&gt; _property: value and -property: value&lt;/h3&gt;     &lt;p&gt;Due to a parsing error, &lt;a id="KonaLink1" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.javascriptkit.com/dhtmltutors/csshacks3.shtml#"&gt;&lt;span style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;Internet &lt;/span&gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;Explorer&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; 6 and below wouldn't fail on      properties that were prefixed with non-alphanumeric characters. Prefixing a      regular property name with &lt;code class="style fragment"&gt;_&lt;/code&gt; or     &lt;code class="style fragment"&gt;-&lt;/code&gt; will cause the property to be applied      to Internet Explorer 6 and below but generally not in other browsers.      &lt;a id="KonaLink2" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.javascriptkit.com/dhtmltutors/csshacks3.shtml#"&gt;&lt;span style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;&lt;span class="kLink" style="border-bottom: 1px solid blue; color: blue ! important;font-family:Verdana,&amp;quot;;font-size:12;color:#0000e0;"   &gt;Internet &lt;/span&gt;&lt;span class="kLink" style="border-bottom: 1px solid blue; color: blue ! important;font-family:Verdana,&amp;quot;;font-size:12;color:#0000e0;"   &gt;Explorer &lt;/span&gt;&lt;span class="kLink" style="border-bottom: 1px solid blue; color: blue ! important;font-family:Verdana,&amp;quot;;font-size:12;color:#0000e0;"   &gt;7&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; had this bug fixed.&lt;/p&gt;     &lt;p&gt;The CSS specification allows browsers to use an underscore (&lt;code class="style fragment"&gt;_&lt;/code&gt;)      or hyphen (&lt;code class="style fragment"&gt;-&lt;/code&gt;) as a prefix for a      vendor-specific property name with the guarantee that such properties will      never be used in a future CSS standard. Because of this guarantee, these two      prefix characters are ideal options for this hack.&lt;/p&gt;     &lt;p&gt;Although the &lt;a id="KonaLink3" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.javascriptkit.com/dhtmltutors/csshacks3.shtml#"&gt;&lt;span style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;CSS &lt;/span&gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;specification&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; defines this vendor-specific property      syntax, the properties are inherently not part of any W3C-endorsed CSS      profile and are therefore invalid when validated against one. For this      reason, and because there is an often acceptable      alternative, this hack is unrecommended.&lt;/p&gt;     &lt;p&gt;&lt;code class="style fragment"&gt;_&lt;var&gt;property&lt;/var&gt;: &lt;var&gt;value&lt;/var&gt;&lt;/code&gt;      and &lt;code class="style fragment"&gt;-&lt;var&gt;property&lt;/var&gt;: &lt;var&gt;value&lt;/var&gt;&lt;/code&gt;      apply the property value in &lt;strong&gt;IE 6 and below&lt;/strong&gt;. Warning: this      uses &lt;strong&gt;invalid CSS&lt;/strong&gt;.&lt;/p&gt;&lt;/div&gt;   &lt;div class="hacks" id="unrecommended-asterisk_prefix"&gt;     &lt;h3&gt;&lt;img src="http://www.javascriptkit.com/Red_CurlyC035.gif" border="0" height="17" width="16" /&gt; *property: value&lt;/h3&gt;     &lt;p&gt;Although Internet Explorer 7 corrected its behavior when a property name      is prefixed with an underscore or a hyphen, other non-alphanumeric character      prefixes are treated as they were in &lt;a id="KonaLink4" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.javascriptkit.com/dhtmltutors/csshacks3.shtml#"&gt;&lt;span style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;IE6&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;. Therefore, if you add a      non-alphanumeric character such as an asterisk (&lt;code class="style fragment"&gt;*&lt;/code&gt;)      immediately before a property name, the property will be applied in IE and      not in other browsers. Unlike with the hyphen and underscore method, the CSS      specification makes no reservations for the asterisk as a prefix, so use of      this hack could result in unexpected behavior as the CSS specifications      evolve.&lt;/p&gt;     &lt;p&gt;&lt;code class="style fragment"&gt;*&lt;var&gt;property&lt;/var&gt;: &lt;var&gt;value&lt;/var&gt;&lt;/code&gt;      applies the property value in &lt;strong&gt;IE 7 and below&lt;/strong&gt;. It may or may      not work in future versions. Warning: this uses &lt;strong&gt;invalid CSS&lt;/strong&gt;.&lt;/p&gt;&lt;/div&gt;   &lt;div class="hacks" id="unrecommended-body_empty"&gt;     &lt;h3&gt;&lt;img src="http://www.javascriptkit.com/Red_CurlyC035.gif" border="0" height="17" width="16" /&gt; body:empty&lt;/h3&gt;     &lt;p&gt;The &lt;code class="style selector fragment"&gt;:empty&lt;/code&gt; pseudo-classes is      proposed for CSS 3 and should select an element that has no elements or text      inside it. However, when used on the &lt;code class="markup tag-name"&gt;body&lt;/code&gt;      element, &lt;a id="KonaLink5" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.javascriptkit.com/dhtmltutors/csshacks3.shtml#"&gt;&lt;span style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;Firefox &lt;/span&gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;1.5&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; and 2.0 (and corresponding versions of other      Gecko-based browsers) always select it even when the body has content (which      it should always have).&lt;/p&gt;     &lt;p&gt;Although this hack is expected to be valid in CSS 3, it has not yet      reached W3C Recommendation status and is invalid CSS 2.x, so it currently      isn't recommended to use this hack. However, it is probably the best way to      single out recent versions of &lt;a id="KonaLink6" target="_top" class="kLink" style="text-decoration: underline ! important; position: static;" href="http://www.javascriptkit.com/dhtmltutors/csshacks3.shtml#"&gt;&lt;span style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;&lt;span class="kLink" style=";font-family:Verdana,&amp;quot;;font-size:12;color:#b00000;"   &gt;Firefox&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;     &lt;p&gt;&lt;code class="style fragment"&gt;body:empty {}&lt;/code&gt; selects the     &lt;code class="markup tag-name"&gt;body&lt;/code&gt; element in &lt;strong&gt;Firefox 1.5 and      2.0 only&lt;/strong&gt;. It may or may not work in future versions. Warning: this      uses &lt;strong&gt;invalid CSS 2.x&lt;/strong&gt; but &lt;strong&gt;valid CSS 3&lt;/strong&gt;      according to recent drafts.&lt;/p&gt;&lt;/div&gt;   &lt;div class="hacks" id="unrecommended-link_visited"&gt;     &lt;h3&gt;&lt;img src="http://www.javascriptkit.com/Red_CurlyC035.gif" border="0" height="17" width="16" /&gt; a:link:visited, a:visited:link&lt;/h3&gt;     &lt;p&gt;According to the CSS standard, the &lt;code class="style fragment"&gt;:link&lt;/code&gt;      and &lt;code class="style fragment"&gt;:visited&lt;/code&gt; link states are mutually      exclusive: &lt;code class="style fragment"&gt;:link&lt;/code&gt; actually means      "unvisited link". However, IE 7 and below will ignore one of these      pseudo-classes if the other appears later in the same simple selector.&lt;/p&gt;     &lt;p&gt;If you have the tag &lt;code class="markup fragment"&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;&lt;/a&gt;&lt;/code&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;, either &lt;code class="style fragment"&gt;     #linkhack:link:visited {}&lt;/code&gt; or &lt;code class="style fragment"&gt;     #linkhack:visited:link {}&lt;/code&gt; will select the element in IE 7 and below.      The two selectors can be combined for a single declaration block:     &lt;code class="style fragment"&gt;#linkhack:link:visited, #linkhack:visited:link      {}&lt;/code&gt;. In IE 7, you can also use an adjacent sibling combinator (&lt;code class="style fragment"&gt;+&lt;/code&gt;)      to select other elements near the link.&lt;/a&gt;&lt;/p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;This uses perfectly valid CSS, but this method is less practical than      some of the above methods and is therefore      not recommended.&lt;/a&gt;&lt;/p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;code class="style fragment"&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;a:link:visited, a:visited:link {}&lt;/a&gt;&lt;/code&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;      selects an &lt;code class="markup tag-name"&gt;a&lt;/code&gt; element in &lt;strong&gt;IE 7      and below&lt;/strong&gt;. It may or may not work in future versions.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;   &lt;/a&gt;&lt;div class="hacks" id="unrecommended-gt_body"&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;&lt;img src="http://www.javascriptkit.com/Red_CurlyC035.gif" border="0" height="17" width="16" /&gt; &gt;body&lt;/a&gt;&lt;/h3&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;If a simple selector is missing on either side of the child combinator (&lt;code class="style selector fragment"&gt;&gt;&lt;/code&gt;),      Internet Explorer 7 incorrectly assumes that the missing simple selector is      a universal selector. So &lt;code class="style selector fragment"&gt;&gt;body&lt;/code&gt;      is treated by IE7 like &lt;code class="style selector fragment"&gt;*&gt;body&lt;/code&gt;,      while other browsers ignore it because it's a parsing error. Similarly, IE7      treats &lt;code class="style selector fragment"&gt;&gt;&gt;&lt;/code&gt; like     &lt;code class="style selector fragment"&gt;*&gt;*&gt;*&lt;/code&gt;.&lt;/a&gt;&lt;/p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;IE7 has the same quirk with other combinators.     &lt;code class="style selector fragment"&gt;+p&lt;/code&gt; is treated like     &lt;code class="style selector fragment"&gt;*+p&lt;/code&gt; and     &lt;code class="style selector fragment"&gt;~p&lt;/code&gt; is treated like     &lt;code class="style selector fragment"&gt;*~p&lt;/code&gt;. (Note: The     &lt;code class="style selector fragment"&gt;~&lt;/code&gt; combinator is an upcoming CSS      3 feature and is not valid CSS 2.1.)&lt;/a&gt;&lt;/p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;code class="style fragment"&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;&gt;body {}&lt;/a&gt;&lt;/code&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt; selects the body element in     &lt;strong&gt;IE 7 only&lt;/strong&gt;. It may or may not work in future versions.      Warning: this uses &lt;strong&gt;invalid CSS&lt;/strong&gt;!&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;   &lt;/a&gt;&lt;div class="hacks" id="unrecommended-html_star"&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;&lt;img src="http://www.javascriptkit.com/Red_CurlyC035.gif" border="0" height="17" width="16" /&gt; html*&lt;/a&gt;&lt;/h3&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;Internet Explorer 7 fixed the quirk that allowed the universal selector (&lt;code class="style selector fragment"&gt;*&lt;/code&gt;)      to select some nonexistent parent of the &lt;code class="markup tag-name"&gt;html&lt;/code&gt;      element, but there's another issue that they didn't fix: When a universal      selector is directly adjacent to another simple selector without a space      between, Internet Explorer 7 assumes a space there. That means that     &lt;code class="style selector fragment"&gt;html*&lt;/code&gt; is treated by IE7 like     &lt;code class="style selector fragment"&gt;html *&lt;/code&gt;, while other browsers      ignore it because it's a parsing error. Similarly, IE7 treats     &lt;code class="style selector fragment"&gt;**&lt;/code&gt; like     &lt;code class="style selector fragment"&gt;* *&lt;/code&gt;.&lt;/a&gt;&lt;/p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;code class="style fragment"&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;html* {}&lt;/a&gt;&lt;/code&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt; selects all descendants of      the &lt;code class="markup tag-name"&gt;html&lt;/code&gt; element in &lt;strong&gt;IE 7 and      below&lt;/strong&gt;. It may or may not work in future versions. Warning: this      uses &lt;strong&gt;invalid CSS&lt;/strong&gt;!&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;   &lt;/a&gt;&lt;div class="hacks" id="unrecommended-important_ie"&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;&lt;img src="http://www.javascriptkit.com/Red_CurlyC035.gif" border="0" height="17" width="16" /&gt; !ie&lt;/a&gt;&lt;/h3&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;Internet Explorer 7 fixed one of the issues with the     &lt;code class="style fragment"&gt;!important&lt;/code&gt; identifier, but it still has      problems when the identifier has an error in it. If an illegal identifier      name is used in place of &lt;code class="style fragment"&gt;important&lt;/code&gt;,      Internet Explorer 7 and below will handle the property normally instead of      failing. Therefore, in any style declaration block, you can include      properties intended to only apply to Internet Explorer and add an     &lt;code class="style fragment"&gt;!ie&lt;/code&gt; identifier. Almost any word can be      used in place of &lt;code class="style fragment"&gt;ie&lt;/code&gt;.&lt;/a&gt;&lt;/p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;The &lt;code class="style fragment"&gt;!ie&lt;/code&gt; identifier allows the      property to be applied in &lt;strong&gt;IE 7 and below&lt;/strong&gt;. It may or may not      work in future versions. Warning: this uses &lt;strong&gt;invalid CSS&lt;/strong&gt;!&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;   &lt;/a&gt;&lt;div class="hacks" id="unrecommended-important_exclam"&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;&lt;img src="http://www.javascriptkit.com/Red_CurlyC035.gif" border="0" height="17" width="16" /&gt; !important!&lt;/a&gt;&lt;/h3&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;Another problem with the &lt;code class="style fragment"&gt;!important&lt;/code&gt;      identifier that wasn't fixed in IE 7 is the treatment of non-alphanumeric      characters after the identifier. Normally, this should cause the property to      fail, but Internet Explorer 7 and below ignore the additional punctuate and      apply the property as if it just had the &lt;code class="style fragment"&gt;     !important&lt;/code&gt; identifier.&lt;/a&gt;&lt;/p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;     &lt;/a&gt;&lt;p&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt;The &lt;code class="style fragment"&gt;!important!&lt;/code&gt; identifier allows the      property to be applied with importance in &lt;strong&gt;IE 7 and below&lt;/strong&gt;      and the property is not applied in other browsers. It may or may not work in      future versions. Warning: this uses &lt;strong&gt;invalid CSS&lt;/strong&gt;!&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;a href="http://www.blogger.com/foo.html" id="linkhack"&gt; &lt;/a&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;pre class="markup mixed-content"&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-3483381998856234507?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/3483381998856234507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=3483381998856234507' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/3483381998856234507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/3483381998856234507'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/04/css-hack.html' title='css hack'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-2528240047431557604</id><published>2008-04-19T22:55:00.000-07:00</published><updated>2008-04-19T23:00:52.282-07:00</updated><title type='text'>Thingking of website performance</title><content type='html'>Recently I have been read the book "website performance",and got some ideas for this,I tried to set up one to prove it ,but i need so many technical information,like apache configuration,and the client interact with the server,I think I have some questions need to be resolved.&lt;br /&gt;   To be a profient programmer ,I need more and more experience.&lt;br /&gt;    I want to share the book with you guys,but i dont kow how to attach it,hope i can get it soon.&lt;br /&gt;    Anyone wants to do research with me ,like me know it,my msn:upisqueen@hotmail.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-2528240047431557604?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/2528240047431557604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=2528240047431557604' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/2528240047431557604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/2528240047431557604'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/04/thingking-of-website-performance.html' title='Thingking of website performance'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7307148017974385604.post-9050983967425850876</id><published>2008-04-18T02:20:00.000-07:00</published><updated>2008-04-18T02:23:21.101-07:00</updated><title type='text'>Got my brand-new start</title><content type='html'>Hi,guys,I am Chris,but i am a girl,so i am happy to be called "up",because my believe is "whatever happened,nothing can hinder me to go up and chase my dream"!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7307148017974385604-9050983967425850876?l=upisqueen.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://upisqueen.blogspot.com/feeds/9050983967425850876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7307148017974385604&amp;postID=9050983967425850876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/9050983967425850876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7307148017974385604/posts/default/9050983967425850876'/><link rel='alternate' type='text/html' href='http://upisqueen.blogspot.com/2008/04/got-my-brand-new-start.html' title='Got my brand-new start'/><author><name>chris</name><uri>http://www.blogger.com/profile/15998105683945287670</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
