PDA

View Full Version : Transparency Fix?



porkchop_001
09-01-2010, 01:27 AM
Hi Guys,

I have a fading slideshow as a banner on my site. I want to remove the background so it's just transparent.

When I tweak the code and get rid of the background the transitions stay visible after they've cycled through.

This is the site it's happening on (the 'Home' page):

http://www.thenativedrum.com/website_revamp_2

On line #53 if I delete the background attribute it solves the background issue, but the first image stays on the screen when the second one displays.

I imagine it's a quick fix - but Im not sure where to find it!

Javascript code:

http://thenativedrum.com/website_revamp_2/js/fadeslideshow.js

Thanks in advance!

jscheuer1
09-01-2010, 07:28 AM
Add this rule to your stylesheet:


#banner, #banner .gallerylayer {
background: #c5c3c3 url(../images/background_content.png) 0 -94px !important;
}

porkchop_001
09-03-2010, 07:16 AM
Thanks a lot John - greatly appreciated :)