Is it possible to get a similar effect with JavaScript or CSS ? What would be the best method to accomplish this effect.
Basically what it does is it changes the background color of the page with some nice blur effect depending on the slider image.
See the example : http://www.gog.com home page slider. (I believe they are simply creating background image in photoshop for each slider image.
http://images-1.gog.com/23382bd5e4e5deb7036d68e04286120df2a1d424881fcafb21ecd2c9a5c24ab5_bg_1920.jpg
http://images-2.gog.com/a88f5d7a5161fb204d2f78adf14eea73e03dde54eb8ab516e50b077dcbb72cba_bg_1920.jpg
http://images-3.gog.com/ab956772ba01063aadfb8cda56d2e9ed3a6e0abd1534ce94b5f3a524e085656f_bg_1920.jpg
2
Answers
Here’s one way to accomplish this using jQuery.
It uses three fixed-position
div
s, and then it animates their opacity.