We have a requirement to open popup on click of an image.
Following code is used to open pupup … but it is restricted to the boundaries of parent frame.
To have the window wider than frame border you need to create a window in the parent window, not in the frame
Unfortunately the library can create UI only in the same window ( frame ) where library was loaded. So you need to include the webix lib in the page of top window and call it like
Hi maksim,
I have tried using top.webix.ui(), but got following error in console :
“Uncaught SecurityError: Blocked a frame with origin “null” from accessing a frame with origin “null”. Protocols, domains, and ports must match.”
Browser doesn’t allow to communicate between different domains. So if you have a page in top frame from one domain, and page in sub frame from another domain - browser will block any js calls between frames ( that means - there is no way to use webix api to show the top level popup in such case )