瀏覽代碼

some help lines to use comp_in_new

stekkel 23 年之前
父節點
當前提交
669a745255
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      doc/compose.txt

+ 18 - 0
doc/compose.txt

@@ -0,0 +1,18 @@
+Using the comp_in_new function
+==============================
+
+comp_in_new is the javascript function to popup a new compose window.
+
+the function needs two arguments:
+1) compose new message (true or false)
+2) url with arguments to the compose window.
+
+if argument 1 is true then argument 2 should be ""
+
+
+example 1:
+<a href="javascript:void(0)" onclick="comp_in_new(true,"")> 
+
+example 2:
+<a href="javascript:void(0)" onclick="comp_in_new(false,"../../src/compose.php?argument1=true&amp;argument2=test")> 
+