faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 6 people (67%) answered Yes
Recently 3 of 5 people (60%) answered Yes

Entry

Can i make the image transferent using javascript, so that i can see the text behind the image?

Apr 4th, 2008 20:56
ha mo, Jonathan Nelson, kishor hanchate, http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/IMG.asp


Confusing question, don't know what you mean by "transferent," if you 
meant "transparent" or "translucent."  I can at least answer for 
transparent, and at least for IE...
Just set image_reference.style.visibility = "hidden" or "visible"
I don't have NS, or I'd try it out for you there too.  If you want to 
look into translucency... I don't know.  Try looking into 
IE's "filters" at http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/dhtml/reference/objects/IMG.asp
Good luck.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com