Placed in:
Search
Search Keyword code snippet
Total 54 results found. Search for [ code snippet ] with Google

Results 1 - 30 of 54
...some things out: Also designers should work with the command line; it speeds things up. Code Linting is your first unit test. Yeoman allows you to set up a complete project super...

2. Looking back at 2011
(Useful/Features)
...ast year. I might write more Quick Tips; Shorter articles, but those that contain extremely useful tips/code snippets that you might use. And in case you haven't seen it on Twitter yet, this was the C...

3. Build native-looking apps for iOS
(Programming/Webdesign)
...our website starting with this template, bookmark it and you're done. View or download the source code and read the comments carefully to see what's needed to create a native looking app using o...

4. Working with Websockets
(Programming/Webdesign)
...at you need for your server to "understand" and support the Websocket protocol. Client side code If you know all about the browser and what the server needs, programming with Websockets ...

...ello Mobile World" application, which is very simple. Personally, I'm a big fan of comments in the code, but sadly this book is missing out on that. What I'm also kind of missing, is the use of n...

...heck how and if this functionality actually works, so we'll start off with a basic example. This is the code we'll need. <div id="exp1container"> <p>This is t...

...st selector (instead of h1, h2, h3), but I wanted to use the "old" headings, just to make the code more clear. Thoughts As you can see, you can group several selectors together in the :a...

...selector (in CSS: ~) in combination with the hover event (in CSS: :hover). Dive into the example/source code to see how it looks like, and think about the effect you think it would produce.  &n...

Last week, I came back from a short vacation to Italy. I had a great time, visited Rome too (including all the tourist attractions you need to see over there), but also visited the ruins of Ostia Anti

...the container. Nothing really exiting going on over here, but now comes the most fun part: the jQuery code! jQuery After loading jQuery and waiting for the document to be ready with loading, we ...

....2.1) WebTV plugin (Version 0.6) Free WP Tube (Version 1.0) Encoding with the Adobe Media Encoder Using preset skins Using Video Component buttons to customize your skin Ch...

...how you can use more options to create more elements. Options On the demo page, you can see how the code should be implemented on your site. You can define the elements parameter to set which kind...

...est order Chapter 8: Themes and Design Elements WP e-Commerce included widgets Shortcode and PHP tags WP e-Commerce theme engine Tweaking your WordPress theme Additiona...

...e, SQL injections can be prevented. What Can Be Done to Prevent an SQL Injection Though the exact code differs depending on the programming language you use, the basic principles to prevent an S...

... using the framework. Although the book is in full colour (screenshots of directory structures etc.), code examples are in plain black. That's too bad, since I personally really like to see colours ...

...CSS, we can now create the desired effect (interaction) using jQuery. I've added comments in the source code to make some things clear. First, we'll need some variables to store some global data. Wh...

A couple of days ago, Mozilla released their newest version of their ever popular browser: Firefox. It was in beta before, but now version 3.6 can be officially downloaded. This version of the browser

...lugins Server-side management of accordions Server-side management of tabs Using special codes to define tabs Loading accordion panels through AJAX Loading tab panels through ...

...ill show the use of the same HTML, with different classes for CSS3 and jQuery. You can compare both the codes and see which one you like more. Don't forget to check the demo/download the source code t...

...bsp; As you could expect, this demo only works in browsers that support the new CSS3 features. This code fully works in Safari / Firefox 3.6, but hasn't been tested in other browsers. Now let's se...

...e, how long it would take and which function to use. As you can imagine, this kind of CSS can make your code pretty complex. You'll need to think in your design stage on what will happen when an anima...

22. jQuery DJ Hero - CSS3 and jQuery fun
(Programming/Webdesign)
... After we've done the HTML part, we can move on with the actual JavaScript. I've added comments in the code to explain some stuff. Global variables // Variable to store if the records are spinn...

First things first here: I'm a Mac guy. But I must say: Windows 7 has made quite a lot improvements compared to it's predecessor (Vista). The first time I booted the OS and saw flying orbs create the

24. Browser size aware content scaling
(Programming/Webdesign)
...he following reference image: To make this work, jQuery kicks in. I've added comments in the source code to explain what it does. google.load("jquery", "1.3.1"); google.se...

...e currently for using a list on your web page, is because for navigation. In this HTML/CSS example, the code is shown that creates a simple, minimalistic yet beautiful navigation structure. HTML ...

...elp you find the element depth on a web page. Also, when you didn't properly close a tag, this piece of code will expose it for you. Simply check out the demo to view what we're going to crea...

...ssion Blend). XAML (UI) There are two views to the MainPage.xaml file: A design view, and a code (XAML) view. Since we don't do anything with design (drawing stuff etc.), we'll directly sw...

Style Sheet switchers (or "colour theme choosers") are not really that new. Apart from that fact, they still are pretty fun to use and cool to see. I was wondering how jQuery could help me a

29. Theatrical movie trailer with jQuery
(Programming/Webdesign)
... preview is currently viewed */ var currentPreview = -1; This is what happens in the above piece of code: PREVIEWTIME - A global variable that you can set to set the preview time on how long t...

...om my day to day work as a designer. I get ideas out of the blue from just daydreaming about design and code. I get ideas from general life and all the non-nerds I know, who help me always remember ho...

<< Start < Prev 1 2 Next > End >>