Archive for Mai, 2005
I received the musical baton currently wandering around by visiting Stefko’s site.
The titles are linked to the specific album at amazon.de.
- Total volume of music files on my computer:
- 36,26 GB – about 21 days of music
- The last CD I bought:
- Jack Johnson – In Between Dreams
- Song playing right now:
- Patrice – “Done (Where Is Love To Be Found)”
- Five songs I listen to a lot, or that mean a lot to me:
- Five aren’t enough at all to list my favorites but here is a mix of my current rotation and classics that mean something to me.
- 5 People to whom I’m passing the baton
I can’t list any more people that didn’t already receive the baton. Therefore I’m doing it like Stefko and ’stick the baton next to the comment-box’ . :) Who didn’t get one yet?
I wrote some JavaScript and PHP that allows to switch a posts language if you use Basic Bilingual for Wordpress. I’m proudly presenting the product: A WordPress-Plugin.
Read the full entry "Language switching for Basic Bilingual"
Seit Spam Karma auf meiner Seite läuft (sogar Spam Karma 2) muss ich mir keine Gedanken mehr um dumme Spam-Kommentare machen. Und noch besser: Ich muss nicht mal eines moderieren. SK2 regelt alles automatisch und macht einen Super-Job dabei.
Soweit nichts Neues – olle Kamellen, aber heute hat Spam Karma etwas gefressen, was ich noch nie gesehen habe und es niemandem vorenthalten möchte:
Ein Spammer hat sich wirklich darüber beschwert, dass sein Spam nicht als Kommentar auftaucht, nachdem er acht(8) von seinen “whatever.funny-ringtones-trash.com”-Domains mit redundant schwachsinnigen Linktexten als ‘ein Kommentar’ abgeben wollte. Dazu eine Lobhymne wie toll doch ‘funny ringtones’ sind.
Hier ein Screenshot beider Comments zur allgemeinen Erheiterung. (Hab mir extra die Mühe gemacht, die Täter nochmal in die Moderations-Queue einzureihen).
betroffene Post befasst sich zwar mit audiovisuellem Handyspielkram, aber durchaus dagegen.
In der Hinsicht war der Spammer rücksichtsvoll, beim Spammen wenigstens nicht ins Off-Topic zu rutschen.
I have studied some alternatives on Sitepoint and discussions in the Webstandardsgroup that use DOM-Scripting to open external links in a new browser window. My developement started by implementing a relationship Tag for links and a simple JavaScript function.
Hint
You can also discard the JavaScript part and only use the CSS to provide visual information that the current link being clicked will result in leaving your site.
-
The usual scenario
I'll start with a simple link that points to nothing:
HTML:-
<a href="#">This is a link</a>
-
-
Setting a relationship:
To differentiate between 'normal' links and those that shall be opened in a new window I add a relationship attribute:
rel="external"to the link:HTML:-
<a rel="external" href="#">Open link in new window</a>
-
-
Styling
As a visual indicator that a link will open in a new browser window you can provide a style rule that includes
a background image for external links. To recognize the links that are marked withrel="external"we're using a CSS3 Selector:CSS:-
/* add icon to external links */
-
a[rel=external]{
-
background: url(external.gif) no-repeat center right;
-
padding-right: 10px;
-
}
-
/* change Icon on mouse over */
-
a:hover[rel=external]{
-
background: url(external-h.gif) no-repeat center right;
-
}
Feel free to grab my icons I use for external Links:
Icon External:

Icon External:hover

-
-
Scripting
Now we implement a small JavaScript that grabs all links on a page and deploys event handlers for links that have a rel=external attribute.
JavaScript:-
function prepareExternalLinks() {
-
-
if (!document.getElementsByTagName) return false;
-
var hrefs = document.getElementsByTagName("a");
-
var linkrel;
-
-
for (var i=0; i <hrefs.length; i++) {
-
linkrel= hrefs[i].getAttribute("rel");
-
if (linkrel != null){
-
if (linkrel.indexOf("external") == -1) continue;
-
-
hrefs[i].onclick = function() {
-
window.open(this.href);
-
return false;
-
}
-
// make links accessible for keyboard
-
hrefs[i].onkeypress = hrefs[i].onclick;
-
}
-
}
-
}
-
-
function initialize(){
-
prepareExternalLinks();
-
}
-
-
window.onload = initialize;
-
There we go: An elegant, webstandard-compliant way of opening external links without the _target-attribute. If the user is surfing with JavaScript disabled the link will surely work too, additionally providing information that an external link resource is just about to be opened.
Not THAT elegant
Unfortunately, this script prevents links to be opened in a new broswer-TAB in Firefox when pressing CTRL. But you can still select a new tab using the context menu (Strange behaviour).
Nevertheless, this is a cut in the user's freedom of choice, so use it wisely on links. (e.g. open validating sites in an external window. They can be closed immediately after checking).
related links:
- W3Schools - The 'a'-Tag
- sitepoint.com XHTML strict popups: Open popups with attributes
I am planning to release a Wordpress theme. I am currently busy with re-structuring the CSS and make the theme a more accessible one.
Nachdem mein Notebook letztes Jahr beim Einbruch in Dänemark abhanden gekommen war, dachte ich natürlich gleich an einen 1:1 Ersatz sobald das Geld von der Versicherung gezahlt würde. Da aber damals noch anderer Ärger finanziell zu tilgen war, wurde aus diesem Plan ersteinmal nichts.
(Zur Info: Ich hatte ein schönes 15'' Acer Travelmate 802LMiB- 1,5GHz Intel Centrino mit dem ich eigentlich ziemlich zufrieden war. Bildschirmauflösung: 1400x1050!)
Seitenwechsel
Inzwischen bin ich soweit, mir ein Apple Powerbook zuzulegen, da es für meine Ansprüche leistungsfähiger, zeitloser und nur geringfügig teurer ist als PC-Notebooks die ich mir kaufen würde.
Eine Seite
freshlabs journal is the bi-lingual weblog and digital playground of Tim Isenheim, designer and webdeveloper from Hamburg, Germany. More →
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Recently Commented On
Most popular in Mai, 2005
Recently updated
- 12/18/2009 About
- 11/26/2009 WordPress Plugin: SIMILE Timeline
- 03/05/2009 Awesome Digital Hologram Website Concept
- 11/07/2008 Gorillaz Holographics at EMA
- 11/01/2008 Disappearing Leopard Network Shares
Monthly Archives
- März 2009 (1)
- November 2008 (1)
- Juni 2008 (1)
- April 2008 (1)
- März 2008 (1)
- Februar 2008 (1)
- Januar 2008 (2)
- November 2007 (1)
- Juli 2007 (3)
- April 2007 (1)
- März 2007 (1)
- Februar 2007 (1)
- Januar 2007 (3)
- Dezember 2006 (5)
- November 2006 (6)
- Oktober 2006 (9)
- September 2006 (3)
- August 2006 (5)
- Juli 2006 (7)
- Juni 2006 (5)
- Mai 2006 (3)
- April 2006 (5)
- März 2006 (4)
- Februar 2006 (5)
- Januar 2006 (4)
- Dezember 2005 (6)
- November 2005 (5)
- Oktober 2005 (7)
- September 2005 (13)
- August 2005 (10)
- Juli 2005 (7)
- Juni 2005 (7)
- Mai 2005 (11)
- April 2005 (6)
- März 2005 (15)
- Februar 2005 (7)
- Januar 2005 (4)
- Dezember 2004 (4)
- November 2004 (4)
- Oktober 2004 (7)
- September 2004 (3)
- August 2004 (7)




