You can use the CSS attribute ';opacity'; to do this. Here's some info on it: http://www.w3schools.com/Css/css_image_t鈥?/a>
I would suggest you also take a look at MooTools (http://mootools.net/). If you're not familiar with MooTools, it's a free open-source javascript framework that will let you create some really nice effects--including transparency--that would make a really great way to preview various frames and mattes on your photography site. I found the tutorials and documentation on Mootools site to be far inferior to the tutorials that you can find on this guy's site: (http://www.consideropen.com/blog/2008/08鈥?/a> so if you get frustrated with the Mootools site, take a look there.
No comments:
Post a Comment