in order to design the layout for my page I have used this example:
http://www.designmadeingermany.de/slideshow/#a1
http://jsfiddle.net/nimbu/KEqSF/?utm_source=website&utm_medium=embed&utm_campaign=KEqSF
and I am attempting to make each slide have a different background, so that when the slide animation happens a different background is shown for each slide. Currently I am able to set 1 background for the first slide, but any other backgrounds added take precedence over this image and are present on the slides before (2>>1 and 3>>2>>1), so I am only able to set up a single background. I have attempted to change the background image for each of the slides:
#i1 { background-image: url("images/bg1.jpg") no-repeat center center fixed;}
#i2 { background-image: url("images/bg2.jpg") no-repeat center center fixed;}
#i3 { background-image: url("images/bg3.jpg") no-repeat center center fixed;}
this however does not work. I have also attempted to add an image to each slide and have them set as the background image:
<!-- First Page #a1 -->
<div id="i1" class="page">
<img src ="images/bg1.jpg" id="bg" alt="">
<!-- Second Page #a2 -->
<div id="i2" class="page">
<img src ="images/bg2.jpg" id="bg" alt="">
<!-- Third Page #a3 -->
<div id="i3" class="page">
<img src ="images/bg1.jpg" id="bg" alt="">
using the css:
img {
max-width: 100%;
}
#bg { position: fixed;
z-index: 0;
top: 0;
left: 0; }
.bgwidth { width: 100%; }
.bgheight { height: 100%; }
however this also gives me a similar error. I am unsure of how else I can do this, I am currently in the process of learning CSS/HTML so any help is appreciated! Thanks in advance!!!
EDIT: my current js fiddle is in comments (can only post 1 link). As you can see I am trying to have a different background appear for the contact slide. The gallery slide does its job and should remain solid colour. I have had no success here at all!