This is a discussion on "[SOLVED] JS for Thumbnail Gallery to Slide Show - almost there" within the JavaScript Forum section. This forum, and the thread "[SOLVED] JS for Thumbnail Gallery to Slide Show - almost there are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] JS for Thumbnail Gallery to Slide Show - almost there
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[ALMOST SOLVED] JS for Thumbnail Gallery to Slide Show - almost there
Hi everyone,
Great site. I searched the forums for my problem but I haven't seen an answer to my specific question. I'm attempting to make a photo gallery, in which, once the link is clicked, a pop up appears with a thumbnail gallery, and once a thumb is clicked the gallery in the pop up, changes to a slide show, and the image that appears is indicative of the thumb that was clicked. Eg. I click on thumb 4/16 in the gallery and image 4/16 is displayed, because it's corresponding thumb was clicked. (Along with slide show navigation buttons.) I have everything working now, however, the same image will appear regardless of the thumb that is clicked. Now, I know why it is doing this. It's because there is an image specified in the... <td colspan="3"> <div align="center"><img src=Nebula00.gif name=PictureBox width=667 height=500> </div></td> If I take it out, it's blank when the pop up launches. How can I get my thumb, to dictate what picture shows up in the popup slide show? I know I could just make separate .htm pages for each pic but there has to be a JS that does this. Here's the JS I'm using for the slide show. http://www.codelifter.com/main/javas...lideshow4.html Here's what my the code looks like for any given thumb. <td valign="middle"><a href="asampleslideshow.htm"><!--img src="http://www.webforumz.com/images/thumbs/5-008.jpg" width="128" height="96" border="0"></a></td> The thumb gallery is just batch photoshopped images in a table with a touch of css. I've searched for a JS that does this specifically, but I haven't seen it yet. Any help? Thanks, P.S. the "Read the forum rules" link in the intro admin PM doesn't work. Regards Last edited by UUDDLRLRBA; Jan 14th, 2008 at 17:00. |
|
|
|
#2
|
|||
|
|||
|
Re: JS for Thumbnail Gallery to Slide Show - almost there
Here is some of the latest JavaScript Slide Show Image Viewer - [Light Box 2.0]
You might want to check that out! The code that you use is too old and the link I gave you is much more interesting. Cheers..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#3
|
|||
|
|||
|
Re: JS for Thumbnail Gallery to Slide Show - almost there
That looks like it might do the trick. I'll have to reconsider the layout because the thumbs won't be able to be in the pop up, but I'll just have to make the table of thumbs more narrow so it fits.
Cool that it works in all browsers. Thanks. |
|
#4
|
|||
|
|||
|
Re: JS for Thumbnail Gallery to Slide Show - almost there
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#5
|
||||
|
||||
|
Re: JS for Thumbnail Gallery to Slide Show - almost there
Quote:
Solved!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#6
|
|||
|
|||
|
Re: JS for Thumbnail Gallery to Slide Show - almost there
Quote:
Quote:
It won't be a lot of work really, just a will have to be set up differently. The end product should look pretty sharp. Thanks again. |
|
#7
|
|||
|
|||
|
Re: [SOLVED] JS for Thumbnail Gallery to Slide Show - almost there
I'm tinkering with lightbox now. It seems to work great, however, the Prev and Next tags don't show up.
They're in the correct folders, relative to the page. When the instructions say "Check the CSS and make sure the referenced prevlabel.gif and nextlabel.gif files are in the right location. Also, make sure the loading.gif and closelabel.gif files as referenced near the top of the lightbox.js file are in the right location." Does that mean the location relative to the page, or location by changing the properties of the styles? E.g. #prevLink { left: 0; float: left;} #nextLink { right: 0; float: right;} or #prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; } #nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; } ...have to be set? The .gifs are in the images folder within the root folder. Last edited by UUDDLRLRBA; Jan 14th, 2008 at 16:46. |
|
#8
|
|||
|
|||
|
Re: [SOLVED] JS for Thumbnail Gallery to Slide Show - almost there
The LightBox v2.0 link that I gave you explains it all and you still have problem with that huh? Well.. you just need to opens up your eyes a bit wider...
Quote:
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#9
|
|||
|
|||
|
Re: [SOLVED] JS for Thumbnail Gallery to Slide Show - almost there
I thought "group images" would display several at once or something.
Makes perfect sense now, and works great. Thanks again. |
|
#10
|
|||
|
|||
|
Re: [SOLVED] JS for Thumbnail Gallery to Slide Show - almost there
Good to know you've actually solved it
Cheers...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Embedding / Flash slide show not Validating | Oak | Flash & Multimedia Forum | 3 | Dec 26th, 2007 00:19 |
| Photo slide show | jtompkins | Flash & Multimedia Forum | 1 | Oct 6th, 2007 00:05 |
| Slide show/s :) | OmiE | Flash & Multimedia Forum | 4 | May 25th, 2007 04:55 |
| Image slide show | peebman2000 | Flash & Multimedia Forum | 8 | Feb 15th, 2007 18:17 |
| iFrame as Slide Show | gribble | Web Page Design | 6 | Nov 17th, 2005 19:07 |