window.matchMedia
Spannend gerade lese ich auf hacks.mozilla.org wie man media queries in JavaScript abfragen kann: var widthQuery = window.matchMedia("(min-width: 600px)"); Der Browser Support ist nicht so schlecht:...
View ArticleGoogle: Why we recommend responsive design
Using a single URL for a piece of content makes it easier for your users to interact with, share, and link to your content, and a single URL for the content helps Google’s algorithms assign the...
View ArticleWordPress 3.4 ist raus
Im WordPress Codex kann man die Änderungen nachlesen. This release includes significant improvements to theme customization, custom headers, Twitter embeds, and image captions
View ArticleCircular 3D Buttons with CSS
Brandon Pierce zeigt auf CSS Tricks einige hübsche runde Buttons. Spannend fand ich allerdings hauptsächlich den 3d Effekt.
View ArticlejQuery: Scroll to an Element Without a Plugin
Gut sich gelegentlich daran zu erinnern, das man nicht immer ein Plugin braucht. Ein simples scrollTo erledigt jQuery ganz alleine: $('html, body').animate({ scrollTop: $("#elementID").offset().top },...
View ArticleTYPO3 Deprecation Log analysieren
Hilfreiche Shell Funktion um das Deprecation Log von Typo3 übersichtlicher zu machen: t3deprecation() { sed 's/\([0-9]\{2\}\)\-\([0-9]\{2\}\)\-\([0-9]\{2\}\) \([0-9]\{2\}\).\([0-9]\{2\}\). //g' $1...
View ArticleBessere Select Boxen mit Select2
Wow, Select2 Version 2.1 erweitert Select Boxen um etliche sehr nützliche Funktionen: Working with large datasets: Chosen requires the entire dataset to be loaded as option tags in the DOM, which...
View ArticleDropdown Listen mit Bildern
Mit dem jQuery Plugin ddSlick lassen sich Dropdown Liste mit Bildern und Beschreibungen der Einträge erweitern. Adds images and description to otherwise boring drop downs. Allows JSON to populate the...
View ArticlejQuery Autocomplete Erweitern
Will man jQuery Autocomplete mit einem lokalen JSON Array nutzen, hat aber mehr als die beiden default Werte label und value hilft dieser Code: $(document).ready(function() { var schools = [ { "label":...
View ArticleWTF: Send a Mail with an Attachment in Drupal 7
Grrr, muss ich wirklich ein Custom-Modul schreiben wenn ich in Drupal ein PDF als Attachment via Webform versenden will? Webform, Mime Mail und Mail System sind installiert. Ohne PDF kein Problem, mit...
View Article
More Pages to Explore .....