Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-31-2011, 09:46 PM #1
- Join Date
- Jul 2011
- Thanked 0 Times in 0 Posts
I have a div that changes background on click.
<a href="#about" onClick="changeBackground('mainbackground.jpg');">text</a>
<a href="#about" onClick="changeBackground('background2.jpg');">text</a>
This part works just fine so no issues.
However, I have content on the mainbackground.jpg that is getting transferred over to the other backgrounds as well.
I would like each background to have its own paragraph content. I do not want to embed the info into the images for SEO reasons.
Any ideas on how to do this?
Last edited by savagebeauty; 07-31-2011 at 09:53 PM.