I use Galleria for slide shows. I want to place a small "Larger" link next to stage.
I have this code for the "Larger" button:
this.fullres = this.create('div', 'fullres');
this.get('fullres').innerHTML = '<a href="#">Larger</a>';
this.appendChild('fullres', this.fullres);
I have this code that assigns each tag a <img> rel=full image URL from a custom page field:
<img ... rel="<?=$attachments[$i]['fullres']?>" />
With jQuery, I hope to pull out the value of the activeimage tag rel=and add the tag .fullres href. This is the code that I have so far, but it does not work:
var title = $(.images).attr('rel');
$('.galleria-fullres').attr('href', );
source
share