some help lines to use comp_in_new
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 24 May 2002 18:56:55 +0000 (18:56 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 24 May 2002 18:56:55 +0000 (18:56 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2866 7612ce4b-ef26-0410-bec9-ea0150e637f0

doc/compose.txt [new file with mode: 0644]

diff --git a/doc/compose.txt b/doc/compose.txt
new file mode 100644 (file)
index 0000000..3d50735
--- /dev/null
@@ -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")> 
+