Archiv für Oktober 2008

Im Moment durchsuchst du die ccsmedia.de Blogarchive für Oktober 2008.

Unobtrusive, nested JavaScript-Tabs with server-side PHP-fallback

21. Oktober 2008 von Sebastian

A few month ago I published the YAAADI-”library” which was build on the knowledge of my first steps with JavaScript.

Meanwhile for some time I studied further details of object orientation in JS and JS in general.
Mainly by reading books and web articles of great programmers like Douglas Crockford, Dustin Diaz, Ross Harmes, Dean Edwards, Sam Stephenson, Jeremy Keith, Christian Heilmann… Thanx a lot to you guys!!!

And again this led me to begin programming my own lib or lib extension in JS.
The lib I am working on I call “jsbase”. Up to now it still depends on the Prototype-JS-Framework.
The jsbase lib is not yet finished and so cannot be found here yet.

But I extracted one nice part of it: It´s a widget for implementing unobtrusive and nested JavaScript-Tabs with a server-side PHP-fallback.

In its current version v0.3.0 it preloads all contents and puts a “display:none;”-CSS-style on the non-active div elements.
later on I´m going to add an AJAX-based “on-the-fly” content loading.

[UPDATE] Fixed minor bug (-> v0.3.1): now also works properly in IE. [/UPDATE]

The jsbase-tabs-v0.3.1 is published under the MIT-license.

DOWNLOAD jsbase-tabs-v0.3.1.zip

DEMO:



contentString0lv0
contentString1lv0
contentString0lv1
contentString0lv2a
contentString1lv2a
contentString2lv2a

contentString2lv1

modale Tonleitern und Gitarren-Tabulaturen berechnen (Kirchentonleitern)

19. Oktober 2008 von Sebastian

In den letzten Wochen und Monaten habe ich mich nach längerer “Abstinenz” wieder etwas eingehender mit Musik im Allgemeinen und Gitarrespielen im Speziellen beschäftigt.
In diesem Zusammenhang ist neben neuen Songideen und Erkenntnissen auch jüngst ein - wie ich meine - recht nützliches, kleines Online-Skript/-Programm zum Berechnen von modalen Tonleitern und den zugehörigen Gitarren-Tabulaturen entstanden. Dieses ist im Internet abrufbar unter:

www.hafencola.net/scales

Mit der Zeit werde ich das Skript noch etwas erweitern. Kommentare und Anregungen sind willkommen.

Viel Vergnügen!