Clicking thumbnails to show larger photos, videos, forms... works perfectly.
The address (href=...) used is the address of the attachment (image, video, form). That's OK within the "lightbox-div" on the page.
But if there is no JavaScript this link will "leave the page" and just show the photo, video, form. In this case I would prefer the address to be the permalink of the corresponding post. Is there an easy way to do that?
just in case somebody else is interested:
I found a solution for the lightbox/colorbox problem. It might not be the easyest and safest way, but for me it does the job at IT-online:
- The link address of the thumbnails is the corresponding permalink of the post.
- So when there is no scripting the post is shown (is_single).
- In the onload event of JS (if it is present) each address is replaced by the address of the post content (image, video, form...) to be shown in the "lightbox-div"
That's it.