Change Jquery Cycle plugin code (move Pager position) -


i have this:

<script type="text/javascript"> $(function() { $('#slideshow').after('<div id="slideshow-nav">').cycle({     fx:       'fade',     timeout:   0,     prev: '#prev',     next: '#next',     fit:1,     pager:      '#slideshow-prevnext',     pageranchorbuilder: function(idx, slide) {      return '<a class="dot" href="#">&nbsp;</a>';          } }); }); 

and makes html markup this:

 <div id="slideshow-prevnext" class="slideshow-prevnext">     <a id="prev" class="left"  href="#"><span class="invisible">prev</span></a>     <a id="next" class="right" href="#"><span class="invisible">next</span></a>     <a href="#" class="dot">&nbsp;</a>    <a href="#" class="dot">&nbsp;</a>    <a href="#" class="dot">&nbsp;</a> </div> 

how can change cycle option can move 3 "dot" class before "prev" , "next"? such as:

 <div id="slideshow-prevnext" class="slideshow-prevnext">     <a href="#" class="dot">&nbsp;</a>    <a href="#" class="dot">&nbsp;</a>    <a href="#" class="dot">&nbsp;</a>    <a id="prev" class="left"  href="#"><span class="invisible">prev</span></a>     <a id="next" class="right" href="#"><span class="invisible">next</span></a>  </div> 

thank you,

http://forum.jquery.com/topic/change-jquery-cycle-plugin-code-move-pager-position


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -