Bunk58
Yes, of course, thank you. Unfortunately, that’s not the problem.
The code never makes it out of the chunk it’s being stripped out somewhere--as is the alt tag.
Still stuck. . .
Terry
www.terrybarthdesign.com
Could you post your full setup... you possibly have something else going on than the attributes being stripped out. Maybe you are looking for a wrong document or you are defining a wrong chunk to use as the template.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Ok, so you are using SmoothGallery. The SmoothGallery javascript creates the link by itself in js code, so you need to modify that if you want the link to open in external window and have the title. Btw, I believe that links should have title attributes and not alt attributes.. alt attributes are for images.
See /assets/snippets/maxigallery/smoothgallery/js/jd.gallery.js and the lines around 107, 160 and 560.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Doze
I think got it. Don’t know the first thing about js but I took a shot and it seems to be working. This is the section where I added the targe="_blank". Not the same as the line #s you mentioned (don’t have 560 lines).
Starting on line 92
if (this.options.embedLinks)
{
this.currentLink = new Element(’a’).addClass(’open’).setProperties({
href: ’#’,
target: ’_blank’,
title: ’’
}).injectInside(element);
Seems to be working. Anything else I should know/do?
www.terrybarthdesign.com
No, that’s fine.. It’s the same place, but I guess you are using MaxiGallery v0.5.2.. the v0.6 test version has a newer version of SmoothGallery. You might want to update to that version, it got alot of fixes in it..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."