NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article:contentparts:form:special-applications:calendar:date-with-js-calendar-2 [2011/08/25 08:00] Knut Heermann (flip-flop) created |
english:phpwcms-system:article:contentparts:form:special-applications:calendar:date-with-js-calendar-2 [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| URL: [[http://flocke.vssd.de/prog/code/js/calpick/|calpick.js]] - With conceptual loans from the Calendar element of Jason Moon | URL: [[http://flocke.vssd.de/prog/code/js/calpick/|calpick.js]] - With conceptual loans from the Calendar element of Jason Moon | ||
| - | Zitat: | + | Quote: |
| <file> | <file> | ||
| calpick.js | calpick.js | ||
| Line 20: | Line 20: | ||
| behind the input fields, the one with Office-like calendar | behind the input fields, the one with Office-like calendar | ||
| the date can be selected. The selection is in the appropriate | the date can be selected. The selection is in the appropriate | ||
| - | Field entered.. | + | Field entered. |
| Inspired by and with conceptual borrowings from the calendar item | Inspired by and with conceptual borrowings from the calendar item | ||
| Line 202: | Line 202: | ||
| \\ | \\ | ||
| - | ==== BE Formular ==== | + | ==== BE Form ==== |
| {{:deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:kalender:calendardateinput02_01.gif|}} | {{:deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:kalender:calendardateinput02_01.gif|}} | ||
| Line 220: | Line 220: | ||
| ===== BE Script Template ===== | ===== BE Script Template ===== | ||
| - | ==== EReceiver template ==== | + | ==== Receiver template ==== |
| Line 241: | Line 241: | ||
| \\ | \\ | ||
| + | |||
| ==== Template ==== | ==== Template ==== | ||
| Line 281: | Line 282: | ||
| [/PHP] | [/PHP] | ||
| </code> | </code> | ||
| + | |||
| + | \\ | ||
| + | **Since r411 please use** | ||
| + | |||
| + | <code html> | ||
| + | <!-- JS: | ||
| + | // calpick var | ||
| + | var _calImageAlign = "top"; | ||
| + | var _calTopDistance = 5; | ||
| + | var _calImageStyle = "margin-top:" + _calTopDistance + "px"; | ||
| + | --> | ||
| + | <!-- JS: {TEMPLATE}inc_js/calpick/calpick.js --> | ||
| + | </code> | ||
| + | instead of | ||
| + | |||
| + | <code html> | ||
| + | [PHP] | ||
| + | $GLOBALS['block']['custom_htmlhead']['calpickVar'] = '<script type="text/javascript">'.LF; | ||
| + | $GLOBALS['block']['custom_htmlhead']['calpickVar'].= '//<![CDATA['.LF; | ||
| + | $GLOBALS['block']['custom_htmlhead']['calpickVar'].= 'var _calImageAlign = "top";'.LF; | ||
| + | $GLOBALS['block']['custom_htmlhead']['calpickVar'].= 'var _calTopDistance = 5;'.LF; | ||
| + | $GLOBALS['block']['custom_htmlhead']['calpickVar'].= 'var _calImageStyle = "margin-top:" + _calTopDistance + "px";'.LF; | ||
| + | $GLOBALS['block']['custom_htmlhead']['calpickVar'].= '//]]>'.LF; | ||
| + | $GLOBALS['block']['custom_htmlhead']['calpickVar'].= '</script>'.LF; | ||
| + | |||
| + | $GLOBALS['block']['custom_htmlhead']['calpick.js']= getJavaScriptSourceLink('template/inc_js/calpick/calpick.js'); | ||
| + | [/PHP] | ||
| + | </code> | ||
| + | |||