Entries Tagged as "jQuery + Javascript"

Using the Coldfusion filemanager standalone as a file interface

Someone asked me today if you could use the Coldfusion filemanager plugin for CKeditor as a standalone application. That's a great idea, I thought. It can replace the regular file upload fields.

You can view a working example here.

14 Comments

CKeditor 3 with FREE coldfusion filemanager, version 2.1

I finally found time to update the coldfusion filemanager for the CKeditor 3. Check the long list of changes underneath! Also read the original blog post for more info on this filemanager.

I released the first versions in February/March 2010, as you can read in this blog post. Since publishing it, I noticed it had some user interface issues. These issues were mostly javascript-related, and were already existent in the original code by the Core Five labs. But nevertheless, they needed to be fixed.

78 Comments

Javascript dateDiff function

I needed a function to check the difference between 2 dates in javascript. I couldn't find a suitable one, so I created this one:

function dateDiff(datepart, fromdate, todate)// datepart: 'w', 'd', 'h', 'n', 's'
{
datepart = datepart.toLowerCase();
var diff = todate - fromdate;
var divideBy = {
w:604800000 //1000*60*60*24*7
, d:86400000 // 1000*60*60*24
, h:3600000 // 1000*60*60
, n:60000 // 1000*60
, s:1000
};
return Math.floor(diff/divideBy[datepart]);
}

3 Comments

CKeditor 3 with free filemanager, now also for Coldfusion! v1.1.2

I always used version 2 of the best wysiwyg editor out there: FCKeditor. But it began to show it's age, and some functions didn't work like I wanted. So I checked for an upgrade. And yes, did they have one! A completely rewritten editor, now dubbed CKeditor, created by CKsource.com. It looks good, works good, and was easy to integrate.
But because you have to pay for the filemanager, and there is a free alternative, I created the CFM connector for CKeditor's alternative Filemanager!

59 Comments

Test for existence of the Cortona 3D plugin

If you want to check whether your visitor has the Cortona 3D viewer plugin installed in the browser, you can use the following javasc...

No Comments

respective-eponymous