changing Galleriffic controls
<p>hay guys im using the jquery Galleriffic gallery and im trying to do somthing that im not sure is possible or not.</p>

<p>i want to take the buttons that changing the pictures and start the slide show and put them inside divs.</p>

<p>i was able to put all of them in a div out side the gallery but i cant find a way to put them separately inside divs.</p>

<p>its even possible to do that?
i looked in the javascript code and i found a code that change the pictures:</p>

<pre><code>    next: function(dontPause, bypassHistory) {
            this.gotoIndex(this.getNextIndex(this.currentImage.index), dontPause, bypassHistory);
            return this;
        }
</code></pre>

<p>but when i try to use it out side the Galleriffic  initlizion the script break.
my javascript is not the best its possible to call that function?</p>

<p>sorry for my english.</p>

<p><strong>EDIT:-----------------------------------------------------------------------------</strong></p>

<p>i found the sulotion afther looking the Galleriffic source again and found the correct functions.</p>

<p>thay called:</p>

<blockquote>
  <p>gallery.next(); //for going foward.</p>
  
  <p>gallery.previous(); // for going backwards.</p>
</blockquote>

<p>you can make a div style him the way you want and link this function to it with javascript (i use jqeury).</p>

<p>here a simple exmaple:</p>

<pre><code>$("#foward").click(function () {

        gallery.next();

    });

    $("#backward").click(function () {
        gallery.previous();
    });
</code></pre>
