Hi,
I've seen a lot of posts regarding the default target for the link dialog.
I think I've found the correct way to do this. It will even change the select box to the correct value:
- Open file FCKeditor/editor/dialog/fck_link/fck_link.js
- Search for this function: function LoadSelection()
- The first line in this function says: if ( !oLink ) return ;
- Change that to (I hope this displays correctly):
if ( !oLink ) {
SetTarget('_blank');
OnTargetNameChange();
return ;
}
- You can also change '_blank' with '_top', '_self', ...
I tested this with IE6 and Fireworks 1.0.7 on WinXP and it seems to work. I you find it not working, please let me know.
I've seen a lot of posts regarding the default target for the link dialog.
I think I've found the correct way to do this. It will even change the select box to the correct value:
- Open file FCKeditor/editor/dialog/fck_link/fck_link.js
- Search for this function: function LoadSelection()
- The first line in this function says: if ( !oLink ) return ;
- Change that to (I hope this displays correctly):
if ( !oLink ) {
SetTarget('_blank');
OnTargetNameChange();
return ;
}
- You can also change '_blank' with '_top', '_self', ...
I tested this with IE6 and Fireworks 1.0.7 on WinXP and it seems to work. I you find it not working, please let me know.
