开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜