I'm trying to create a datatype which uses the umbraco pop-up (like when using the content picker). In the pop-up I'd like to show an iframe. Does anybody know how I can call this pop-up in my code using javascript? I tried looking in the umbraco source code, but haven't found it yet.
The pop-up in TinyMCE seems specialy designed for Umbraco because it also has the ability to add macro's for instance. It's propably a part of the Umbraco source code, but I didn't find it yet. Does anyone have an example?
Im still using the openModal function, but now I have another question. In the modal pop-up I'd like to call some javascript which is in my datatype. From the datatype I can call the pop-up with top.
openModal but how can I call the code in the datatype again. Something like this.opener.storedata(). Can I call a function on the page again with javascript?
Umbraco pop-up
Hello,
I'm trying to create a datatype which uses the umbraco pop-up (like when using the content picker). In the pop-up I'd like to show an iframe. Does anybody know how I can call this pop-up in my code using javascript? I tried looking in the umbraco source code, but haven't found it yet.
I've already found the following:
This way the pop-up cant be moved. Is there a way it can be dragged around like when choosing an image in the RickTextEditor?
I think the popup from the RTE is part of TinyMCE, so I'm not sure it is generally available.
The pop-up in TinyMCE seems specialy designed for Umbraco because it also has the ability to add macro's for instance. It's propably a part of the Umbraco source code, but I didn't find it yet. Does anyone have an example?
Im still using the openModal function, but now I have another question. In the modal pop-up I'd like to call some javascript which is in my datatype. From the datatype I can call the pop-up with top.
openModal but how can I call the code in the datatype again. Something like this.opener.storedata(). Can I call a function on the page again with javascript?
Discovered it myself. It can be done by using "top.right.yourmethod". This way you can communicate with a datatype and the popup.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.