I have a gallery that has back/next links below the main image, but I want them to be on each side of the image instead.
My current code looks like this:
[CODE]<center>
<br class=’clearit’ />
<div id=”main_image_wrapper”>
<div id=”main_image” align=”center”> </div>
</div>
<br class=’clearit’ /><P>
<a href=”#” onclick=”$.galleria.prev(); return false;”>«–</a> <a href=”#” onclick=”$.galleria.next(); return false;”> –»</a>
When the mode the code for the links up above the clear, it goes on top of the image (literally on, not just above). So I figure need to edit this section of my .js file:
[CODE]
var _insert = ( $($opts.insert).is($opts.insert) ) ?
$($opts.insert) :
jQuery(document.createElement(‘div’)).insertBefore(this);
var _div = $(document.createElement(‘div’)).addClass(‘galleria_wrapper’);
var _span = $(document.createElement(‘span’)).addClass(‘caption’);
_insert.addClass(‘galleria_container’).append(_div).append(_span);
I’m just not sure how to best do this. And I want the links centered to the height of the image.
Thanks so much!