I've done some hacking on my copy of FCKEditor, adding a couple of pulldowns to the link browser. The presence of these extra bits has caused the "browse server" button to move farther down, and at least in the case of FF 2.0 in XP (IE7 opens the link browser slightly larger, as does FF 1.5 on the Mac), it's pushed off the bottom border; one can drag the link browser popup open a bit vertically, and the "browse server" button will appear.
What I really need to do is adjust the height of this popup from the get-go. I've hunted around the forums, nada - and I've found in the fckconfig.js page, the line:
FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;
But changing this value doesn't seem to make any difference. I've tried changing it to something obvious and ridiculous, like:
FCKConfig.LinkBrowserWindowHeight = 1000;
The link browser popup's height remains the same.
I've cleared caches, restarted my machine, everything I can think of to try and get this value to reset.
What I really need to do is adjust the height of this popup from the get-go. I've hunted around the forums, nada - and I've found in the fckconfig.js page, the line:
FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ;
But changing this value doesn't seem to make any difference. I've tried changing it to something obvious and ridiculous, like:
FCKConfig.LinkBrowserWindowHeight = 1000;
The link browser popup's height remains the same.
I've cleared caches, restarted my machine, everything I can think of to try and get this value to reset.
RE: Link tool popup height adjustment?
FCKEditor/editor/js/fckeditorcode_gecko.js
Find this part:
FCKDialogCommand('Link',FCKLang.DlgLnkWindowTitle,'dialog/fck_link.html',400,330,FCK.GetNamedCommandState,'CreateLink')
Replace 400 and 330 with the width and heigth you want.
If you need IE, do the same trick in fckeditorcode_ie.js.
RE: Link tool popup height adjustment?
So the LinkBrowswerWindowHeight (and Width) config vars are simply unused? Great.
Thanks for that fin_t - I'll give it a whirl.
RE: Link tool popup height adjustment?