You are not logged in.
Hi!
I hope you can help me with this problem:
a few days ago i have updated from an old xinha version to xinha 0.96 beta2.
in the new xinha version the scrollbar is always a litte to the left of the end of the toolbar,
while in the old version the scrollbar was flush with the toolbar.
i have included some pictures to clarify.
i have already tried to set the width in my config file to 'auto' and 'toolbar' but that doesnt
remove this gap.
iframeWidth doesnt work as well, because i need the value of
the width as percentage.
are there other size options i could try?
Offline
Thanks for your answer.
I tried your suggestions, but it still looked the same.
I guess I figured out what the problem is:
In XinhaCore.js:
At the end of the "Xinha.prototype.sizeEditor"-Function
the iframe-size and toolbar-size are identic, like i want it to be.
But when the "this.notifyOf('resize', {width:.., heigth:..})"-Function is called
(it calles "this.notifyOn("resize", function(evt,size))")
the size of the Toolbar is set to this size too -> thus being 10px too long.
My workaround is: In line 2152 I set "var width = size['width'] -10;".
IMHO it seems to be a little strange that by being the same length as the
iframe, the toolbar is longer, so maybe i missed something?
Offline
So this is with XinhaCore.js version 1229?
Please tell me a browser version in particular you are seeing this with (even if you see it in different browsers, I need to know one in particular so I can test against it).
Please post your Xinha configuration.
James Sleeman
Offline
Hi.
Yes, XinhaCore.js revision 1229.
Browsers are: Firefox V 3.0.7 / Firefox V 2.0.0.18 / Internet Explorer 8 V 8.0.6001.18702
Configuration is:
var xinha_editors = [];
var xinha_plugins = ['CharacterMap','ContextMenu','FindReplace','ListType','UnFormat','TableOperations'];
function xinha_init(){
if(!Xinha.loadPlugins(xinha_plugins, xinha_init))return;
}
xinha_init();
// Config plaintext:
var xinha_plaintext_config = new Xinha.Config();
xinha_plaintext_config.hideSomeButtons(' popupeditor fontname clearfonts htmlmode insertimage lefttoright
righttoleft print removeformat saveas splitblock inserttable toggleborders ');
xinha_plaintext_config.statusBar = true;
xinha_plaintext_config.getHtmlMethod = 'TransformInnerHTML';
xinha_plaintext_config.width = '90%';
xinha_plaintext_config.height = '400px';
xinha_plaintext_config.sevenBitClean = true;
xinha_plaintext_plugins = ['CharacterMap','ContextMenu','FindReplace','ListType','UnFormat'];
xinha_plaintext_config.dialogOptions ={'greyout':false};
Offline