Home » JavaScript
  • ColdFusion File Manager for TinyMCE 4
    This is the updated version of my previous ColdFusion file manager application for TinyMCE 3. This let users browse through a folder in the server, select images, documents, files, media and insert them into the editing document. Users can also upload new files, create folders. FileManager automatically create thumbnails of two different sizes if the user uploads a large image, making it easier to add thumbnail images to documents without resizing upfront.Set up:This is quite simple. (more..)
    62 Comments Post Comment Saturday 05.10.2013 by Saman W Jayasekara
  • BootStrap Popover Essential Tricks
    Here are my links attached to a bootstrap popover, they are USPS tracking numbers. When these been clicked on, I want to display USPS tracking information in the popover box.  Loading content though Ajax Call: Do not update the popover content after it is been loaded, instead whenever possible load popover box when the content is ready from your Ajax call. Here is a comparison. (more..)
    7 Comments Post Comment Wednesday 17.07.2013 by Saman W Jayasekara
  • The Most Simplified Regular Expression Tutorial In The World
    When I was new to programming, "regular expressions" is something that intimidated me for quite some time. All those squiggly lines, slashes, and brackets made me fallen in love with it. It was lengthy and comprehensive regular expression tutorials that scared me. Regular expressions are like Italian cooking. You start with a few essential ingredients, but you can mix them up in a correct order to create a complex dish. (more..)
    5 Comments Post Comment Thursday 11.10.2012 by Saman W Jayasekara
  • ColdFusion File Manager for TinyMCE
    In the latest version of TeaPot blog application I added an complete file manager function to the TinyMCE interface. Here I tried to pull that function out as an individual module so we can use it on other things. Previously I wrote ImageManager for TinyMCE/CKEditor which is quite simple and straight forward, but this version is bit more comprehensive.  This File Manager help you browse through user's files, upload new files, create folders and keep them organized. (more..)
    58 Comments Post Comment Wednesday 19.09.2012 by Saman W Jayasekara
  • ImageFlip - Simple JQuery Mobile Image Gallery Plugin
    I been working on mobile version for the TeaPot blog application this weekend and realized I'm in a need of a mobile image gallery interface to go with the in-build TeaPot image gallery function. There are few good mobile Image gallery functions out there but I'm terribly infected with the habit of enjoy coding, so I created another one. I don't think one extra JQuery Mobile Image Gallery would do any harm to the humanity. (more..)
    44 Comments Post Comment Monday 17.09.2012 by Saman W Jayasekara
  • Simple JQuery Autosuggest Dropdown ColdFusion Custom Tag
    Before I found JQuery or JQuery found me and fall in internal blissful love, I wrote an autosuggest dropdown function which I have been using for years. It took almost a week to write and stretch as far as my house to Minnesota. Recently I caught in a habit of simplifying my old pure JavaScript function to JQuery and this function caught me today. After around 20 lines of JavaScript and couple of hours of testing and tweaking this starts to work better than my original function. (more..)
    14 Comments Post Comment Friday 07.10.2011 by Saman W Jayasekara
  • How to trigger a lazyload (on-demand load) with JQuery
    Lazyload or on-demand loading is a nice way to save some bandwidth and  server load by requesting content at the end of the page only when the user scroll down to that area. If you scroll down Amazon product pages, you will notice lot of content starts to load on Ajax calls only when those areas come in to view. This post is not about how to make an Ajax call, but about when to make the call. At the bottom of my page, I have a DIV call “more”. (more..)
    7 Comments Post Comment Sunday 26.09.2010 by Saman W Jayasekara
  • IE Max-Height and Overflow:auto Hack Using JQuery
    I use JQuery on everything, on my coffee, on my bread and even to fix IE. I was posting FCBKcomplete ColdFusion wrapper few hours ago and I notice my code coloring box acting really wired inside IE. FireFox fine. Chrome is beautiful. I use max-height:500px; overflow:auto; white-space:nowrap; and all I wanted was, if my code box contents height is more than 500px, then display the scroll bar, if not, just dont do anything to my height. But it is absolutely too much for IE. (more..)
    0 Comment Post Comment Wednesday 02.06.2010 by Saman W Jayasekara
  • A Facebook-Like List auto complete Using FCBKcomplete, JQuery and Coldfusion
    FCBKcomplete is a JQuery based facebook-like AJAX capable auto complete input filed and it’s beautiful. Click here for the demo page. Click here to download. Emposha, the brilliant dude behind this neat piece of coding releases regular updates. So make sure to download the latest version. (more..)
    3 Comments Post Comment Wednesday 02.06.2010 by Saman W Jayasekara
  • A Simple JQuery TextArea MaxLength Function
    There are about 25,900 TextArea Maximum Length functions out there, Google said. I searched for a simple function that work on typing (Key Press) and on Copy and Paste, and able to use across the site without calling from each textarea. After few minutes of Googaling, I did not find any that fit my requirements, so here I put together a simple function You need JQuery to run this. (Download Here). (more..)
    13 Comments Post Comment Tuesday 18.05.2010 by Saman W Jayasekara
  • Search
  • ColdFusion File Manager for TinyMCE 4
  • IronGate : ColdFusion Exception Manager Application
  • Teapot : ColdFusion Blog Application Software
  • An Unofficial ColdFusion Developer Salary Survey
  • Topics
  • AWS
  • Barcode
  • ColdFusion
  • Image Processing
  • inDesign Server
  • JavaScript
  • Shipping API
  • Teapot Blog
  • This and That
  • Recent Posts
  • ColdFusion File Manager for CKeditor 4
  • ColdFusion File Manager for TinyMCE 4
  • How to Create ColdFusion Snippets in Sublime Text
  • Switch to Sublime Text IDE for ColdFusion Developers.
  • BootStrap Popover Essential Tricks


  • Archive
  • 2013 November (1)
  • 2013 October (1)
  • 2013 September (2)
  • 2013 July (1)
  • 2013 June (1)
  • 2013 May (6)
  • 2013 April (1)
  • 2013 March (1)
  • 2013 February (3)
  • 2013 January (1)
  • 2012 December (3)
  • 2012 October (1)
  • 2012 September (2)
  • 2012 July (1)
  • 2012 June (1)
  • 2012 March (2)
  • 2011 November (3)
  • 2011 October (1)
  • 2011 September (1)
  • 2011 July (1)
  • 2011 January (2)
  • 2010 December (4)
  • 2010 November (1)
  • 2010 October (5)
  • Drop me a Note


  • rss
Powered by Teapot ColdFusion Blog