Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript thumbnails won't enlarge in same window Reply To: thumbnails won't enlarge in same window

#192426
Baerspective
Participant

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.