Log in

View Full Version : Resolved Thumbnail viewer



sharon8133
03-18-2009, 08:28 PM
Hi

I've been using this thumbnail viewer script for a while (I love it, btw) thanks for sharing your scripts with the web development world. It's really appreciated!
http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

I know the thumbnailviewer.js is customizable, but I need some help in figuring out how, if possible, I can make it so that when someone clicks on the thumb nail and the larger image opens up, I want to be able to give the user a link from that window where the larger image opens up to click to a different htm page. Is that possible: if so how?

Thanks
Sharon

Nile
03-19-2009, 02:12 AM
Is this (http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm) or this (http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm) OK with you? They both have that feature.

sharon8133
03-19-2009, 05:57 AM
Hi Nile

Thanks for the quick reply. I think this code could work however can you tell me how I can create a link on the actual pop up window with the larger image?

For example, if I juse this script and insert that in my header:
http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm

and insert this code in my html page

<a href="cat.jpg" rel="lightbox" title="Caption- cute cat!"><img src="cat_thumb.jpg" /></a>

How can I make the title a link. In other words, if I wanted 'cute cat' to be a link to another url, how would that code look like?

Thanks for your help.

Sharon

Nile
03-20-2009, 01:22 AM
I would assune:


<a href='#'>Hi</a>

Don't use double quotes for this,

sharon8133
03-20-2009, 06:57 PM
Well, I tried that first before posting, but that doesn't seem to work:

<a href="mydirectory/myimge_lrg.jpg" rel="lightbox" title=<a href='#'>Hi</a>

<img src="mydirectory/myimage_small.jpg" /></a></p>

sharon8133
03-20-2009, 09:04 PM
I would assune:


<a href='#'>Hi</a>

Don't use double quotes for this,

Actually, your second link above points to a thumbnail script that allows for putting links in caption title, the first one doesn't allow it. It's in lightbox 2.3a.

Very cool....

Thanks

Sharon

Nile
03-25-2009, 12:00 PM
Great! Glad to help you! Your welcome!

It seems your topic is solved... Please set the status to resolved.. To do this:
Go to your first post ->
Edit your first post ->
Click "Go Advanced" ->
Then in the drop down next to the title, select "RESOLVED"