The actual title of your page may be don’t work properly… Check it! – thnxz @SEGuide


Thnxz to searchengineguide.com –  @SEGuide

Stoney deGeyter

The actual title of your page is found in the title element of your code:

This Is Your <a class="zem_slink" href="http://en.wikipedia.org/wiki/Web_page" title="Web page" rel="wikipedia" target="_blank">Page</a> Title

For the search engines and browsers to read it properly, this code needs to be placed in the <head>section of your code:

<head>
<title></title>
</head>

How and Where Is the Title Tag Displayed?

While your page title is essentially hidden in your code, there are four places it is visible. Each of these places have varying degrees of impact on your potential audience.


Search Engine Results Pages

When a search is performed, in most cases, Google and other search engines pull the page title to display as the clickable link. This is what most people see, scan and read as they are deciding which site to visit after a search.

Title Tag in SERPs

Browser Tabs
More and more, web users have multiple browser tabs open at one time. It may be three or four, or even dozens at a time. Your well-written title tag will help them find your information more quickly as they seek to navigate back to the open page.

Keep in mind that usually only 1-4 words of the title will display in the tab, giving you viewable ranges from 25-50% of the whole title. This might alter the way you structure your title, placing the most important information first.

Title tag in browser tabs


Browser Bookmarks

Social Links

Complete article?  O_o  Enjoy! 🙂

When pushing content out onto social media channels, the title of your page is usually the title of the link that gets pushed out. If your title is too long or has additional words that are unnecessary (such as company name), this could lead to socialization of a not-so-compelling or interesting title. Since clicks are an important part of socialization, your title should be optimized for that, too.

Title Tags in Social Media

How You Can Benefit From Good Titles

A title tag serves three main purposes of SEO, usability and socialization. They influence rankings, persuade people to click and increase visibility.

Tatle tag influence

SEO: Influence rankings
As I mentioned before, if I could only make one change to a site for search engine ranking purposes, it would be the title tag. Adding or moving keywords in a title tag can mean the difference between a page not ranked and page ranked on the first page in the search results. Depending on your competition, it can literally have that much power.

Usability: Persuades the click
Since the title tag is (usually) displayed in the search results or on social sites, it is the often the very first point of influence in bringing someone to your site. If your title tag isn’t compelling, then all your top rankings and social shares ultimately won’t amount to a whole lot as potential visitors bypass it for other more compelling content.

Socialization: Increases visibility
When looking for social engagement, the more compelling your title, the greater likelihood that it will be passed and re-passed and re-passed by the masses. Boring titles that get skimmed over don’t engage audiences. Exciting titles do. The higher your engagement, the better visibility your title tag earns you.

Complete article?  O_o  Enjoy! 🙂

How to Craft a Good Title Tag

Crafting a quality title tag isn’t always as easy as it seems. Every display platform has differing limitations and serves a different purpose. Obviously, good writing is essential to being effective. Poorly crafted and structured words are skimmed over at best, and portray a level of incompetence at worst. Using good writing practices will ensure you craft a title tag that is worthy of the attention you want.

Complete article?  O_o  Enjoy! 🙂

65-70 character limit

Leer más “The actual title of your page may be don’t work properly… Check it! – thnxz @SEGuide”

SafeFrame – thnxz @iab


The SafeFrame 1.0 technology is a managed API-enabled iframe that opens a line of communication between the publisher page content and the iframe-contained external content, such as ads. Because of this line of communication, content served into a SafeFrame is afforded data collection and rich interaction, such as ad expansion, that is unavailable in a standard iframe.

To avoid disruptive ad behavior and the potential security risks of serving ads inline with the page, publishers may choose to have ad content served into an iframe.

An iframe is a sort of mini HTML page within the publisher-hosted page. Using the iframe, ad content is sequestered within the boundaries of the iframe and unable to access any information about the page where it is served. Without access to page content, ad content within the iframe cannot expand, interact dynamically with site visitors, or collect any data necessary in determining ad effectiveness.

The iframe solution protects the publisher, but it also limits ad capabilities and decreases the value of inventory that is restricted to iframes.

SafeFrame’s API-enabled iframe opens a line of communication between webpage code and the ad content in a controlled and transparent way. This communication allows for rich interaction while protecting the publisher’s page from undetected changes that might otherwise damage page integrity.
Some key benefits of SafeFrame for digital advertising include:

Leer más “SafeFrame – thnxz @iab”

Amazing SEO Pointers That Are Guaranteed To Work


See on Scoop.itGabriel Catalano human being | #INperfeccion® a way to find new insight & perspectives

Amazing SEO Pointers That Are Guaranteed To Work (Amazing SEO Pointers That Are Guaranteed To Work http://t.co/cbQd0ibQ...)…

If you do not perform the proper SEO tactics, nobody is going to find your site. The tips in this article can help you make your website more visible.

Increasing your ranking on search engines will allow your regular customers to access your site. Unfortunately, some online businesses still underestimate the importance of their search engine rankings.

Duplicating content on your site will penalize you, by reducing the rank of your page. Instead, think of something new to write about to attract a different audience.

Anchor Text
The correct anchor text is very important when linking internally on your website. Do not just put “click here” because this will not do anything for SEO. A better option is to employ descriptive keywords for your anchor text. This makes your page seem more relevant to the search engine spiders, helping to boost your overall rankings as a result.

Talk with an education or non-profit website to see if they will provide a link on their site to content on your site. Search engines look at results from these sites differently and rank them higher because they are considered reputable sources of information. Provide high-quality information that will entice reliable websites to want to feature your site. Write useful articles that these types of organizations don’t have on their own sites.

Make sure that you have a good description tag, so that search engines will direct your target customers to your website. Such a tag should not exceed the length of thirty words. Never go over 100 KB for this particular page.

TIP! Remember that search engines won’t be able to index anything that’s in a video. If you site is flush with videos, you have a little extra work to do.
You will want to put a lot of knowledge on your website but stick with your niche. For example, if the topic of your blog is baseball, you can write about baseball cards, baseball players, or even equipment for playing baseball. By providing a wide array of articles centered around specific subjects, you increase the likelihood that your site will appear near the top of search results. Leer más “Amazing SEO Pointers That Are Guaranteed To Work”

17 Stunning Pure CSS3 Menu Techniques


17 Stunning Pure CSS3 Menu Techniques


Menu is probably the most important part on many websites. It’s sitting there for merely one single purpose: easy for you to navigate through all the pages. Before CSS3, the background images of each menu item can bring you a heck load of pain, as well as the javascript powered drop-down items and sub-sub menu . Now we are able to create stunning menus only using pure CSS, even including awesome animations. The following pure CSS3 menu techniques and tutorials are for you to experiment and get a hang of it. Let’s get started.

More CSS Techniques from Previous Articles: 

Pure CSS Drop-down Menu

Pure CSS Drop down Menu

 

Stunning Menu in CSS3

Stunning Menu in CSS3

 

Code a Responsive Navigation Menu

Code a Responsive Navigation Menu

Leer más “17 Stunning Pure CSS3 Menu Techniques”

Useful Tools, Scripts, and Resources for Front-End Developers


By  | http://www.noupe.com

If you’re a front-end developer mostly focused on HTML, CSS, and JavaScript, then you’re probably always on the look out for ways to be more productive. In this post we’ll share sometools and other resources for front-end developers that you might find useful to include in your workflow.

Tools and Scripts and Resources, Oh My!

Font Stack Builder by Erin Lawrence

This font stack builder lets you select a font stack and will tell you, using percentages, how likely it is for the fonts to be present on users’ systems. It includes options for a number of different font category styles and summarizes how the different options size up for different operating systems (Mac, Windows, Linux). Very easy to use, and, best of all, it gives you the necessary CSS to copy and paste into your projects.

Font Stack Builder by Erin Lawrence

Browser Support by Paul D. Waite

This simple tool lets you type in the name of any CSS feature (including properties, selectors, at-rules, values, and more) and it will display a simple graphic-based chart that outlines browser support. The individual results’ pages even have links to test cases and the official specification for the selected feature.

Browser Support

CSS Hat

This looks like quite a revolutionary tool. Although it might disturb purists who prefer to code everything by hand, it certainly looks like an excellent productivity tool. In a nutshell, CSS Hat is a Photoshop plugin that converts layer styles in Photoshop to CSS3 code. The site embedsa video review and demonstration that shows the tool in action, so be sure to check that out. The plugin adds conversion support for gradients, opacity, shadows, inner/outer glow, rounded corners, and more. It’s not free, but for $19.99, if it does what they claim it does, it’s well worth it.

CSS Hat

WYSIHTML5 (…) Leer más “Useful Tools, Scripts, and Resources for Front-End Developers”

PSD to HTML Review: HTML Angels

Recently I decided to design my own website after using premade html templates & wordpress themes. After the design process was all complete came the daunting task of choosing a PSD to HTML company.

I decided to go with a company called HTML Angels. They got my attention more than other companies due to their beautiful website, creative name, easy to understand order for and reasonable prices. Their portfolio really stood out, with the exceptional design & hand coding.

I was after an HTML page, with a slideshow for my homepage and a WordPress Theme for my blog.

HTML
HTML Angels coded up 3 HTML pages for me, including the wordpress theme pages which were a pleasant surprise, and delivered them one day early. They asked me to check the files and see if everything was ok, and said they had included some extra CSS3 code to make the loading faster – which I appreciated. I tested the HTML pages in various browsers and found no problems, and was very happy with the results.



Recently I decided to design my own website after using premade html templates & wordpress themes. After the design process was all complete came the daunting task of choosing a PSD to HTML company.

I decided to go with a company called HTML Angels. They got my attention more than other companies due to their beautiful website, creative name, easy to understand order for and reasonable prices. Their portfolio really stood out, with the exceptional design & hand coding.

I was after an HTML page, with a slideshow for my homepage and a WordPress Theme for my blog.

HTML

HTML Angels coded up 3 HTML pages for me, including the wordpress theme pages which were a pleasant surprise, and delivered them one day early. They asked me to check the files and see if everything was ok, and said they had included some extra CSS3 code to make the loading faster – which I appreciated. I tested the HTML pages in various browsers and found no problems, and was very happy with the results.

WordPress Theme Leer más “PSD to HTML Review: HTML Angels”

Algunas herramientas para medir en twitter


twitter sem y seo para todos

Después de este, obligado, parón, vuelvo a la carga para mostrar algunas herramientas de analítica y medición en twitter; Lo pongo muy resumido para que vosotros hurguéis y comentéis. Leer más “Algunas herramientas para medir en twitter”

How to Create Custom Facebook Pages

All the big brands like Coke, Starbucks, Nokia, and even Apple, maintain fan pages on Facebook that are “liked” by millions of people worldwide. These pages are designed professionally and have certain useful features.

For instance, the Apple iTunes page lets you search for apps right inside Facebook. In the case of Threadless, you can comment on your favorite T-Shirt designs without leaving Facebook while CNN has all the breaking news stories listed on its Facebook landing page.

How do they create such interesting Facebook pages? Do you really need to hire designers or skilled programmers who understand the ins-and-outs of Facebook APIs in order to build interactive and beautiful fan pages? Well, the answer is no.


http://www.labnol.org/internet/create-custom-facebook-pages/17957/

All the big brands like Coke, Starbucks, Nokia, and even Apple, maintain fan pages on Facebook that are “liked” by millions of people worldwide. These pages are designed professionally and have certain useful features.

For instance, the Apple iTunes page lets you search for apps right inside Facebook. In the case of Threadless, you can comment on your favorite T-Shirt designs without leaving Facebook while CNN has all the breaking news stories listed on its Facebook landing page.

How do they create such interesting Facebook pages? Do you really need to hire designers or skilled programmers who understand the ins-and-outs of Facebook APIs in order to build interactive and beautiful fan pages? Well, the answer is no.

Create a Customized Facebook Fan Page… Leer más “How to Create Custom Facebook Pages”

The 30 CSS Selectors you Must Memorize

So you learned the base id, class, and descendant selectors – and then called it a day? If so, you’re missing out on an enormous level of flexibility. While many of the selectors mentioned in this article are part of the CSS3 spec, and are, consequently, only available in modern browsers, you owe it to yourself to commit these to memory…


Jeffrey Way
http://net.tutsplus.com/tutorials/html-css-techniques/the-30-css-selectors-you-must-memorize/

So you learned the base id, class, and descendant selectors – and then called it a day? If so, you’re missing out on an enormous level of flexibility. While many of the selectors mentioned in this article are part of the CSS3 spec, and are, consequently, only available in modern browsers, you owe it to yourself to commit these to memory… Leer más “The 30 CSS Selectors you Must Memorize”

Code a Stylish Portfolio Site Design in HTML & CSS

In case you missed it, here’s the design we’re working towards from last week’s Photoshop tutorial. It’s a simple single page website that is made up of basic header with a short introductory sentence, a series of portfolio items each with a title and description, then the page ends with a stylish contact form in the footer. The idea for the portfolio items is to show the letterbox style thumbnail, then use some jQuery magic on the finished site to expand the letterbox to show the whole graphic.


Last week we went through the step by step process of building a simple yet stylish single page portfolio site concept in Photoshop. This week we’re going to code up the design into a complete working HTML and CSS website and add the finishing touches in the form of super duper jQuery effects.

Leer más “Code a Stylish Portfolio Site Design in HTML & CSS”

The Netsetter: SEO Writing Tip #1 – Optimize Your Title Tag

“I don’t write for search engines,” blogs the social media cool kid. Presumably, he writes for “people”. Yeah, right.

If you read no further than this sentence, I’ll be content if you let just one concept sink in: Writing for search engines is writing for people.
The Case for SEO Writing

There are at least two types of writing for search engines. The type that understandably inspires contempt from writers of reputation is keyword article writing. Keyword articles are designed expressly to capture search traffic, and their quality is usually marginal, reflecting the pittance (by Western standards) paid to the writer ($3-10 per article). They’re often written in non-idiomatic English, stuffed with keywords (the terms that people put into search engines), and uninformative. A keyword article found on a search for “auto accident clam”, will feature fluff sentences like, “Auto accidents are something that everyone wants to avoid. Some only cause minor car damage, but others can be fatal. If you’re involved in an accident, you should file an auto accident claim”. This is the kind of content that gives SEO a bad rap.

The type of search optimized writing that I advocate is what might be termed SEO conscious writing, which can be applied to copy of any quality level. The writer’s goal isn’t to maximize keyword density or indiscriminately fill whitespace, but to maximize the content’s lifetime value through search discoverability. What does that mean?

Let’s look at a blog post title that sounds juicy, but is actually terrible for search engines: “10 Ways to Make Enemies on Twitter”. No doubt, it’s great linkbait, and provocative enough to stoke a flurry of pageviews. But what happens afterwards? After a few subsequent posts, this one falls off the front page and into the blog’s archive. A few dedicated readers will read past the first page, but for practical intents and purposes, the post no longer exists. Only those who were impressed enough by the post the first time to read it again will search to find it.

So why is this title bad for search engines, and why does it matter? No one searches for information on how to “make enemies on Twitter”. If that isn’t already obvious, put that phrase in the Google Keyword Tool and see if it shows more than zero searches a month. On the other hand, the keyword “how to use twitter” gets 8100 searches a month worldwide on average. This means that around 270 more people each day search for “how to use Twitter” than “make enemies on Twitter”. If your blog’s “How to Use Twitter” post ranked #1 in Google, it would receive 42% of the Google’s total search traffic (the statistical norm for the top search result): around 113 visits a day. The post, “How to Make Enemies on Twitter”, regardless of its ranking in Google, would receive close to zero search traffic.


The Netsetter: SEO Writing Tip #1 – Optimize Your Title Tag

“I don’t write for search engines,” blogs the social media cool kid. Presumably, he writes for “people”. Yeah, right.

If you read no further than this sentence, I’ll be content if you let just one concept sink in: Writing for search engines is writing for people.

The Case for SEO Writing

There are at least two types of writing for search engines. The type that understandably inspires contempt from writers of reputation is keyword article writing. Keyword articles are designed expressly to capture search traffic, and their quality is usually marginal, reflecting the pittance (by Western standards) paid to the writer ($3-10 per article). They’re often written in non-idiomatic English, stuffed with keywords (the terms that people put into search engines), and uninformative. A keyword article found on a search for “auto accident clam”, will feature fluff sentences like, “Auto accidents are something that everyone wants to avoid. Some only cause minor car damage, but others can be fatal. If you’re involved in an accident, you should file an auto accident claim”. This is the kind of content that gives SEO a bad rap.

The type of search optimized writing that I advocate is what might be termed SEO conscious writing, which can be applied to copy of any quality level. The writer’s goal isn’t to maximize keyword density or indiscriminately fill whitespace, but to maximize the content’s lifetime value through search discoverability. What does that mean?

Let’s look at a blog post title that sounds juicy, but is actually terrible for search engines: “10 Ways to Make Enemies on Twitter”. No doubt, it’s great linkbait, and provocative enough to stoke a flurry of pageviews. But what happens afterwards? After a few subsequent posts, this one falls off the front page and into the blog’s archive. A few dedicated readers will read past the first page, but for practical intents and purposes, the post no longer exists. Only those who were impressed enough by the post the first time to read it again will search to find it.

So why is this title bad for search engines, and why does it matter? No one searches for information on how to “make enemies on Twitter”. If that isn’t already obvious, put that phrase in the Google Keyword Tool and see if it shows more than zero searches a month. On the other hand, the keyword “how to use twitter” gets 8100 searches a month worldwide on average. This means that around 270 more people each day search for “how to use Twitter” than “make enemies on Twitter”. If your blog’s “How to Use Twitter” post ranked #1 in Google, it would receive 42% of the Google’s total search traffic (the statistical norm for the top search result): around 113 visits a day. The post, “How to Make Enemies on Twitter”, regardless of its ranking in Google, would receive close to zero search traffic. Leer más “The Netsetter: SEO Writing Tip #1 – Optimize Your Title Tag”

How to Build a Kick-Butt CSS3 Mega Drop-Down Menu

Final Product What You’ll Be Creating
Download Source Files
Demo View It Online

Often used on e-commerce or large scale websites, mega menus are becoming more and more popular, as they offer an effective solution to displaying a lot of content while keeping a clean layout. In this tutorial, we’ll learn how to build a cross-browser, awesome CSS-only drop-down mega menu, using nice CSS3 features.

[Más…]
Step 1: Building the Navigation Bar

Let’s begin with a basic menu, built with an unordered list and some basic CSS styling.
view plaincopy to clipboardprint?

1.

Creating the Menu Container

We’ll now apply some basic CSS styling. For the menu container, we define a fixed width that we center by setting the left and right margins to “auto”.
view plaincopy to clipboardprint?

1. #menu {
2. list-style:none;
3. width:940px;
4. margin:30px auto 0px auto;
5. height:43px;
6. padding:0px 20px 0px 20px;
7. }

#menu {
list-style:none;
width:940px;
margin:30px auto 0px auto;
height:43px;
padding:0px 20px 0px 20px;
}

Now, let’s see how we can improve it with some CSS3 features. We need to use different syntaxes for Webkit-based browsers (like Safari) and for Mozilla-based browsers (like Firefox).

For rounded corners, the syntax will be :
view plaincopy to clipboardprint?

1. -moz-border-radius: 10px
2. -webkit-border-radius: 10px;
3. border-radius: 10px;

-moz-border-radius: 10px
-webkit-border-radius: 10px;
border-radius: 10px;

For the background, we’ll use gradients and a fallback color for older browsers. To keep consistency when choosing colors, there is an awesome tool called Facade that helps you find lighter and darker tones of a basic color.
view plaincopy to clipboardprint?

1. background: #014464;
2. background: -moz-linear-gradient(top, #0272a7, #013953);
3. background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0272a7), to(#013953));

background: #014464;
background: -moz-linear-gradient(top, #0272a7, #013953);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0272a7), to(#013953));

The first line applies a simple background color (for older browsers); the second and third lines create a gradient from the top to the bottom using two colors : #0272a7 and #013953.

We can now add a darker border and polish the design with a “fake” inset border created with the “box-shadow” feature. The syntax is the same for all compatible browsers: the first value is the horizontal offset, the second one is the vertical offset, the third one is the blur radius (a small value makes it sharper; it will be 1 pixel in our example). We set all offsets to 0 so the blur value will create a uniform light border :


Final Product What You’ll Be Creating

Often used on e-commerce or large scale websites, mega menus are becoming more and more popular, as they offer an effective solution to displaying a lot of content while keeping a clean layout. In this tutorial, we’ll learn how to build a cross-browser, awesome CSS-only drop-down mega menu, using nice CSS3 features.

Leer más “How to Build a Kick-Butt CSS3 Mega Drop-Down Menu”

Spice Up Your Galleries with jQuery clickCarousel Plugin

Property Options:

* direction: The direction the carousel will shift. Valid arguments are the string “left” and “right”. Default value: “left”
* margin: The space between the shifting elements in pixels. Argument should be an integer. Default value: 0
* hideSpeed: How long the retracting element takes to retract in milliseconds. Default value: 500
* shiftSpeed: How long the elements take to shift in milliseconds. Default value: 500
* shifting: The elements that will shift and/or retract in the carousel. Default value: The children of the object that calls .clickCarousel.
* clicker: A jQuery object that represents what element(s) will trigger the retraction effect when clicked. Default value: The shifting elements themselves
* shiftOnly: A boolean variable that deactivates the retract function of the carousel when set to true. Default value: false
* left: A jQuery object that represents what element(s) will cause the carousel to shift left when clicked. Default value: $(“#carouselLeft”);
* right: A jQuery object that represents what element(s) will cause the carousel to shift right when clicked. Default value: $(“#carouselRight”);


Plugin Implementation

jQuery clickCarousel Plugin
Image credit: cubagallery

.clickCarousel (Properties) Leer más “Spice Up Your Galleries with jQuery clickCarousel Plugin”

Best Practices To Design a Perfect HTML Navigation Bar

The navigation bar is an inevitable element in every website. In this post I want to share with you some simple practices and suggestions aimed at designing a perfect HTML navigation bar.

The HTML code is really simple, nothing more than

layer with an unordered list inside. As you probably know, the HTML5 specification introduced a new element that identifies the navigation bar which is the


By Antonio Lupetti (1)
Facebook Profile: http://facebook.com/antoniolupetti
Twitter: http://twitter.com/woork

http://woorkup.com/2010/08/09/best-practices-to-design-a-perfect-html-navigation-bar/

The navigation bar is an inevitable element in every website. In this post I want to share with you some simple practices and suggestions aimed at designing a perfect HTML navigation bar.

Let’s start illustrating the typical HTML structure. Here is a schematization of a typical navigation bar that contains some links:

The HTML code is really simple, nothing more than <div> layer with an unordered list inside. As you probably know, the HTML5 specification introduced a new element that identifies the navigation bar which is the <nav> tag. The <nav> tag substitutes the more general <div> tag but, as you can see in the following code, it doesn’t change the conceptual structure of the navigation bar. Leer más “Best Practices To Design a Perfect HTML Navigation Bar”

jQuery webcam plugin

The jQuery webcam plugin is a transparent layer to communicate with a camera directly in JavaScript.
Overview

This plugin provides three different modes to access a webcam through a small API directly with JavaScript – or more precisely jQuery. Thus, it is possible to bring the image on a Canvas (callback mode), to store the image on the server (save mode) and to stream the live image of the Flash element on a Canvas (stream mode). If you just want to download the plugin, click here:


http://www.xarg.org/project/jquery-webcam-plugin/
© 2008-2010 Robert Eisele | http://www.xarg.org/

The jQuery webcam plugin is a transparent layer to communicate with a camera directly in JavaScript.

Overview

This plugin provides three different modes to access a webcam through a small API directly with JavaScript – or more precisely jQuery. Thus, it is possible to bring the image on a Canvas (callback mode), to store the image on the server (save mode) and to stream the live image of the Flash element on a Canvas (stream mode). If you just want to download the plugin, click here:

Download the jQuery webcam plugin

jQuery webcam example

Take a picture after 3 seconds | Take a picture instantly

Available Cameras

  • Laptop Integrated Webcam
  • Google Camera Adapter 0
  • Google Camera Adapter 1

If you activate the filter with the button on the right side of the picture, methods of my already published jQuery plugin xcolor will be used to distort the colors of the Canvas.

General information about the interface

The following snippet describes the interface of the webcam API:

$("#camera").webcam({
        width: 320,
        height: 240,
        mode: "callback",
        swffile: "/download/jscam_canvas_only.swf",
        onTick: function() {},
        onSave: function() {},
        onCapture: function() {},
        debug: function() {},
        onLoad: function() {}
});

Config Parameter

width
The width of the flash movie.

height
The height of the flash movie. Both parameters have to be changed in the Flash file as well. Follow the instructions below to recompile the swf after the size change.

mode
The storage mode can be one of the following: callback, save, stream. Details about the usage of each parameter can be found under the according heading below.

swffile
Points to the swf file of the Flash movie, which provides the webcam API. There are two swf files provided via the download archive: jscam.swf, which provides the full API and jscam_canvas_only.swf which have no embedded JPEG library (I embedded an adjusted JPGEncoder of the AS 3 corelib). Thereby, the file is only one third as large as the original.

onTick, onSave, onCapture
These callbacks are described in detail below, since they change with each mode.

onLoad
The onLoad callback is called as soon as the registration of the interface is done. In the example above, I use the callback to get a list of all cameras available:

onLoad: function() {

    var cams = webcam.getCameraList();
    for(var i in cams) {
        jQuery("#cams").append("<li>" + cams[i] + "</li>");
    }
}

Once the onLoad callback is called, a global object window.webcam is available, which provides the following methods:

  • capture([delay])
    Captures an image internally.
  • save([file])
    Saves the captured image accordingly to the storage mode.
  • getCameraList()
    Get’s an array of available cameras. If no camera is installed, an error is thrown and an empty array is returned.
  • setCamera([index])
    Switches to a different camera. The parameter is the index of the element in the resulting array of getCameraList()

debug
The debug callback is called whenever there is a note or an error you should be notified. In the example above, I just replace the html content of the output container:

debug: function (type, string) {
        $("#status").html(type + ": " + string);
}

Callback Interface Leer más “jQuery webcam plugin”