I'm working on a website at the moment, and I've got a rather interesting idea for a background image on my website. It's a rather large image so depending on screen size, the bottom half may or may not show.
I was wondering if it was at all possible using jQuery to set the attachment of the background image to fixed, ONLY WHEN the user has scrolled down, revealing the bottom of the image.
The background would be positioned in CSS with "top", and would scroll as normal, until there is no more background image to display, then it will set it's attachment to fixed..
My apologies if this isn't a good explanation, but i'm not exactly sure how to describe it.
Thank you HTML/CSS/JavaScript guru's in advance..