Curious if somone has created a plugin to load jQuery UI into boltwire.
I didn't think this would be very hard, but apparently not as easy as I
thought. I created a simple plugin that simply sets the $BOLTpluginHeader
with the necessary entries so that when it is included they are loaded
without doing anything fancy, but it didn't seem to work.
In Chrome it had negative effect in causing the old blank page but code is
loaded on the page syndrome that I've run into in the past.
My primary goal is to get to the date picker for some pages.
$BOLTpluginHeader['jsqueryui'] =
'<script type="text/javascript" language="javascript" src="' .
'/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" language="javascript" src="' .
'/js/jquery-ui-1.8.10.custom.min.js"></script>
<link rel="stylesheet" href="' .
'/css/smoothness/jquery-ui-1.8.10.custom.css" />
<script>$(function() {
$("#date01" ).datepicker({dateFormat: \'yy-mm-dd\'});
$("#date02" ).datepicker({dateFormat: \'yy-mm-dd\'}); });
</script>';
The js code is located in /js of the root of the webtree, /css and
/development-bundle as well and they all have .htaccess entries to allow
access to them.
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en.