Jump to content

Gallery trouble


Guest Klotho

Recommended Posts

Hi, don’t know where to put this question but I’ll try here… I am making a homepage for the art group I’m in, and now I’m struggling with a gallery solution… I wanted something more modern, and since I’m blank when it comes to JavaScript I found these amazing solutions on the web: The gallery: http://www.stunicholls.com/gallery/left_right_click.html and Thickbox who opens a bigger picture in a more fancy way: http://jquery.com/demo/thickbox/#examples The problem begins when these codes where mixed…The adress to the gallery (ps. It is not yet adjusted for Internet Explorer): http://www.speilmasken.net//Speilmasken/fe...es_galleri.html I was so pleased because I thought everything was working, but NO of course not… I found out that Thickbox also opens up when you are clicking the thumbnail (and it’s not supposed to do that, it shall only open when clicking the picture opened by clicking the thumbnail). I know that Thickbox in some way have gotten control over the original gallery code, but I’m not sure how and how to fix it! Any ideas?(Ps. The Thickbox solution is only on the first thumbnail now)I don’t know if you need to see CSS and JavaScript, but here it is just in case:CSS and JavaScript for the gallery: http://www.speilmasken.net//Speilmasken/fe...les_galleri.css http://www.speilmasken.net//Speilmasken/fe..._galleri_ie.css http://www.speilmasken.net//Speilmasken/fe...roll_gallery.js And here is CSS and JavaScript for Thickbox which opens a bigger picture in a new window:http://www.speilmasken.net//Speilmasken/fe...ri/thickbox.css http://www.speilmasken.net//Speilmasken/fe...lleri/jquery.js http://www.speilmasken.net//Speilmasken/fe...eri/thickbox.js So please help anyone, because I’m lost!!!! :)

Link to comment
Share on other sites

I don't think you can use those 2 scripts together. The gallery script from Stu doesn't have one large image and a bunch of thumbnails, it seems to load the larger images and use them as the thumbnails also somehow. The source code shows a bunch of full-size images. The Thickbox script code would only need to go on the large image and not the thumbnails, but the gallery doesn't seem to be set up that way.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...