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:19] Knut Heermann (flip-flop) |
english:phpwcms-system:article:contentparts:form:special-applications:calendar:date-with-js-calendar-2 [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| 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 282: | 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> | ||
| + | |||