Forums

[Plugin: Lightbox Plus] Howto degrading gracefully ??? (2 posts)

  1. schoe
    Member
    Posted 7 months ago #

    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?

  2. schoe
    Member
    Posted 7 months ago #

    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.

Reply

You must log in to post.

About this Topic