Differences

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:20]
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 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>
 +
english/phpwcms-system/article/contentparts/form/special-applications/calendar/date-with-js-calendar-2.1314253210.txt.gz · Last modified: 2018/06/03 18:07 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0