Hi Guys,
it’s really simple: (Frontend) click on the number in the calendar opens the lightbox with the defined image in the same tab/window in which also the calender sheet is. If i insert a individual link in the image options and check the checkbox “Open in new tab” (backend), a click on the image in the lightbox (frontend) opens the linked website in a NEW tab. All fine. But … the old window/tab with the lightbox is STILL their. So the user could be confused and/or i has to close it. These days thats one step to much for many users.
But if i dont’t check the the checkbox “Open in new tab” (backend), the whole linked website will be displayed in the tiny lightbox, what is actually an iframe. That’s the problem.
The better way would be: Checkbox “Open in new tab” is unchecked, so a click in the lighbox opens the individual link in the SAME TAB / WINDOW in which also the sheet is located. Not in the lightbox! ??
I had a quick look at the documentation for GLightbox. And it says that you can output a picture instead of an iframe. I guess this is the problem. This could also be the solution to the problem of the scrollbars that appear when the image is larger than the iframe.
Could you please have a look at it?
Probably there are only a few code fragments that need to be exchanged.