Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

Archived entries for Uncategorized

$script.js: JavaScript loader

Dustin Diaz stellt den leichtgewichtigen (643 bytes) Script Loader $script.js vor.

//new school - loads as non-blocking, and BOTH js files load asynchronously
$script('jquery.js', function() {
 $script('my-jquery-plugin.js', 'plugin');
 $script('my-app-that-uses-plugin.js');
});

 
$script.ready('plugin', function() {
 // use your plugin :)
});

Datenvisualisierung mit Googles Books Ngram Viewer

Aus den Google Labs gibt es den Books Ngram Viewer:

When you enter phrases into the Google Books Ngram Viewer, it displays a graph showing how those phrases have occurred in a corpus of books (e.g., “British English”, “English Fiction”, “French”) over the selected years.

Wer sucht was

Nette Geschichte um das Suchverhalten der Nutzer der Suchmaschine Yahoo hinsichtlich Geschlecht, Alter, Ort und Einkommen zu analysieren: Yahoo! Clues.

Allerdings sind wohl bislang nur Daten aus den USA abrufbar.

Drupal: Override a Views Field Template from a Module

grayside zeigt wie man ein Views Field template aus einem Modul überschreiben kann. Sehr cool.

<?php
/**
* Implementation of hook_theme().
*/
function custom_module_oa_feeds_theme($existing) {
 return array(
 'views_view_field__view_name__field_name' => array(
 'arguments' => array('view' => NULL, 'field' => NULL, 'row' => NULL),
 'template' => 'views-view-field--view-name--field-name',
 'original hook' => 'views_view_field',
 'path' => drupal_get_path('module', 'custom_module') . '/theme',
 ),
 );
}
?>

CSS3 selectors for IE

Nützlich? Mal testen:

selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8. Simply include the script in your pages and selectivizr will do the rest.

Caveats:

The emulation is not dynamic. Once the styles are applied they are fixed so changes to the DOM won’t be reflected.



Copyright © 2004–2009. All rights reserved. – Impressum

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.