Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
Thread: Dynamic Changing Background
03-30-2013, 08:00 PM #1
- Join Date
- Mar 2013
- Thanked 0 Times in 0 Posts
Dynamic Changing Background
I need some help with coding a Dynamic Chanign Background. I have never don jQuery/Java its somthing im learning. Can anyone give me the code or help me with the coding of it. Any sugestions are all good.
Thanks all of you that post
03-31-2013, 02:21 AM #2
03-31-2013, 10:46 AM #3
- Join Date
- Jun 2002
- London, England
- Thanked 2,578 Times in 2,556 Posts
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
04-01-2013, 04:29 AM #4
Also, changing a true background (either color or image) can only be done all at once. No ability to make nice fade effects, etc.
So the better way is to use overlaid <div>s, with (say) your main div with the text, etc., having a higher z-index than the other one. Now you can put an <img> in the "behind" div and use fade effects, etc., on it.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.