<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mysrc.de &#187; Allgemein</title>
	<atom:link href="http://www.mysrc.de/category/allgemein/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysrc.de</link>
	<description>- jQuery, Mootools u.a. JS-Frameworks</description>
	<lastBuildDate>Sun, 01 Aug 2010 02:49:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>jQuery HowTo: Traversing</title>
		<link>http://www.mysrc.de/allgemein/jquery-howto-traversing/</link>
		<comments>http://www.mysrc.de/allgemein/jquery-howto-traversing/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 15:28:20 +0000</pubDate>
		<dc:creator>Stefan Huissel</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Selektoren]]></category>

		<guid isPermaLink="false">http://www.mysrc.de/?p=969</guid>
		<description><![CDATA[Travesieren gehört zum grundlegenden Handwerkszeug, wenn man fortgeschrittene Animationen mittels jQuery durchführen möchte. Hier ein kleine Anleitung zum Auffinden bestimmter Elemente. Parent &#160;&#187;Child1 &#160;&#187;Child2 &#160;&#187;Child3 &#160;&#187;Child4 Move all Move filtered Set back Was passiert hier? Basis ist diese HTML Struktur: ?View Code HTML1 2 3 4 5 6 7 8 9 10 11 12 13 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://de.wikipedia.org/wiki/Traversierung" target="blank">Travesieren</a> gehört zum grundlegenden Handwerkszeug, wenn man fortgeschrittene Animationen mittels jQuery durchführen möchte. Hier ein kleine Anleitung zum Auffinden bestimmter Elemente.</p>
<div style="border: 1px dotted #ccc">Parent</p>
<div>
&nbsp;&raquo;Child1
</div>
<div class="move">
&nbsp;&raquo;Child2
</div>
<div>
&nbsp;&raquo;Child3
</div>
<div class="move not">
&nbsp;&raquo;Child4
</div>
</div>
<div id="someWrapper">
<a id="testone" href="#">Move all</a><br />
<a id="testtwo" href="#">Move filtered</a><br/><br />
<a id="setBack" href="#">Set back</a>
</div>
<p>Was passiert hier? Basis ist diese HTML Struktur:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p969code4'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p9694"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code" id="p969code4"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;someParent&quot; style=&quot;border: 1px dotted #ccc&quot;&gt;Parent
&lt;div&gt;
 Child1
&lt;/div&gt;
&lt;div class=&quot;move&quot;&gt;
 Child2
&lt;/div&gt;
&lt;div&gt;
 Child3
&lt;/div&gt;
&lt;div class=&quot;move not&quot;&gt;
 Child4
&lt;/div&gt;
&lt;/div&gt;
&nbsp;
&lt;div id=&quot;someWrapper&quot;&gt;
&lt;a  id=&quot;testone&quot; href=&quot;#&quot;&gt;Move all&lt;/a&gt;
&lt;a id=&quot;testtwo&quot; href=&quot;#&quot;&gt;Move filtered&lt;/a&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>Folgender Javascript-Code führt die Animation aus. Ausgehend von dem Link wird mit den Methoden <strong>parent</strong> das div &#8220;someWrapper&#8221; selektiert, <strong>prev</strong> wählt das vorige Element mit der id &#8220;someParent&#8221; und schlussendlich werden mit <strong>children</strong> alle Elemente innerhalb von &#8220;someParent&#8221; selektiert.<br />
Die id&#8217;s im Beispiel dienen nur der Veranschaulichung. Die zu animierenden Elemente werden ausschließlich über die Struktur des <a href="http://de.wikipedia.org/wiki/Document_Object_Model" target="blank">DOM</a> gefunden.</p>
<p><script type="text/javascript">
jQuery("#testone").click(function (e) {
    jQuery(this).parent().prev().children().animate({'paddingLeft':'20px'},200);
     return false;
});
jQuery("#testtwo").click(function (e) {
   jQuery(this).parent().prev().children().filter(".move").not(".not").animate({'paddingLeft':'20px'},200);
    return false;
});
jQuery("#setBack").click(function (e) {
   jQuery(this).parent().prev().children().animate({'paddingLeft':0},200);
    return false;
});
</script></p>
<p>jQuery Code für &#8220;Move all&#8221;:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p969code5'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p9695"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p969code5"><pre class="javascript" style="font-family:monospace;">jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#testone&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prev</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'paddingLeft'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'20px'</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Nun zur fortgeschrittenen Variante. Basis dafür sind die jQuery Funktion, <strong>filter</strong> und <strong>not</strong>.<br />
jQuery Code für &#8220;Move filtered&#8221;:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p969code6'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p9696"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p969code6"><pre class="javascript" style="font-family:monospace;">jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#testtwo&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">prev</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">filter</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.move&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">not</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.not&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">animate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">'paddingLeft'</span><span style="color: #339933;">:</span><span style="color: #3366CC;">'20px'</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<h3  class="related_post_title">Ähnliche Artikel</h3><ul class="related_post"><li>23. März 2010 -- <a href="http://www.mysrc.de/jquery/praxistipp-%e2%80%93-jqtransform-bug-bei-input-in-firefox-3-5-2/" title="Praxistipp – jqTransform Bug bei input in Firefox > 3.5.2">Praxistipp – jqTransform Bug bei input in Firefox > 3.5.2</a></li><li>3. Dezember 2009 -- <a href="http://www.mysrc.de/jquery/jquery-click-handler-elementen-zuordnen-und-entfernen/" title="jQuery &#8211; Click Handler Elementen zuordnen und entfernen">jQuery &#8211; Click Handler Elementen zuordnen und entfernen</a></li><li>16. Oktober 2009 -- <a href="http://www.mysrc.de/jquery/praxistipp-jqtransform-width-bug/" title="Praxistipp &#8211; jqTransform width bug">Praxistipp &#8211; jqTransform width bug</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mysrc.de/allgemein/jquery-howto-traversing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery myPass &#8211; password hiding iPhone-Style</title>
		<link>http://www.mysrc.de/allgemein/jquery-mypass-password-hiding-iphone-style/</link>
		<comments>http://www.mysrc.de/allgemein/jquery-mypass-password-hiding-iphone-style/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 13:10:25 +0000</pubDate>
		<dc:creator>Oliver Storm</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[Formulare]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.mysrc.de/?p=765</guid>
		<description><![CDATA[About Neulich abend saß ich auf dem Sofa und wollte mich über mein iPhone bei Facebook anmelden, bei der Eingabe meines Passwortes fiel mir wieder dieses kleine Detail auf, welches die Eingabe des Passwortes doch etwas angenehmer macht. Der ein oder andere iPhone-Besitzer weiß wovon ich rede. Davon das im Eingabefeld immer für kurze Zeit [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-727" title="nicePass - jQuery Plugin" src="http://www.mysrc.de/wp-content/uploads/2009/06/nicepass.jpg" alt="nicePass - jQuery Plugin" width="460" height="186" /></p>
<h3>About</h3>
<p>Neulich abend saß ich auf dem Sofa und wollte mich über mein iPhone bei <a title="Facebook - Oliver Storm" href="http://www.facebook.com/storm.oliver" target="_blank">Facebook</a> anmelden, bei der Eingabe meines Passwortes fiel mir wieder dieses kleine Detail auf, welches die Eingabe des Passwortes doch etwas angenehmer macht.</p>
<p>Der ein oder andere iPhone-Besitzer weiß wovon ich rede. Davon das im Eingabefeld immer für kurze Zeit der <strong>zuletzt eingegeben Buchstabe des Passworts</strong> zu sehen ist, was dem User doch mehr Sicherheit gibt das seine Eingabe korrekt war.</p>
<p>Ich dachte mir sowas könnte auch für <strong>normale Formulare</strong> ganz schön sein und deshalb haben wir  ein kleines <strong>jQuery-Plugin</strong> geschrieben welches dieses Verhalten imitiert.</p>
<h3>How to use</h3>
<p><strong>jQuery myPass</strong> nutzt die <a title="jQuery" href="http://jquery.com/" target="_blank">jQuery Javascript library</a>.</p>
<p>Ihr müsst nur die beiden Dateien in eueren Header einbinden.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p765code11'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p76511"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p765code11"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;_js/jquery.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;_js/jquery.myPass-1.0.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<h3>Options</h3>
<p>Um das Plugin zu aktivieren und einzustellen müsst Ihr nun nur noch folgendes in euren Header schreiben</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p765code12'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p76512"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p765code12"><pre class="javascript" style="font-family:monospace;">	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.myTextField'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">myPass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
			charReplace <span style="color: #339933;">:</span> <span style="color: #3366CC;">'%u2665'</span><span style="color: #339933;">,</span>
			charDuration <span style="color: #339933;">:</span> <span style="color: #CC0000;">1000</span>
&nbsp;
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<ul>
<li><strong>charReplace:</strong> Hiermit könnt Ihr einstellen durch welches Zeichen die Buchstaben ersetzt werden sollen.Als default ist der Standard-Punkt eingestellt. Weitere Zeichen findet Ihr <a title="HTML Entity Browser Test Page" href="http://www.fileformat.info/format/w3c/entitytest.htm?sort=Unicode+Character" target="_blank">hier</a>.Nehmt einfach die letzten 4 Zahlen des Unicode und setzt %u davor. z.B. charReplace : &#8216;%u2665&#8242; um statt dem • ein ♥ zu verwenden.</li>
<li><strong>charDuration: </strong>Hiermit könnt Ihr einstellen wie lange das letzte Zeichen angezeigt werden soll.</li>
</ul>
<h3>HTML</h3>
<p>Im HTML-Teil eurer Seite legt Ihr nun einfach ein ganz normales Textfeld an, gebt diesem einen Namen und die Klasse welche Ihr oben eingetragen habt.</p>
<p>In diesem fall .myTextField.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p765code13'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p76513"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p765code13"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>form action<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;test.php&quot;</span> method<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;post&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>input <span style="color: #003366; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;myTextField&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;password&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text&quot;</span> <span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;</span>input <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;Send&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;submit&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;submit&quot;</span> <span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;/</span>form<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>Nach dem senden des Formulars könnt Ihr eure Daten ganz einfach z.B. über PHP verarbeiten.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p765code14'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p76514"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p765code14"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'password'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<h3>Download &amp; Demo</h3>
<p><a title="myPass Plugin Demo" href="http://www.mysrc.de/plugins/myPass/demo/" target="_blank">Demonstration &#8211; Plugin in Action</a></p>
<p><a title="myPass Plugin - Download" href="http://www.mysrc.de/plugins/myPass/myPass.zip" target="_blank">Download &#8211; Alle Dateien zum Download</a></p>
<h3  class="related_post_title">Ähnliche Artikel</h3><ul class="related_post"><li>4. September 2009 -- <a href="http://www.mysrc.de/jquery/praxistip-output-element-des-jquery-validate-plugin-andern/" title="Praxistip: Output Element des jQuery Validate Plugin ändern">Praxistip: Output Element des jQuery Validate Plugin ändern</a></li><li>12. August 2009 -- <a href="http://www.mysrc.de/jquery/jquery-form-plugin-do-some-ajax-magic-easily/" title="jQuery Form Plugin &#8211; Do some AJAX magic easily">jQuery Form Plugin &#8211; Do some AJAX magic easily</a></li><li>4. August 2009 -- <a href="http://www.mysrc.de/jquery/formularfelder-vorausfullen-und-leeren-mit-jquery-clearfield/" title="Formularfelder vorausfüllen und leeren mit jQuery Clearfield">Formularfelder vorausfüllen und leeren mit jQuery Clearfield</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mysrc.de/allgemein/jquery-mypass-password-hiding-iphone-style/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Spielwiese ohne Rasen mähen &#8211; Google Code Playground</title>
		<link>http://www.mysrc.de/allgemein/spielwiese-ohne-rasen-mahen-google-code-playground/</link>
		<comments>http://www.mysrc.de/allgemein/spielwiese-ohne-rasen-mahen-google-code-playground/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 12:44:41 +0000</pubDate>
		<dc:creator>Stefan Huissel</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.mysrc.de/?p=698</guid>
		<description><![CDATA[Immer wieder kommt es bei der Entwicklung von Webapps dazu, dass man ein Stück Code gerne einmal unabhängig vom Projekt entwickelt um es erst danach einzubauen. Anstatt sich eine kleine Testumgebung lokal einrichten zu müssen, kann man sich auf dem Google Code Playground austoben. Die gängigsten JS Frameworks (jQuery, jQuery UI, MooTools, Prototype, Dojo) sind [...]]]></description>
			<content:encoded><![CDATA[<p>Immer wieder kommt es bei der Entwicklung von Webapps dazu, dass man ein Stück Code gerne einmal unabhängig vom Projekt entwickelt um es erst danach einzubauen. Anstatt sich eine kleine Testumgebung lokal einrichten zu müssen, kann man sich auf dem <a href="http://code.google.com/apis/ajax/playground/">Google Code Playground</a> austoben.</p>
<p><a href="http://code.google.com/apis/ajax/playground/"><img src="http://www.mysrc.de/wp-content/uploads/2009/06/code_playground.png" alt="code_playground" title="code_playground" width="443" height="256" class="alignnone size-full wp-image-701" /></a></p>
<p>Die <strong>gängigsten JS Frameworks (jQuery, jQuery UI, MooTools, Prototype, Dojo)</strong> sind dort vertreten, genauso wie annähernd alle <strong>APIs von Google</strong>. Beispiele dazu sind:</p>
<ul>
<li>Language API</li>
<li>Earth API</li>
<li>Maps API</li>
<li>Calender API</li>
<li>Youtube API</li>
</ul>
<p>Zu allen APIs gibt es kleine Beispiele die sofort ausgeführt werden können. Ein paar nette Goodies dazu sind, der Direktlink auf die Dokumentation des API genauso wie der intergrierte Firebug Lite zum debuggen. Der erstellte Code kann dann als HTML editiert oder kopiert werden.</p>
<h3  class="related_post_title">Ähnliche Artikel</h3><ul class="related_post"><li>Keine ähnlichen Artikel verfügbar</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mysrc.de/allgemein/spielwiese-ohne-rasen-mahen-google-code-playground/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online Thumbnail Generator für Webseiten</title>
		<link>http://www.mysrc.de/allgemein/online-thumbnail-generator-fur-webseiten/</link>
		<comments>http://www.mysrc.de/allgemein/online-thumbnail-generator-fur-webseiten/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 14:58:18 +0000</pubDate>
		<dc:creator>Stefan Huissel</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Web-Development]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[Thumbnails]]></category>

		<guid isPermaLink="false">http://www.mysrc.de/?p=425</guid>
		<description><![CDATA[Unabhängig von alles JS-Frameworks will ich mal einen kleinen Service vorstellen, mit dem man sehr einfach Thumbails von Websites darstellen kann. Alles was man dafür benötigt ist ein Account auf Pageglimpse. Nach erfolgreicher Registrierung gibt man auf seiner Seite dem img-Tag als src Attribut einfach einen absoluten Link. Dieser kann dann wie folgt aussehen: http://images.pageglimpse.com/v1/thumbnails?url=http://www.mysrc.de/&#038;size=large&#038;devkey=1234567890 [...]]]></description>
			<content:encoded><![CDATA[<p>Unabhängig von alles JS-Frameworks will ich mal einen kleinen Service vorstellen, mit dem man sehr <strong>einfach Thumbails</strong> von Websites <strong>darstellen</strong> kann.<br />
Alles was man dafür benötigt ist ein Account auf <a href="http://www.pageglimpse.com/">Pageglimpse</a>. Nach erfolgreicher Registrierung gibt man auf seiner Seite dem img-Tag <strong>als src Attribut</strong> einfach <strong>einen absoluten Link</strong>. Dieser kann dann wie folgt aussehen:</p>
<p>http://images.pageglimpse.com/v1/thumbnails?url=http://www.mysrc.de/&#038;size=large&#038;devkey=1234567890</p>
<p><img src="http://www.mysrc.de/wp-content/uploads/2009/04/mysrc_thumb-300x137.jpg" alt="mysrc_thumb" title="mysrc_thumb" width="300" height="137" class="alignnone size-medium wp-image-429" /></p>
<p><strong>Pageglimpse </strong>verfügt auch über eine kleine <strong>API</strong>. Was indem Fall nur bedeutet, dass dem GET-String einfach weitere Attribute hinzugefügt werden können.<br />
Dazu gehören:</p>
<ul>
<li>devkey -> obligatorisch und auch üblich um einen Service im Web zu nutzen</li>
<li>url -> WWW-Adresse die der Website die als Thumbnail angezeigt werden soll</li>
<li>size -> Größe des Thumbails</li>
</ul>
<p>Da die Thumbnails nicht sofort generiert werden, kann man einen Request senden um den Status zu prüfen. Ein <strong>Request </strong>sähe dann so aus:</p>
<p>http://images.pageglimpse.com/v1/thumbnails/request?</p>
<p>Hinter &#8220;request?&#8221; kann man dann noch die GET-Parameter anhängen. Beispiele dazu findet ihr auf <a href="http://www.pageglimpse.com/features/api">Pageglimpse API</a>.<br />
<br/></p>
<h3  class="related_post_title">Ähnliche Artikel</h3><ul class="related_post"><li>8. Dezember 2009 -- <a href="http://www.mysrc.de/jquery/jquery-load-function-ajax-the-simple-way-part-1/" title="jQuery load function &#8211; Ajax the simple way (Part 1)">jQuery load function &#8211; Ajax the simple way (Part 1)</a></li><li>30. Mai 2009 -- <a href="http://www.mysrc.de/jquery/jyoutube-jquery-youtube-thumbnail-plugin/" title="jYouTube &#8211; jQuery YouTube thumbnail plugin">jYouTube &#8211; jQuery YouTube thumbnail plugin</a></li><li>17. April 2009 -- <a href="http://www.mysrc.de/jquery/jquery-api-browser-v13-fur-den-desktop/" title="jQuery API Browser v1.3 für den Desktop ">jQuery API Browser v1.3 für den Desktop </a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mysrc.de/allgemein/online-thumbnail-generator-fur-webseiten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
