DCSIMG
DEV,JavaScript - Client-Side with Basil Goldman

Browse by Tags

20 July 2011
Javascript "object or function?"
Hi all, See below example, how to make your javascript code sexy. If you call --> getTimeStamp as variable, return object of the Date.now, but if you call --> getTimeStamp() as function, return a timestamp value. var getTimeStamp = Date.now || function () { return +( new Date).getTime(); }; Best... Read More...
23 January 2010
JavaScript Breadcrumbs navigation
In this code listing I want to demonstrate how to implement "Breadcrumbs" in JavaScript for the pages collection, where page object have a two main key's pageId and parentPageId, and create a new collection sorted by current parents. Listing 1: function page(pageId, parentPageId, title... Read More...
21 August 2008
jQuery.create() - jQuery plugin to create HTML elements
jQuery.create() - it's a featured plugin for jQuery JavaScript Library. You can create any types of HTML elements, set attributes and context or HTML using jQuery.create(). See below the HTML example declaration. I think it make easy and fast your programming in JavaScript. jQuery.create = function... Read More...
20 August 2008
JavaScript Repeater Control (dataRepeater) - from jQuery.Presenter.1.0.8 - UIControls Library
In this post, I want to present a new JavaScript Repeater Control from my latest UIControls Library jQuery.Presenter 1.0.8. This control like (ASP.NET Repeater Control) created using jQuery Library 1.2.3 and support for later versions. It's a free open source script... Enjoy... /* * jQuery.Presenter... Read More...