Lightbox

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Humberto
 
 
Posts: 32
Joined: Thu Jul 11, 2019 3:45 pm

Lightbox

Post by Humberto »

Hi everyone,

Can someone please tell me why can't i use target="_parent" when use a link to display a page in a lightbox?

Thanks.
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Lightbox

Post by Pablo »

A lightbox is a JavaScript which opens a popup layer.
In this context, the target property makes no sense. It's only for links that go to a different page.
Humberto
 
 
Posts: 32
Joined: Thu Jul 11, 2019 3:45 pm

Re: Lightbox

Post by Humberto »

Hi Pablo,

Thanks for the reply.

I've a page with a InlineFrame. In that InlineFrame i have a list os clients with a info button. That info button displays the client info in a lightbox.
So if a can't say that the lightbox will be displayed on the parent page, the lightbox will be displayed in the inline frame. The problem is that the inlineframe is very small so the lightbox will not appear.

I know all i've to do is to edit the page and replace _self with _paraent and all works fine, but it would be nice to be able to change in webbuilder and not to have to edit manually.

Thanks.
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Lightbox

Post by Pablo »

The target=_parent attribute does not have any meaning for a lightbox script.
Each lightbox is different, but most (if not all) lightboxes cannot break out of an inline frame.
Post Reply