There's been a few things I've wanted to change in the Xinha plugins i use... mostly how the popups are sized. I tracked down what I wanted different and thought I'd share:
InsertFile:
go to line 76 and following of manager/media/xinha/plugins/InsertFile/insert_file.php
function Init() {
window.onresize=resize_iframe;
window.resizeTo(750, 750);
__dlg_init();
window.resizeTo(750, 750);
resize_iframe;
};
(to change the height of the popup)
ImageManager:
line 2 of manager/media/xinha/plugins/ImageManager/assets/manager.css:
body { padding: 5px; min-width: 700px;}
(fixes initial popup width in IE)
line 11 :
.imageFrame { width: 100%; height: 250px; margin: 0 auto; margin-top: 1em; background-color: White;}
(fixes height so you see more than 1 row of images
PasteText:
line 19 of manager/media/xinha/plugins/PasteText/popups/paste_text.html
to window.resizeTo(600, 550);
(resizing the window just to hit 'ok' drives me nuts in ff...)
*Disclaimer*
these changes work for me in IE7/8 and FF 3.0.x, I'm not positive it will work in your browser or os, or etomite version. If it doesn't, I'm sorry, I probably won't be able to help much. ;)
Page 1 of 1
plugin mods
Share this topic:
Page 1 of 1


Help

Back to top
MultiQuote








