| 1 | Using the comp_in_new function |
| 2 | ============================== |
| 3 | |
| 4 | comp_in_new is the javascript function to popup a new compose window. |
| 5 | |
| 6 | the function needs two arguments: |
| 7 | 1) compose new message (true or false) |
| 8 | 2) url with arguments to the compose window. |
| 9 | |
| 10 | if argument 1 is true then argument 2 should be "" |
| 11 | |
| 12 | |
| 13 | example 1: |
| 14 | <a href="javascript:void(0)" onclick="comp_in_new(true,"")> |
| 15 | |
| 16 | example 2: |
| 17 | <a href="javascript:void(0)" onclick="comp_in_new(false,"../../src/compose.php?argument1=true&argument2=test")> |
| 18 | |