Simple question on getting started about the 'Core' files
Simple question on getting started about the 'Core' files
dmartinez01
Posts: 6Questions: 0Answers: 0
Simple newbie question... I downloaded DataTables 1.9.3. In copying them into the structure of our website, we have the following subdirectors:
/include/ (for the css files)
/javascript/ (for the .js files)
/jsp2/ (for the actual pages)
/images/ (for images
So I took the DataTables javascript files under /media/js/ and copied them under /javascript
I took the DataTables css files under /media/css and copied them under /include/
I took the images from DataTables /media/images/ and copied them under /images/
It's been up and running since mid-August, some tweaks but it is working well.
Today I noticed the /media/src/ subdirectory in DataTables....with another DataTables.js in it, and subdirectories with a bunch of .js files for API, core, ext, model.
Do I need these as well? Would I put the DataTables.js file under our /javascript/ directory and create subdirectories for api, core, ext, model and keep all paths relative?
Or is this supplemental for developers building/compiling on their own?
Please help....
/include/ (for the css files)
/javascript/ (for the .js files)
/jsp2/ (for the actual pages)
/images/ (for images
So I took the DataTables javascript files under /media/js/ and copied them under /javascript
I took the DataTables css files under /media/css and copied them under /include/
I took the images from DataTables /media/images/ and copied them under /images/
It's been up and running since mid-August, some tweaks but it is working well.
Today I noticed the /media/src/ subdirectory in DataTables....with another DataTables.js in it, and subdirectories with a bunch of .js files for API, core, ext, model.
Do I need these as well? Would I put the DataTables.js file under our /javascript/ directory and create subdirectories for api, core, ext, model and keep all paths relative?
Or is this supplemental for developers building/compiling on their own?
Please help....
This discussion has been closed.
Replies
To actually use DataTables, all you should really need is jquery.dataTables.js and jquery.dataTables.css.
Allan
With 1.10 I'm going to make another download page which will include only the very basic files for what you need to get going. But really its only jquery.dataTables.js, jquery.dataTables.css and the image files.
Allan