Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:buttoncode [04.01.2015 13:04] – [Tips] alexander.ritteren:create:functions:buttoncode [04.01.2015 13:06] – [Example: Insert Directly in HTML Code] alexander.ritter
Line 17: Line 17:
 **Note:** After the function has been called up, the automatic insertion of the buttons at the end of the current page is prevented.  **Note:** After the function has been called up, the automatic insertion of the buttons at the end of the current page is prevented. 
  
-**Tip:** If you want to reposition the buttons in general, modify the questionnaire layout and use the placeholders ''%button.next%'' and ''%button.back%'' in the HTML template of the layout, as described in the guidance for [[:en:create:layout|Questionnaire Layouts]].+**Tip:** If you want to reposition the buttons in general, modify the questionnaire layout and use the placeholders ''%button.next%'' and ''%button.back%'' in the HTML template of the layout, as described in the guide to [[:en:create:layout|Questionnaire Layouts]].
  
 ===== Example: Insert Directly in HTML Code ===== ===== Example: Insert Directly in HTML Code =====
Line 25: Line 25:
 $buttonBack = buttonCode('back');  // buttons in 2 variables $buttonBack = buttonCode('back');  // buttons in 2 variables
  
-// Insert the HTML codes into the questionnaire, e.g. in a table+// Insertion of the HTML codes into the questionnaire, e.g. in a table
 html(' html('
   <table cellspacing="10" cellpadding="0">   <table cellspacing="10" cellpadding="0">
Line 33: Line 33:
   </colgroup>   </colgroup>
   <tr>   <tr>
-    <td>Press this button,+    <td>Press this button
         to go to the next page &rarr;</td>         to go to the next page &rarr;</td>
     <td>'.$buttonNext.'</td>     <td>'.$buttonNext.'</td>
en/create/functions/buttoncode.txt · Last modified: 25.08.2020 11:24 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki