jsPlumb demo - 2 views
jQuery 1.4: What you need to know - 5 views
-
Matt Nowack has taken the awesome HTML5 presentation app in HTML5, which is open source, and has created a presentation discussing jQuery 1.4. It is good stuff, using the fact that you can embed the features that you want to show. Just as long as you can hit the right arrow to get through the "look at all the people who use jQuery" part (we get it! lots of people use jQuery!)
How to Monitor If an Image Loads Completed - HTML and Javascript Tips |JAVASCRIPT CODES - 0 views
-
imgDom.onreadystatechange
-
cross browser way to deal with loading of single dom elements. Note : this does not ensure that entire subsidiary dom tree has loaded and also it does not ensure that the event will be immediately fired if dom has already loaded. Doing the same thing through JQuery : $("..something..").load(function() { ... });
-
Jash: JavaScript Shell - 4 views
-
"Jash is a DHTML-based window that gives you command-line JavaScript access to the current browser window. With this console you can quickly debug scripts, manipulate the DOM, view the current page's objects, functions, and variables, execute arbitrary Javascript, enter new CSS (in IE, Firefox, Opera, and Safari), and much more." - A useful tool to execute JavaScript, make live (temporary) CSS changes to a page, discover the page structure, etc. for developers. Written totally in JavaScript so can be used on any platform with any browser. Include in your own pages for debugging or load via a bookmarklet to run on any page.
Ident Engine - 1 views
-
Without much conscious thought, most of us have built identities across the web. We've filled in profiles, uploaded photos, videos, reviews and bookmarks. The Ident Engine uses semantic web API's to bring together these web footprints.
-
JavaScript library that retrieves and aggregates social profiles from various sites and networks. Currently supports 72 sites and 149 endpoint mappings * 12seconds.tv * 43things.com * 43people.com * backnetwork.com * backtype.com * barcampbrighton3.backnetwork.com * barcamplondon5.backnetwork.com * blip.fm * blip.tv * blogspot.com * blogger.com * brightkite.com * claimid.com * cocomment.com * corkd.com * dconstruct08.backnetwork.com * del.icio.us * digg.com * disqus.com * djangopeople.net * dopplr.com * edenbee.com * emberapp.com * facebook.com * ffffound.com * flickr.com * fotb08.backnetwork.com * fotolog.com * friendfeed.com * getsatisfaction.com * github.com * google.com * hi5.com * huffduffer.com * identi.ca * jaiku.com * jpgmag.com * krop.com * last.fm * linkedin.com * livejournal.com * ufapi.lab.madgex.com * mashed08.backnetwork.com * meetup.com * microformats.org * mybloglog.com * mytvshows.org * mynameise.com * myopenid.com * myspace.com * newsvine.com * odeo.com * orkut.com * picasaweb.google.com * plaxo.com * plazes.com * profilactic.com * readernaut.com * seesmic.com * slideshare.net * stumbleupon.com * technorati.com * threadless.com * timespeople.nytimes.com * tumblr.com * twitter.com * upcoming.yahoo.com * vimeo.com * vox.com * spaces.live.com * yelp.com * youtube.com Content types definitions * Activity * Audio * Bookmarks * Entries * Events * Friends * Friends Status * Images * Interests * Lifestream * None * Profile * Resume * Services * Slides * Status * Video Schemas * Atom * FOAF * None * Rss * XFN * XFN-hCard * hAtom * hCalendar * hCard * hResume
Three map implementations in javascript. Which one is better? - Stack Overflow - 1 views
-
if (!Array.prototype.map) { Array.prototype.map = function(fun /*, thisp*/) { var len = this.length >>> 0; // make sure length is a positive number if (typeof fun != "function") // make sure the first argument is a function throw new TypeError(); var res = new Array(len); // initialize the resulting array var thisp = arguments[1]; // an optional 'context' argument for (var i = 0; i < len; i++) { if (i in this) res[i] = fun.call(thisp, this[i], i, this); // fill the resulting array } return res; };}
-
if (!Array.prototype.map) { Array.prototype.map = function(fun /*, thisp*/) { var len = this.length >>> 0; // make sure length is a positive number if (typeof fun != "function") // make sure the first argument is a function throw new TypeError(); var res = new Array(len); // initialize the resulting array var thisp = arguments[1]; // an optional 'context' argument for (var i = 0; i < len; i++) { if (i in this) res[i] = fun.call(thisp, this[i], i, this); // fill the resulting array } return res; }; }
Job opening for freshers (Engineering/MCA) |QualityPoint Technologies - 0 views
-
Currently we are looking for Software Engineers.\n\nDesired Candidate profile:\n \n* Having Good Technical Knowledge and willing to work hard for learning new technologies.\n\n * Team work.\n * Sincere\n * Good communication skills.\n * Knowledge in PHP/mySql, C# is preferred.\n * Willing to work in any technology.\n * Job location :Chennai and Ottapidaram (Tuticorin District)\n * Experience 0-1 year\n\n
7 + 8 === 7 in JavaScript » Debuggable Ltd - 0 views
-
JavaScript assumes that any 0-prefixed string ought to be referring to an octal number. This will not become apparent until your string represents an invalid octal such as '08'. So in order to outsmart this "feature" you have to explicitly provide the base for your integer:
6 Advanced JavaScript Techniques You Should Know - 3 views
-
function showStatistics(args) { document.write("<p><strong>Name:</strong> " + args.name + "<br />"); document.write("<strong>Team:</strong> " + args.team + "<br />"); if (typeof args.position === "string") { document.write("<strong>Position:</strong> " + args.position + "<br />"); } if (typeof args.average === "number") { document.write("<strong>Average:</strong> " + args.average + "<br />"); } if (typeof args.homeruns === "number") { document.write("<strong>Home Runs:</strong> " + args.homeruns + "<br />"); } if (typeof args.rbi === "number") { document.write("<strong>Runs Batted In:</strong> " + args.rbi + "</p>"); } } showStatistics({ name: "Mark Teixeira" }); showStatistics({ name: "Mark Teixeira", team: "New York Yankees" }); showStatistics({ name: "Mark Teixeira", team: "New York Yankees", position: "1st Base", average: .284, homeruns: 32, rbi: 101 });
-
Object-oriented JavaScript implements namespace-like principles due to the fact that properties and methods are declared inside of objects, thus there are less likely to be conflicts. A conflict could arise, however, through object names. And very likely, the conflict will occur "silently", thus you may not be alerted to the issue immediately.
-
if (typeof MY == "undefined") { MY = new Object(); MY.CUSTOM = new Object(); } MY.CUSTOM.namespace = function() { function showStatistics(args) { document.write("<p><strong>Name:</strong> " + args.name + "<br />"); document.write("<strong>Team:</strong> " + args.team + "<br />"); if (typeof args.position === "string") { document.write("<strong>Position:</strong> " + args.position + "<br />"); } if (typeof args.average === "number") { document.write("<strong>Average:</strong> " + args.average + "<br />"); } if (typeof args.homeruns === "number") { document.write("<strong>Home Runs:</strong> " + args.homeruns + "<br />"); } if (typeof args.rbi === "number") { document.write("<strong>Runs Batted In:</strong> " + args.rbi + "</p>"); } } showStatistics({ name: "Mark Teixeira", team: "New York Yankees", position: "1st Base", average: .284, homeruns: 32, rbi: 101 }); } MY.CUSTOM.namespace();
- ...1 more annotation...
-
//2. Object Literals to Pass Optional Arguments function showStatistics(args) { document.write("Name: " + args.name + "
"); document.write("Team: " + args.team + "
"); if (typeof args.position === "string") { document.write("Position: " + args.position + "
"); } if (typeof args.average === "number") { document.write("Average: " + args.average + "
"); } if (typeof args.homeruns === "number") { document.write("Home Runs: " + args.homeruns + "
"); } if (typeof args.rbi === "number") { document.write("Runs Batted In: " + args.rbi + ""); } } showStatistics({ name: "Mark Teixeira" }); showStatistics({ name: "Mark Teixeira", team: "New York Yankees" }); showStatistics({ name: "Mark Teixeira", team: "New York Yankees", position: "1st Base", average: .284, homeruns: 32, rbi: 101 }); //Using Namespaces to Prevent Conflicts if (typeof MY == "undefined") { MY = new Object(); MY.CUSTOM = new Object(); } MY.CUSTOM.namespace = function() { function showStatistics(args) { .................. } showStatistics({ name: "Mark Teixeira", team: "New York Yankees", position: "1st Base", average: .284, homeruns: 32, rbi: 101 }); } MY.CUSTOM.namespace();
Inheritance - MDC - 1 views
-
Note that __proto__ may not be available in JavaScript versions other than that in Mozilla. An alternative, but less optimal version of extend(), which should work everywhere, is: function extend(child, super) { for (var property in super.prototype) { if (typeof child.prototype[property] == "undefined") child.prototype[property] = super.prototype[property]; } return child; }
Is JavaScript object-oriented? - Stack Overflow - 1 views
-
Well this is broken. Since the function assigned to getValue is no longer in scope with _value it can't access it. We would need to promote _value to an attribute of this but that would make it accessable outside of the control of code written for the class, hence encapsulation is broken.
Underscore.js - 4 views
-
Underscore is a utility-belt library for Javascript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in Javascript objects. It's the tie to go along with jQuery's tux.
-
Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux. Collections each, map, reduce, detect, select, reject, all, any, include, invoke, pluck, max, min, sortBy, sortedIndex, toArray, size Arrays first, last, compact, flatten, without, uniq, intersect, zip, indexOf, lastIndexOf Functions bind, bindAll, delay, defer, wrap, compose Objects keys, values, extend, clone, isEqual, isElement, isArray, isFunction, isUndefined Utility noConflict, identity, uniqueId, template
« First
‹ Previous
441 - 460 of 657
Next ›
Last »
Showing 20▼ items per page