Archive for August, 2009

JQuery macht Form-Elemente schöner

Freitag, August 28th, 2009

… und auch praktischer:

http://www.queness.com/post/204/25-jquery-plugins-that-enhance-and-beautify-html-form-elements

absolute Position ermitteln mit JQuery

Mittwoch, August 26th, 2009

JQuery kann mit postion() die Position eines Elements ermitteln, allerdings nur relativ zum nächsthöheren absolut positionierten Element. Untenstehend Code der die absolute Position eines Elements zum Fensterrand ermittelt.

xpos=$(this).position();
xtop=xpos.top;
xleft=xpos.left;
currentTag = $(this).offsetParent();
while(currentTag[0].tagName!=’BODY‘) {
p=currentTag.position();
xtop+=p.top;
xleft+=p.left;
currentTag = currentTag.offsetParent();
}

Interessantes PM-Tool

Samstag, August 1st, 2009

online, einfach und doch sinnvoll, gratis

http://www.thebigpic.org/