0

How can I make transparent gradient on my webpage like that on the picture? I can't use png for that, because images are loaded from server dynamically and will be scrolled:

enter image description here

Scroller is written in JS. I don't want to use flash for that gradient.

EDIT: I must have possibility to change that background (by user) and it must fit screen (about 95%). There is not possible to make background mask over the scroller. :(

PS: Sorry for my English.

Thanks :)

xdonko
  • 269
  • 1
  • 3
  • 8

1 Answers1

2

you know the background image, what you can do duplicate that image, cut the middle part using photshop rectangular marquee tool but select feather to like 20px. Then you can you use that image as a mask. Does it make any sense?..

Look at this: http://img836.imageshack.us/img836/8441/maskki.jpg

Adaz
  • 1,627
  • 12
  • 14