(New page: == ContextMenu == This option allows you to determine if the objects context menu will appear after clicking on the object. It sounds difficult but an example will show how doest it work....) |
|||
Line 4: | Line 4: | ||
Example: The original ContextMenu list appears like this: | Example: The original ContextMenu list appears like this: | ||
− | <pre> | + | <pre>FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField', 'HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; |
− | FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; | + | </pre> |
− | </pre> | ||
Lets remove 'Table' from the list: | Lets remove 'Table' from the list: | ||
− | <pre> | + | <pre>FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField', 'HiddenField','ImageButton','Button','BulletedList','NumberedList','Form'] ; |
− | FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Form'] ; | + | </pre> |
− | </pre> | ||
If the user creates a table and than right click on it, he will not find the table context menu but only the 'Generic' menu (Cut, Copy, Paste). | If the user creates a table and than right click on it, he will not find the table context menu but only the 'Generic' menu (Cut, Copy, Paste). | ||
'''NOTE''': The first item of the list 'Generic' is the context menu consisting cut, copy and paste functions. | '''NOTE''': The first item of the list 'Generic' is the context menu consisting cut, copy and paste functions. |
Latest revision as of 16:22, 11 January 2008
ContextMenu
This option allows you to determine if the objects context menu will appear after clicking on the object. It sounds difficult but an example will show how doest it work.
Example: The original ContextMenu list appears like this:
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField', 'HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
Lets remove 'Table' from the list:
FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField', 'HiddenField','ImageButton','Button','BulletedList','NumberedList','Form'] ;
If the user creates a table and than right click on it, he will not find the table context menu but only the 'Generic' menu (Cut, Copy, Paste).
NOTE: The first item of the list 'Generic' is the context menu consisting cut, copy and paste functions.