JQuery Datepicker only showing when no jquery stylesheet included -
i have datepicker configured use on page.. , if don't add jquery theme, datepicker shows..
problem when add jquery theme ( such ui-lightness), datepicker doesn't show anymore. can see in firebug datepicker there, doesn't show!!
i use $this->jquery()->addstylesheet('path');
add stylesheet , when check browser source code, stylesheet present..
i removed other css check if interference issue, without luck.
help?
question expanded:
working in cms book apress pro zend framework techniques - build full cms.
datepicker initialized through following files :
bootstrap.php
$view->addhelperpath("zendx/jquery/view/helper", "zendx_jquery_view_helper");
layout.phtml
echo $this->jquery();
with these commands full working datepicker, in basic layout. when add stylesheet through:
layout.phtml
$this->headlink()->prependstylesheet('js/jquery/css/ui-darkness/jquery-i-1.8.9.custom.css') echo $this->headlink();
the datepicker still on page, no longer visible. tried reffering custom jquery.ui js in layout.phtml through
$this->headscript()->appendfile('js/jquery/js/jquery-ui-1.8.9.custom.min.js'); echo $this->headscript();
but no result... in both cases css , js files there in source code. no broken links. commented out css-links, i'm sure there's no interference.
question expanded:
working in cms book apress pro zend framework techniques - build full cms.
datepicker initialized through following files :
bootstrap.php
$view->addhelperpath("zendx/jquery/view/helper", "zendx_jquery_view_helper");
layout.phtml
echo $this->jquery();
with these commands full working datepicker, in basic layout.
when add stylesheet through:
layout.phtml
$this->headlink()->prependstylesheet('js/jquery/css/ui-darkness/jquery-i-1.8.9.custom.css') echo $this->headlink();
the datepicker still on page, no longer visible.
i tried reffering custom jquery.ui js in layout.phtml through
$this->headscript()->appendfile('js/jquery/js/jquery-ui-1.8.9.custom.min.js'); echo $this->headscript();
but no result..
in both cases css , js files there in source code. no broken links.
i commented out css-links, i'm sure there's no interference.
the same thing happened me today. think because use older version of jquery-ui (distributed ubuntu). choosing "legacy release" option before clicking custom theme's download link produced css made datepicker work again.
side note: versions of jquery , jquery-ui i'm using, while not latest, newer listed current on custom theme download page. i'm little surprised have use "legacy" option.
Comments
Post a Comment