NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article:contentparts:form:special-applications:send-a-friend [2009/11/23 09:26] Knut Heermann (flip-flop) |
english:phpwcms-system:article:contentparts:form:special-applications:send-a-friend [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 300: | Line 300: | ||
| </code> | </code> | ||
| - | First HTML CP //(if the form pops up a short time during site loading)// | + | **Recommended:**\\ |
| + | First HTML CP: //(if the form pops up a short time during site loading)// | ||
| <code html> | <code html> | ||
| <div id="sendafriend" class="sendafriend" style="display:none"> | <div id="sendafriend" class="sendafriend" style="display:none"> | ||
| Line 314: | Line 315: | ||
| </code> | </code> | ||
| - | <code html|h on success, if a "Close form"-link is recommended |> | + | **Recommended:** \\ |
| + | //(switch on success to [X] HTML)// | ||
| + | <code html|h on success, if a "Close form"-link is desired |> | ||
| <p id="safok">The recommendation has been sent successfully.</p><br /> | <p id="safok">The recommendation has been sent successfully.</p><br /> | ||
| [PHP] | [PHP] | ||
| Line 320: | Line 323: | ||
| [/PHP] | [/PHP] | ||
| </code> | </code> | ||
| + | The **"Close form"-link** has the advantage that the page is reloaded without an anchor and a new form input is immediately possible. | ||
| <code html|h on error|> | <code html|h on error|> | ||
| Line 347: | Line 350: | ||
| - | <code html|h template, if a "Close form"-link is recommended (insert at the end) |h> | + | **Recommended:** \\ |
| + | <code html|h template, if a "Close form"-link is desired (insert at the end) |h> | ||
| ......... | ......... | ||
| <br /> | <br /> | ||