Skip to content

Sumit Gupta

bookmarking my life

Category: Javascript

Dropzone.js: A great plugin

February 24, 2016 by Sumit Gupta Bookmarked, Javascript

I recently try Dropzone JavaScript library to ease the upload process. It is really a lightweight and good library. I have a existing PHP form that take multiple images, and…

Read More

Javascript Base64 Encode, Decode for UTF-8/unicode string

April 3, 2014 by Sumit Gupta Javascript

Complete article that works for me : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Base64_encoding_and_decoding  Part where we encode from unicode/utf-8 is function utf8_to_b64( str ) { return window.btoa(unescape(encodeURIComponent( str ))); } function b64_to_utf8( str ) { return…

Read More

Short Note: Colorbox moving Close button on Top right

February 8, 2012 by Sumit Gupta Javascript, JQuery

By default Colorbox Close button is on Bottom Right. However moving it back to top is as simple as changing Position of div from bottom to top. All I have…

Read More

Selecting menu item using Javascript

July 21, 2011July 21, 2011 by Sumit Gupta Concept/algorithm, HTML/CSS, Javascript, JQuery

Okay, I create a pure CSS menu that use UL/LI structure to maintain the child relationship. All was great with this menu except that when you are on any of…

Read More

ASP.NET JavascriptSerializer for Array

May 28, 2011 by Sumit Gupta .NET, ASP.NET, C#.NET, JQuery, JSON, VB.NET/VB

I need to throw some database entry which are as simple as TIME, for this I got a string array in my ASP.NET code behind. I was throwing this String…

Read More

JavaScript: New Presentation

November 20, 2010 by Sumit Gupta Article, Blog: My thoughts, Javascript

We all have experienced some cool effects while we do web surfing. Its Twitter, Facebook, Google, Windows Live website, whatever you name it, they all use great web interface easy…

Read More

Colorbox: Alternative for Lightbox

November 3, 2010 by Sumit Gupta Javascript

I have got lot of queries on my Lightbox + Videobox merge code. But over time I realize my merged code is not good enough as now with dynamic web,…

Read More

Posts navigation

1 2 Next →

© 2025 Sumit Gupta // Powered by WordPress