January 6, 2015 at 2:24 pm #192426
im such a JS illiterate, what do you mean by “Second, make sure that your script comes AFTER loading your jQuery library.”?
can you never load two different jQuery libraries? they have nothing to do with one another. one is for touch screen devices. the other, the jquery.min.js is for this script.
also, i just added the upper caps to the lower one like so:
var imageLinks = $('a[href$=".png"], a[href$=".PNG"], a[href$=".jpg"], a[href$=".JPG"], a[href$=".gif"], a[href$=".GIF"], a[href$=".bmp"], a[href$=".BMP"]');
if that’s a no-no, then probably why the thumbnails will open in a new window?
so thankful for your patience. apologies for my daftness.