除非您计划支持多种语言,否则您不需要 lang 目录。但即便如此,我也会先让插件以一种语言工作。
我可能会将 mybrowser.asp 放在插件目录中。
这是 fckplugin.js 的一些代码,可以帮助您入门。
// Register the related command. 
// RegisterCommand takes the following arguments: CommandName, DialogCommand 
// FCKDialogCommand takes the following arguments: CommandName, 
//    Dialog Title, Path to HTML file, Width, Height
FCKCommands.RegisterCommand( 
    'MyBrowser', 
    new FCKDialogCommand( 
        'My Browser', 
        'Select An Image',
        FCKPlugins.Items['MyBrowser'].Path + 'mybrowser.asp',
        500,
        250) 
);
// Create the toolbar button. 
// FCKToolbarButton takes the following arguments: CommandName, Button Caption 
var button = new FCKToolbarButton( 'MyBrowser', 'Select An Image' ) ; 
button.IconPath = FCKPlugins.Items['MyBrowser'].Path + 'img.png' ; 
FCKToolbarItems.RegisterItem( 'MyBrowser', button ) ; 
编辑:我没有对此进行测试,但是您应该能够通过按照这些方式执行某些操作来附加查询字符串。
        'Select An Image',
        FCKPlugins.Items['MyBrowser'].Path + 'mybrowser.asp' + window.top.location.search,
        500,