I have been up for most of the night so I apologise now if I am missing the obvious, but how can end users create a popup window using the TinyMCE editor?
I think creating a macro might be your best bet for creating modals pop-ups or javascript windows. Alternatively if you're confident that you can get your client to be able to add a CSS class to a relevant link trigger (bearing in mind you can't add classes to anchor tags with the Umbraco implementation of TinyMCE AFAIK) you might be able to use jQuery to get it to trigger your modal/pop-up. If it's just a new HTML window you need, Dennis' post is the solution.
I just made a tinyMCE style named ".popup", and used jquery fancybox to display the popup. Too bad the site has not launched yet, or I would show you..
How to create a popup window in TinyMCE?
I have been up for most of the night so I apologise now if I am missing the obvious, but how can end users create a popup window using the TinyMCE editor?
Do you mean how users can create a link that opens in a new window?
When inserting a link using TinyMCE, for select "Open in new window (_blank)" for the Target option.
/Dennis
I think creating a macro might be your best bet for creating modals pop-ups or javascript windows. Alternatively if you're confident that you can get your client to be able to add a CSS class to a relevant link trigger (bearing in mind you can't add classes to anchor tags with the Umbraco implementation of TinyMCE AFAIK) you might be able to use jQuery to get it to trigger your modal/pop-up. If it's just a new HTML window you need, Dennis' post is the solution.
Dennis, I'm tired but not that tired :) I meant a javascript popup window. I was edging towards a jQuery based solution if all else failed.
I just made a tinyMCE style named ".popup", and used jquery fancybox to display the popup. Too bad the site has not launched yet, or I would show you..
is working on a reply...