Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This will get you going. You will need: - <a href="http://jquery.com/" rel="nofollow">http://jquery.com/</a> - JQuery - <a href="http://jqueryui.com/" rel="nofollow">http://jqueryui.com/</a> -JQueryUI</p> <p>With these two your work is easy. First reference JQuery in your website then you reference JQueryUI.</p> <p>Then you will do something like this in your own JQuery Code:</p> <p>The HTML:</p> <pre><code>&lt;div id="slider"&gt; &lt;div id="firstSlide"&gt; &lt;img class="active" src="pics/home/1.1.gif"/&gt; &lt;img src="pics/home/1.2.gif"/&gt; &lt;img src="pics/home/1.3.gif"/&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>The CSS:</p> <pre><code> #slider { position: relative; height: 180px; border-bottom: 3px solid black; z-index: 1; box-shadow: 0px 0px 10px black; } #firstSlide { position: absolute; width: 198px; height: 100%; left: 0%; border: 1px solid black; } #firstSlide img { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; z-index: 1; } #firstSlide img.active { z-index: 3; } </code></pre> <p>The JQuery:</p> <pre><code>var howLongEffectLasts = 1000; var timerInterval = 7000; var slideDelay = 300; var slideEffect = 'slide'; var slideDirection = 'up'; var timer = setInterval('DoIt1()', timerInterval); function DoIt1() { var $active = $('#firstSlide' + ' .' + 'active'); var $next = ($active.next().length &gt; 0) ? $active.next() : $('#firstSlide' + ' ' + 'img:first'); $next.css('z-index',2); $active.toggle(slideEffect, { direction: slideDirection }, howLongEffectLasts, function() { $active.css('z-index',1).show().removeClass('active'); $next.css('z-index',3).addClass('active'); }); setTimeout(function() { DoIt1(); }, slideDelay); } </code></pre> <p>In the JQuery, just change the var's to your needs. Also, change the CSS etc to your own needs. The Z-INDEXes are VERY important here - so be careful when you change theCSS I gave you.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

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