Welcome Guest, Not a member yet? Register   Sign In
jquery (ui) integration library approach
#5

[eluser]Iverson[/eluser]
Honestly, the only really useful function I see here is add_datepicker(). This is really a YAAM (Yet Another Asset Manager). The asset manager I use (http://ellislab.com/forums/viewthread/46910/P15/) comes with:

Code:
// prints <link rel="stylesheet" href="http://example.com/assets/css/global.css" type="text/css" />
echo style('global');

// prints [removed][removed]
echo jscript('jquery.datepicker.js');

All you have to do is specify the paths:

Code:
$config['image_path']  = "images/";
$config['javascript_path']= "js/";
$config['stylesheet_path']= "css/";

Not trying to be a jerk, but unless there are some more jquery specific functions you're going to work on, I don't really see the use 8-/


Messages In This Thread
jquery (ui) integration library approach - by El Forum - 04-16-2009, 03:30 AM
jquery (ui) integration library approach - by El Forum - 04-16-2009, 04:39 AM
jquery (ui) integration library approach - by El Forum - 04-16-2009, 06:11 AM
jquery (ui) integration library approach - by El Forum - 04-16-2009, 07:34 AM
jquery (ui) integration library approach - by El Forum - 04-16-2009, 08:58 AM
jquery (ui) integration library approach - by El Forum - 04-17-2009, 12:47 AM
jquery (ui) integration library approach - by El Forum - 07-11-2010, 07:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB