TinyMCE Popup overlay color and popup autoresize
I was wondering how I could set the color for the popup overlay (which i开发者_C百科s now white). And I was wondering if it's possible to set the popup to autoresize to popups content.
Additional question
Is it possible to resize the popup if the content changes?
Thanks in advance!
You may use resizeToInnerSize of tinyMCEPopup to autoresize to the popups content.
To change the overlay color you may use:
- modify the background attribute in http://yourserver.com/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css (maybe this css can be overridden using the editor_content.css init setting)
- using jQuery:
$('#mceModalBlocker').css('background','#FA00BB');
Let me know if this works for you.
精彩评论