Parent event

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
User avatar
amir2314
 
 
Posts: 321
Joined: Wed Aug 02, 2017 12:16 pm

Parent event

Post by amir2314 »

Hi dear pablo .
.
How can i have a parent event ?
I have an iframe with button inside this and i want to when i click on button event start from parent page outside the i frame
User avatar
crispy68
 
 
Posts: 3001
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Parent event

Post by crispy68 »

My guess is you will need to use javascript. Unless someone on here has already done such a thing and can.provide the code, we can't really assist in writing code. Have you googled to see what is out there?
User avatar
rogerl
 
 
Posts: 203
Joined: Tue May 03, 2016 8:24 am

Re: Parent event

Post by rogerl »

I've seen this used in a script if that's of any help:

Code: Select all

 afterClose: function(){
    parent.location.href = "your page.html";
},
"your page" being the name of your parent page
Post Reply