Friday, November 24, 2006

Controling Opacity

I have found this very helpful in doing "flash-like" java scripts driven by user input. Takes 1 minute to create transition effect lib with this function.

Enjoy!


P.S.: Oh!
The only thing left for you to implement isIE()!!!!!



function setObjectOpacity(obj, opacity)
{
//IE
if (isIE())
obj.style.filter = "alpha(opacity:"+opacity+")";
else
{
opacity = (opacity == 100)?99.999:opacity;//99.9 for Firefox flicker bug

// Konqueror, Safari
obj.style.KHTMLOpacity = opacity / 100;
// Old Mozilla and Firefox
obj.style.MozOpacity = opacity / 100;
// CSS3, Safari , new Firefox (Gecko)
obj.style.opacity = opacity / 100;
}//else
}

36 comments:

Anonymous said...

I just found the website who writes about
many
home business opportunity

If you want to know more here it is
home based business opportunity
www.home-businessreviews.com

Anonymous said...

My friend and I were recently discussing about how modern society has evolved to become so integrated with technology. Reading this post makes me think back to that discussion we had, and just how inseparable from electronics we have all become.


I don't mean this in a bad way, of course! Ethical concerns aside... I just hope that as technology further develops, the possibility of copying our brains onto a digital medium becomes a true reality. It's a fantasy that I daydream about every once in a while.


(Posted on Nintendo DS running [url=http://quizilla.teennick.com/stories/16129580/does-the-r4-or-r4i-work-with-the-new-ds]R4i[/url] DS FPost)

Anonymous said...

Hi, provigil without prescription - buy modafinil online without prescription http://www.onlinepharmdiscount.com/provigil/, [url=http://www.onlinepharmdiscount.com/provigil/]order provigil [/url]

Anonymous said...

4, [url=http://www.maxaltrxonline.net/]buy maxalt online no prescription [/url] - purchase maxalt online - maxalt online pharmacy http://www.maxaltrxonline.net/.

oakleyses said...

louboutin outlet, michael kors handbags clearance, air jordan, oakley vault, burberry outlet online, kate spade handbags, louis vuitton handbags, michael kors outlet online, ray ban sunglasses, cheap oakley sunglasses, michael kors outlet online, toms shoes, prada outlet, true religion outlet, jordan shoes, coach purses, longchamp handbags, michael kors outlet, polo ralph lauren outlet online, coach outlet store online, nike free, tiffany and co, polo ralph lauren outlet, prada handbags, oakley sunglasses, nike air max, longchamp handbags, true religion, nike free, kate spade outlet, nike shoes, tory burch outlet, nike air max, louis vuitton outlet online, coach outlet, coach factory outlet, true religion jeans, ray ban sunglasses outlet, air max, longchamp outlet, air max, gucci outlet, louboutin, cheap michael kors, chanel handbags

Unknown said...

ugg boots
air jordan 13
air jordan shoes
beats headphones
bottega veneta outlet
burberry outlet
canada goose outlet
chanel outlet
cheap wedding dresses
coach outlet
dansko outlet
evening dresses
hermes belt
hermes birkin
hermes outlet
juicy couture outlet
kate spade outlet
mbt shoes
michael kors outlet
mizuno running
moncler coats
mulberry outlet
soccer shoes
nike outlet store
the north face outlet
oakley sunglasses
ray ban sunglasses
stuart weitzman boots
surpa sneakers
north face outlet
the north face clearance
the north face jackets
the north face outlet store
north face jackets
the north face uk
tommy hilfiger outlet
tory burch outlet
true religion jeans
vans shoes
ysl outlet

oakleyses said...

guess pas cher, nike air max, nike roshe run, mulberry uk, coach outlet, true religion outlet, true religion outlet, new balance pas cher, abercrombie and fitch, longchamp, nike air max, scarpe hogan, air max pas cher, sac vanessa bruno, ray ban pas cher, nike roshe, north face, coach purses, burberry pas cher, nike free pas cher, lacoste pas cher, timberland pas cher, coach outlet, michael kors uk, michael kors, nike free, longchamp pas cher, tn pas cher, hollister uk, vans pas cher, true religion jeans, ray ban uk, true religion, michael kors outlet online, north face pas cher, hermes pas cher, air jordan, lululemon outlet online, hollister, michael kors canada, louboutin, nike blazer pas cher, kate spade outlet, coach outlet store online, oakley pas cher, converse pas cher, nike air force, ralph lauren uk, air max, ralph lauren pas cher

oakleyses said...

pandora jewelry, swarovski uk, canada goose, moncler outlet, links of london uk, coach outlet, ugg boots, hollister canada, sac lancel, marc jacobs handbags, air max, pandora jewelry, converse, replica watches, vans, wedding dress, uggs outlet, canada goose pas cher, canada goose, uggs canada, louis vuitton uk, moncler, barbour, gucci, supra shoes, moncler outlet, canada goose, canada goose outlet, doke gabbana outlet, moncler, juicy couture outlet, sac louis vuitton, canada goose, canada goose outlet, montre femme, thomas sabo uk, ugg soldes, louis vuitton, louis vuitton pas cher, moncler, swarovski jewelry, michael kors outlet online, louis vuitton canada, barbour jackets, converse shoes, ugg, canada goose outlet, ugg, ray ban, karen millen, moncler

Unknown said...

Tory Burch Flats Marc Jacobs Handbags Jimmy Choo Shoes Jimmy Choos True Religion Outlet ED Hardy Outlet
Burberry Belt Tory Burch Boots Louis Vuitton Belt Ferragamo Belt Marc Jacobs Handbags Lululemon Outlet Christian Louboutin Shoes True Religion Outlet Tommy Hilfiger Outlet
Michael Kors Outlet Coach Outlet Red Bottoms Kevin Durant Shoes New Balance Outlet Adidas Outlet Coach Outlet Online Stephen Curry Jersey Vans Outlet Ralph Lauren Outlet
Ugg Boots Sale UGGS For Women Skechers Go Walk Adidas Yeezy Boost Adidas Yeezy Adidas NMD Coach Outlet North Face Outlet Ralph Lauren Outlet Puma Outlet Polo Outlet

chenlina said...

ugg boots paris
louis vuitton outlet
minnesota vikings jerseys
coach outlet
washington wizards jerseys
fitflops sale clearance
ray ban sunglasses
cheap oakley sunglasses
ugg boots
oakley sunglasses
chenlina20161027

Unknown said...

michael kors handbags sale
ralph lauren pas cher
cheap oakley sunglasses
golden state warriors
michael kors handbags
miami dolphins jerseys
converse shoes
adidas nmd r1
new york knicks
jordan shoes

Unknown said...

ravens jerseys
michael kors handbags
hermes belt
fitflops shoes
abercrombie and fitch
michael kors outlet store
michael kors handbags
nike air huarache
bears jerseys
michael kors handbags

Unknown said...

fitflops sale clearance
ray ban sunglasses outlet
coach outlet online
ugg outlet
toms shoes
saics running shoes
los angeles lakers
ugg boots
arizona cardinals jerseys
nike trainers

KIMI HIME said...

Thank you for this very useful health article

Cara mengobati osteoporosis
Cara Mengobati Campak
Cara Menghilangkan Sakit Tenggorokan
Cara Mengeringkan Luka Diabetes
Obat untuk Menhilangkan Prurigo

Obat Luka Berair said...

This article is interesting and useful. Thank you for sharing. And let me share an article about health that God willing will be very useful. Thank you :)

Pengobatan efektif Menghilangkan Benjolan di Payudara
Pengobatan Miom tanpa Operasi
Obat Penghancur Benjolan di Leher
Cara Mengobati Sakit Dada secara Alami
Cara Mengobati sakit Telinga Secara Alami
Obat Herbal Penghancur Miom

Cara Mengatasi Penyakit Asam Lambung said...

Thanks for sharing the information

Khasiat QnC Jelly Gamat
Obat Eksim Atopik
Pengobatan Herbal Penyakit Liver
Cara Mengobati Alergi Dingin
Obat Paling Mujarab untuk Diabetes
Obat Batu Empedu Alami
PENGOBATAN PENYAKIT AMANDEL
Cara Mengatasi Penyakit Asam Lambung

Obat Herbal Untuk Penyakit Encok said...

This article is interesting and useful

Keunggulan Khasiat Dan Manfaat Walatra Gamat Emas Kapsul
Obat Paling Manjur Untuk ISK
Bahaya Keringat Dingin

Obat Herbal Untuk Sakit Perut Melilit said...

Terima kasih artikelnya sangat membantu sekali mudah-mudahan artikel ini bermanfaat bagi semua.

Cara Mengatasi Penyakit Kuning Yang Tak Kunjung Sembuh
Obat Herbal Untuk Penyakit Chikungunya
Obat Flu Dan Batuk Anak
Obat Cacingan Super Ampuh
Obat Untuk Mengatasi Pudarnya Warna Kulit
Solusi Paling Tepat Untuk Penyakit Kanker Ovarium

manfaar Pisang Untuk Masker Wajah said...

Thank you for sharing an interesting and very useful article. And let me share an article about health here I believe this is useful. Thank you :)


Jenis Pisang untuk Masker Wajah
Obat Sakit Pundak dan Leher
Ciri-ciri Penyakit Asbestosis

yanmaneee said...

adidas ultra boost
michael kors outlet store
michael kors wallet
adidas nmd r1
salvatore ferragamo belt
adidas yeezy boost
air jordan
cheap jordans
jordans
birkin bag

Susan said...

I discovered your this post while hunting down data about site related examination ... It's a decent post .. continue posting and upgrading data. Wondering where to go in 2019? Things to do has ranked as the best include a remote, idyllic island, the design capital ...

Pfizer Center said...

Viagra Asli
Jual Viagra Asli
Obat Perangsang Pria
Kondom Sambung 18cm
Obat Perangsang Wanita
Obat Perangsang Pria
Kondom Sambung
Viagra Asli Usa
Opium Spray

yanmaneee said...

supreme clothing
golden goose outlet
golden goose
supreme hoodie
golden goose
golden goose
golden goose sneakers
golden goose outlet
goyard handbags
golden goose

casa98football said...

ทำเงินได้เป็นแสน ได้ที่นี่ที่เดียว คลิก -> สูตร slotxo
วิธีการเล่นสล็อตออนไลน์ที่ง่าย ได้ที่นี่ที่เดียว คลิก -> วิธีเล่น slotxo
ท่านสามารถเชิญเพื่อนมาเล่นได้ที่ คลิก -> slotxo ฝาก 200 ได้ฟรี 3%

cheipz said...

pgslot เกมส์สล็อตออนไลน์ที่ดีที่สุด pg slot

Unknown said...

watch all latest suryavamsam videos online in HD for free

Anonymous said...

Watch all daily malaysian tv programs and shows online in HD for free https://tontonhd.com/ subscribe now

Anonymous said...

Goldenslot เว็บเกมส์ออนไลน์ที่ดีที่สุด ท่านสามารถเข้าไปเล่นสล็อตออนไลน์ได้ที่ ทางเข้า Goldenslot หรือ เข้ามาสมัครสมาชิกได้ที่ สมัคร Goldenslot

Goldenslot มาตราฐานระดับโลกที่กำลังได้รับความนิยมมากที่สุด

Gênesis said...

Assistir novelas online capítulos completos Ao Vivo na Íntegra. Ver novelas online no canal Tá Bonito Brasil.

unkowm said...

Watch Tamil tv serial Then Mozi only at Then Mozi in HD quality for free.

unkowm said...

Watch Iniya Iru Malargal Serial Episode in HD. Tamil language tv serial Iniya Iru Malargal latest episode video

theetayt said...

this link d5p86q5k22 high end replica bags replica bags koh samui find here t6a85m5e15 louis vuitton replica replica radley bags replica bags philippines replica gucci bags l3u54j0r16 best replica ysl bags

kanati said...


觀眾可以在線觀看台劇、港劇、日劇、韓劇、陸劇、美劇等熱門劇集。 影音視頻播放清晰流暢, 操作界面簡單友好,真正為用戶帶來最舒適順暢的線上觀看體驗 v每天更新海量高清1080P電影免費在線觀看,陸劇線上看 , 追劇零時差。內容豐富多元,涵蓋劇集、電影、綜藝、動漫、娛樂等優質影視節目,簡單友好

Anonymous said...

Informational Article aboutapk

Anonymous said...

吳春怡,韓承羽,姬晨牧,陸劇 線上看任希鴻,馮玉璽,白慶琳,李星昊

jerry said...

楓林網石悅安鑫, 王勁松,範明,嶽麗娜, 日劇線上看,美劇線上看,港劇線上看,Maplestage,8maple, 操作界面簡單友好,陸劇線上看 超,奚望,吳春怡,韓承羽,姬晨牧,任希鴻,馮玉璽,白慶琳