background preloader


Related:  Javascript

A JavaScript Toolkit For Interactive & Real-Time Graphs – Rickshaw Rickshaw is a JavaScript toolkit, created by the developers of the stock photo service Shutterstock, for generating interactive and real-time graphs. It is built on top of the D3.js visualization library and can render stack or line graphs. The graphs are interactive, respond to hovering them or their legends, items in the stack can be re-ordered with drag 'n' drops and more. There is a good margin for customization: colors, sizes, interpolation and functionality in general with the modular/extendable structure of the toolkit. Video, Mobile, and the Open Web [Also posted at] I wrote The Open Web and Its Adversaries just over five years ago, based on the first SXSW Browser Wars panel (we just had our fifth, it was great — thanks to all who came). Some history The little slideshow I presented is in part quaint. WPF/E and Adobe Apollo, remember those? But other parts of my slideshow are still relevant, in particular the part where Mozilla and Opera committed to an unencumbered <video> element for HTML5: Working with Opera via WHATWG on <video> Unencumbered Ogg Theora decoder in all browsers Ogg Vorbis for <audio> Other formats possible DHTML player controls We did what we said we would. We were called naive (no) idealists (yes). Then in 2009 Google announced that it would acquire On2 (completed in 2010), and Opera and Mozilla had a White Knight. At Google I/O in May 2010, Adobe announced that it would include VP8 (but not all of WebM?) On January 11, 2011, Mike Jazayeri of Google blogged: Where we are today Mobile matters most /be

HTML5 Please - Use the new and shiny responsibly Getting started with Appmobi Phonegap XDK Home » Mobile » Getting started with Appmobi Phonegap XDK Appmobi-HTML5 powered mobile development platform now offers new tool called ‘Phonegap XDK’ that helps mobile application development using the phonegap framework. PhoneGap XDK: So far the mobile developers who are using phonegap framework to build mobile applications have used Eclipse as their primary Integrated development environment but now appmobi offers XDK which means an integrated development framework(IDE)which you can access using a web browser. Read next : 6 Best Cross platform mobile development tools What is so special about this IDE? PhoneGap XDK is an useful tool for the beginners to build and emulate applications on various devices.Once you build the application you can download the app and submit it to marketplaces (either apple appstore or android market) or push to cloud and test it on real devices. Lets Get started using Phonegap SDK Setup a new project by clicking next button. Appmobi Project life cycle

mobl List.js - Add search, sort and flexibility to plain HTML lists with cross-browser native JavaScript by @javve jQuery Image Galleries & Sliders – Best Of jQuery image galleries and sliders are very common on portfolio sites and are also useful for any other type of site for displaying images and photos. Also, provide a good user experience and make viewing images more pleasant and intuitive on your website. With the advent of powerful JavaScript frameworks like jQuery, Prototype, Mootools etc., the quality of JavaScript based image galleries and slideshows have improved dramatically. Today we’ve prepared for you a good list of the best jQuery image sliders and galleries plugins that can provide you with the resources that you need to get a gallery or a slider on your site. Recommended Reading: Top 10 Free Responsive Image Galleries/Slideshows TN3 Gallery Demo | DownloadTN3 Gallery is a full fledged HTML based customizable image gallery with jQuery slideshow, transition, CSS skinning and multiple album options. Supersized Demo | DownloadSupersized is a fullscreen slidehow jQuery plugin. Galleria CU3ER Image Slider jQuery lightBox Gallerific Cycle

Using Best Practices to Create appMobi Applications Article – Using Best Practices to Create appMobi Applications v1.05 : 05.10.2011 Although websites and appMobi applications are both written using the same technologies, there are significant differences between the two projects. Writing native applications using HTML5 and Javascript requires a different mindset from making an HTML5 website. Optimize Loading HTML Download speed is no longer an issue since all the files necessary for the application to run are located within the application itself. Developers should try to delay as much loading of HTML and Javascript until the first index.html file is loaded. Try to Use a Single HTML File Each time a new HTML page is loaded, the user will see a flash as the new page is drawn on the screen. Bite Size Your Application Views Mobile applications simply don't have the same space that the World Wide Web does. Make Targets Big Don't Use Hover States Use Touch Events Try to use touch start, touch move, and touch end events as much as possible.

Mobile application development Platform development environment[edit] Each of the platforms for mobile applications also has an integrated development environment, which provides tools to allow a developer to write, test and deploy applications into the target platform environment. The following table summarizes the elements in each of the development environments. Criteria for selecting a development platform usually contains the target mobile platforms, existing infrastructure and development skills. Mobile application testing[edit] Mobile applications are first tested within the development environment using emulators and later subjected to field testing. Google Android Emulator The official Android SDK Emulator The official Android SDK Emulator includes a mobile device emulator which mimics all of the hardware and software features of a typical mobile device (without the calls). MobiOne TestiPhone TestiPhone is a web browser-based simulator for quickly testing iPhone web applications. iPhoney BlackBerry Simulator

jQuery News Ticker Add Change Tracking to Online Text Editing with Ice.js If you're looking to add change tracking to a Web app, you might want to take a look at Ice from the CMS group at the New York Times. Ice (or Ice.js) is an implementation of change tracking for any content-editable element on the Web. It can track changes (inserts, deletes) from multiple users, and has some optional plugins for converting "smart" quotes and creating em-dashes. Hands-on experience is probably the best way to get an idea what Ice.js can do. The current demo shows a plain content-editable element with Ice.js as well as a TinyMCE instance using Ice.js as a plugin. Ice.js also has an API, so you could use it as the basis for your own custom editor or integrate it into an editor like TinyMCE. Ice.js looks pretty good so far, but the project is still in early days and the developer is calling for other folks to get involved adding features, plugins and documentation.

Tangle: a JavaScript library for reactive documents Tangle is a JavaScript library for creating reactive documents. Your readers can interactively explore possibilities, play with parameters, and see the document update immediately. Tangle is super-simple and easy to learn. This is a simple reactive document. When you eat 3 drag cookies, you consume 150 calories. This is the HTML for that example. When you eat <span data-var="cookies" class="TKAdjustableNumber"> cookies</span>, you consume <span data-var="calories"> calories</span>. And this is the JavaScript. Write your document with HTML and CSS, as you normally would. Try out some examples. Proposition 21: Vehicle License Fee for State Parks The way it is now: California has 278 state parks, including state beaches and historic parks. What Prop 21 would do: Proposes to charge car owners an extra $18 on their annual registration bill, to go into the state park fund. Analysis: Suppose that an extra $18 was charged to 100 % of California taxpayersvehicle registrations. Fc = 2 KHz Q = 0.8 Unstable

Developing for Multiple Devices Article – Developing appMobi Applications for Multiple Devices v1.00 : 03.18.2011 Writing an appMobi application for multiple devices can prove to be a challenge. The issue is essentially that the devices have different native resolutions. Applications with too small a resolution cause the application will look “blocky” or “fuzzy” when it is scaled up to run on a device with a larger resolution. This article will outline the risks involved and provide solutions to help developers create an application that is as flexible, attractive, and solid as possible. There are two schools of thought to writing an application that displays appropriately on multiple devices. Detecting the platform AppMobi.device.platform Getting the inner width & inner height of the document to get the actual dimensions Using CSS to wrap text Using the viewport commands Wait until after the viewport command runs to make the <body> tag visible Don’t try to do viewport and rotation at the same time //set Viewport

element « DOM Reference The Element interface represents an object within a DOM document. This interface describes methods and properties common to all kinds of elements. Specific behaviors are described in interfaces which inherit from Element but add additional functionality. For example, the HTMLElement interface is the base interface for HTML elements, while the SVGElement interface is the basis for all SVG elements. Languages outside the realm of the Web platform, like XUL through the XULElement interface, also implement it. Properties Inherits properties from its parents Node, and its own parent, EventTarget, and implements those of ParentNode and ChildNode. Event handlers Element.oncopy Returns the event handling code for the copy event. Element.oncut Returns the event handling code for the cut event. Element.ongotpointercapture Element.onlostpointercapture Element.onpaste Returns the event handling code for the paste event. element.onwheel Returns the event handling code for the wheel event. Methods