Note that there are some explanatory texts on larger screens.

plurals
  1. POSupersized jQuery plugin - only some background images shown
    text
    copied!<p>All of my background images load until i try to put in an image overlay for each slide. The problem occurs when I tag my ul with <code>id="supersized"</code></p> <p>Once I do this only my background images on slides 1, 2, and 9 load. 3-8 only show the background color and the overlay image.</p> <p>I've pinpointed the problem with firebug but do not know how to fix it</p> <pre><code>&lt;ul id="supersized" class="quality" style="visibility: visible;"&gt; &lt;li class="activeslide"&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/homeimg.png" style="width: 1024px; left: 0px; top: -187px;"&gt; &lt;/div&gt; &lt;/div&gt; &lt;a target="_blank"&gt; &lt;img src="http://schochink.com/IMG_21562.jpg" style="width: 1024px; left: 0px; top: -188.5px; height: 686.08px;"&gt; &lt;/a&gt; &lt;/li&gt; &lt;li class="activeslide"&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/aboutimg.png" style="width: 1024px; left: 0px; top: -101.5px;"&gt; &lt;/div&gt; &lt;/div&gt; &lt;a target="_blank"&gt; &lt;img src="http://schochink.com/IMG_26922.jpg" style="width: 1024px; left: 0px; top: - 188.5px; height: 686.08px;"&gt; &lt;/a&gt; &lt;/li&gt; &lt;li class="activeslide"&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/homeimg.png" style="width: 1024px; left: 0px; top: -187px;"&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; </code></pre> <p>Here is my actual html, the above was what firebug showed me</p> <pre><code>&lt;ul id="supersized"&gt; &lt;li class=""&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/homeimg.png" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;li class=""&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/aboutimg.png" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;li class=""&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/Untitled-2.png" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;li class=""&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/homeimg.png" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;li class=""&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/homeimg.png" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;li class=""&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/homeimg.png" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;li class=""&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/homeimg.png" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;li class=""&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/homeimg.png" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;li class=""&gt; &lt;div class="overlay-holder"&gt; &lt;div class="img"&gt; &lt;img src="../../images/homeimg.png" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; </code></pre> <p>I'm pretty new to jquery but i think this is what adds the anchor tag. correct me if im wrong</p> <pre><code>/* Place Supersized Elements ----------------------------*/ $(document).ready(function() { $('body').append('&lt;div id="supersized-loader"&gt;&lt;/div&gt;&lt;ul id="supersized"&gt; &lt;/ul&gt;'); }); </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload