<?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>DECAF° blog für digitale kommunikation &#187; iPhone</title>
	<atom:link href="http://blog.decaf.de/schlagwort/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.decaf.de</link>
	<description></description>
	<lastBuildDate>Thu, 17 Nov 2011 09:55:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone-like password fields using jQuery</title>
		<link>http://blog.decaf.de/2009/07/iphone-like-password-fields-using-jquery/</link>
		<comments>http://blog.decaf.de/2009/07/iphone-like-password-fields-using-jquery/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 14:03:14 +0000</pubDate>
		<dc:creator>Stefan Ullrich</dc:creator>
				<category><![CDATA[#]]></category>
		<category><![CDATA[Wichtige Artikel]]></category>
		<category><![CDATA[Formulare]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.decaf.de/?p=938</guid>
		<description><![CDATA[or: Delayed password masking with JavaScript. 8/19/09 FYI: Upcoming version of the plugin will be released in a few days. It’s gonna fix the current issues very well. Jakob Nielsen recently asked us to Stop Password Masking: Usability suffers when users type in passwords and the only feedback they get is a row of bullets. ]]></description>
			<content:encoded><![CDATA[<p><strong>or: Delayed password masking with JavaScript.</strong></p>
<div style="background: #FFFBDD; padding: 5px; margin-bottom: 20px;">
<p style="margin: 0">8/19/09 FYI: Upcoming version of the plugin will be released in a few days. It’s gonna fix the current issues very well.</p>
</div>
<p>Jakob Nielsen recently asked us to <a href="http://www.useit.com/alertbox/passwords.html">Stop Password Masking</a>:</p>
<blockquote><p>Usability suffers when users type in passwords and the only feedback they get is a row of bullets. Typically, masking passwords doesn&#8217;t even increase security, but it does cost you business due to login failures.</p>
<p><cite>- <a href="http://www.useit.com/alertbox/passwords.html">useit.com/alertbox/passwords.html</a></cite></p></blockquote>
<p>He suggests using <strong>plain text input fields by default</strong> and offering a <strong>checkbox</strong> to have the passwords masked.</p>
<p>We do not completely go for the idea of typing passwords in plain text by default as there <em>will</em> be a loss of security! Not a technical one, but a user-driven one.</p>
<div class="clear mb1"></div>
<h3>Password fields on iPhone/iPod touch</h3>
<p><img src="http://blog.decaf.de/wp-content/uploads/iphone-password.jpg" alt="iphone-password" title="iphone-password" width="262" height="362" style="float: right; margin: 0 0 5px 10px;" />Of course Nielsen is right when he talks about users making more errors and feeling less confident when they can&#8217;t see what they&#8217;re typing while filling in forms. That may have been the reason why Apple <del>developed</del> implemented an alternative method on <strong>iPhone/iPod Touch</strong>: passwords get masked while typing but the last character in row is shown in plain text. Compared to common password fields on the web this method improves usability, not only on mobile devices. And concerning security risks you&#8217;ll probably need James Bond behind your back looking over your shoulders in order to let your password be captured.</p>
<p>So, this method looks to be a pretty good way of typing in passwords, and that is why tried to use it on web forms. It comes as a <strong>jQuery plugin</strong> which works unobtrusive. Non-JS users get the common masked password fields.</p>
<p>Copy &#038; paste will work as usual. The only thing that will not work is: deleting/inserting single or multiple characters from the beginning/middle of the masked password string.<br />
But, let&#8217;s face it, who will do that?</p>
<div class="clear mb1"></div>
<h2 class="mb1">Live demo</h2>
<div style="background: #E6EDF0; padding: 10px;"><label for="test">Type in a random password:</label><br />
<input id="test" type="password" style="width: 450px; font-size: 20px; margin-right: 10px;" /><a href="#" id="show_password">show password</a></div>
<p><script type="text/javascript" src="http://blog.decaf.de/wp-content/uploads/jQuery.dPassword.js"></script><script type="text/javascript">
$(document).ready( function() {
	$('input:password').dPassword();
	$('#show_password').click( function() {
		alert('The password you entered is: '+$('#test').val());
		return false;
	});
});
</script></p>
<p><span id="more-938"></span>
<div class="clear mb1"></div>
<h3>Features</h3>
<ol>
<li>Doesn&#8217;t need any HTML modification as it finds password fields by type.</li>
<li>Unobtrusive: Non-JS users get the common masked password fields.</li>
<li>Supports copy &#038; paste.</li>
<li>Options: Interval, delay, replacement character, prefix, debug mode.</li>
</ol>
<div class="clear mb1"></div>
<h3>Instructions</h3>
<p>It&#8217;s very simple. </p>
<ol>
<li>Just load jQuery, of course ;-).</li>
<li>Load the Plugin</li>
<li>and then initialize dPassword.</li>
</ol>
<p>You are done!</p>
<pre><code allow="none">&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jQuery.dPassword.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&nbsp;&nbsp;$(document).ready( function() {
&nbsp;&nbsp;&nbsp;&nbsp;$(&#039;input:password&#039;).dPassword();
&nbsp;&nbsp;});
&lt;/script&gt;
</code></pre>
<p>There are some options you might want to configure:</p>
<ul>
<li><strong>interval</strong><br />Time in msec the scripts checks for newly entered characters.</li>
<li><strong>duration</strong><br />Delay in msec of converting the last entered character.</li>
<li><strong>replacement</strong><br />The character to be replaced, for unicode characters use the following format: <code>%u25CF</code><br />You may check these ressources: <a href="http://www.utf8-chartable.de" rel="external">Overview of unicode characters</a> or a more comprehensive <a href="http://www.fileformat.info/format/w3c/entitytest.htm?sort=Unicode+Character" rel="external">overview</a>.</li>
<li><strong>prefix</strong><br />This is the prefix of the newsly generated elements. Default is <code>password_</code>.</li>
<li><strong>debug</strong><br />For debugging issues. You need FireBug enabled!</li>
</ul>
<p>Example:</p>
<pre><code>&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jQuery.dPassword.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&nbsp;&nbsp;$(document).ready( function() {
&nbsp;&nbsp;&nbsp;&nbsp;$(&#039;input:password&#039;).dPassword({
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;duration: 2000,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prefix: &#039;my_&#039;
&nbsp;&nbsp;&nbsp;&nbsp;});
&nbsp;&nbsp;});
&lt;/script&gt;
</code></pre>
<div class="clear mb1"></div>
<h3>Known Issues</h3>
<ol>
<li>Adding/deleting chars from the middle doesn&#8217;t work. Works at the end of the password only.</li>
<li>View will not follow cursor if input field is too small.</li>
<li>If #id based CSS styles are assigned, these styles will not be taken over.</li>
</ol>
<div class="clear mb1"></div>
<h3>Download</h3>
<div class="roundup">
<div class="inner">
<div class="block"><img style="float: left; margin-right: 20px;" src="http://blog.decaf.de/wp-content/uploads/defaultlogo.png" alt="defaultlogo" title="defaultlogo" width="48" height="48" />
<div style="overflow: hidden;">
<p>
<strong>Project page with SVN repository: <a href="http://code.google.com/p/dpassword/">http://code.google.com/p/dpassword/</a></strong><br />
JS download: <a href="http://dpassword.googlecode.com/svn/trunk/lib/jQuery.dPassword.js">jQuery.dPassword.js</a><br />
Complete ZIP download: <a href="http://dpassword.googlecode.com/files/dpassword.zip">dpassword.zip</a>
</p>
</div>
<div class="clear"></div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.decaf.de/2009/07/iphone-like-password-fields-using-jquery/feed/</wfw:commentRss>
		<slash:comments>73</slash:comments>
		</item>
		<item>
		<title>iPhone + Resolution dependent layout (JS)</title>
		<link>http://blog.decaf.de/2008/12/iphone-resolution-dependent-layout-js/</link>
		<comments>http://blog.decaf.de/2008/12/iphone-resolution-dependent-layout-js/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 13:30:38 +0000</pubDate>
		<dc:creator>Dirk Schürjohann</dc:creator>
				<category><![CDATA[#]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.decaf.de/?p=906</guid>
		<description><![CDATA[Das iPhone ist so geschickt im Umgang mit dem echten Web, dass unsere Website und das Blog in ihrer Struktur bereits ohne spezifische Anpassungsarbeiten recht gut angenommen wurden. Unsere Inhalte m&#252;ssen (noch) nicht unbedingt mobil sein, deshalb h&#228;tte uns der Status Quo l&#228;ngst ausgereicht. Allerdings gab es eine kleine Anpassung zu machen, die in diesem ]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.decaf.de/wp-content/uploads/decaf-iphone.jpg" alt="decaf-iphone" title="decaf-iphone" width="600" height="427" style="position: relative; left: -5px;" /></p>
<div class="clear mb1"></div>
<p>Das iPhone ist so geschickt im Umgang mit dem <i>echten</i> Web, dass unsere Website und das Blog in ihrer Struktur bereits ohne spezifische Anpassungsarbeiten recht gut angenommen wurden. Unsere Inhalte m&#252;ssen (noch) nicht unbedingt mobil sein, deshalb h&#228;tte uns der Status Quo l&#228;ngst ausgereicht. Allerdings gab es eine kleine Anpassung zu machen, die in diesem Fall einen angenehmen zweiten Effekt hinterher gezogen hat:</p>
<div class="clear mb1"></div>
<h3>Viewport-Breite im mobilen Safari</h3>
<pre><code allow="none">
&lt;meta name=&quot;viewport&quot; content=&quot;width=641&quot; /&gt;
</code></pre>
<p>(Siehe <a href="http://developer.apple.com/documentation/appleapplications/reference/safarihtmlref/Articles/HTMLExtensions.html#//apple_ref/doc/uid/TP40002066-DontLinkElementID_13">Safari HTML Reference</a>)</p>
<p>Diese Angabe betrifft den mobilen Safari und schrumpft dessen Viewport auf 641 Pixel in der Breite, was wiederum dazu f&#252;hrt, dass die Methode <strong>»<a href="http://www.themaninblue.com/experiment/ResolutionLayout/">Resolution dependent layout</a>« des Man in Blue</strong> per <a href="http://www.mediaevent.de/javascript/event_listener.html">Event Listener</a> zuckt und dem body eine CSS-Klasse vergibt, die wir in unseren Stylesheets f&#252;r kleine Screens verwenden.<br />
Das iPhone nimmt danach diese 641 Pixel breite Website und schrumpft sie auf 320 Pixel im Hochformat oder 480 Pixel im Querformat, je nachdem, wie man das Ger&#228;t h&#228;lt.</p>
<p>Das Ergebnis sieht man in den Screenshots oben. Well done, dieser Zustand reicht uns nun <i>wirklich</i> f&#252;r ein mobiles Web auf dem iPhone/iPod aus. Kein Bedarf, z.B. die etwas klein geratene Navigation anzupassen oder weiteres Feintuning zu machen.</p>
<div class="clear mb1"></div>
<h3>Fazit?</h3>
<p>Die Empfehlung f&#252;r alle, die die <strong>Resolution-Methode des Man in Blue</strong> einsetzen &mdash; sehr sinnvoll &#252;brigens, wir verwenden sie in vielen unserer Projekte als Alternative zu fl&#252;ssigen Layouts &mdash; und kein Interesse daran haben, ihre Websites mit spezifischen Styles f&#252;rs iPhone zu versehen, mag also sein: Schaut mal, ob ihr &#252;ber die Viewport-Breitenangabe nicht einen geschickteren Zoom erreichen k&#246;nnt. Es ist nur eine Zeile im HTML, die iPhone-Nutzer gl&#252;cklich machen kann.</p>
<div class="clear mb2"></div>
<h3>Link: iPhone-FAQ</h3>
<p>Wer an dieser Stelle weiter machen m&#246;chte und noch einen geeigneten Einstieg braucht, mag einen Blick auf Timos und Stephans Artikel <strong>»<a href="http://www.vorsprungdurchwebstandards.de/theory/faq-websites-fuer-das-iphone-gestalten/">FAQ: Websites f&#252;r das iPhone gestalten</a>«</strong> werfen.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.decaf.de/2008/12/iphone-resolution-dependent-layout-js/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mobiles Internet: Opera zoomt wie das iPhone</title>
		<link>http://blog.decaf.de/2008/02/mobiles-internet-opera-zoomt-wie-das-iphone/</link>
		<comments>http://blog.decaf.de/2008/02/mobiles-internet-opera-zoomt-wie-das-iphone/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 10:53:30 +0000</pubDate>
		<dc:creator>Dirk Schürjohann</dc:creator>
				<category><![CDATA[#]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://blog.decaf.de/2008/02/mobiles-internet-opera-zoomt-wie-das-iphone</guid>
		<description><![CDATA[Opera hat ein erstes Video zum neuen Opera Mobile 9.5 ver&#246;ffentlicht, der auf dem Mobile World Congress in Barcelona n&#228;chste Woche vorgestellt werden soll. Im Video wird demonstriert, wie Opera zuk&#252;nftig Websites behandelt: er zoomt sie in gleicher/&#228;hnlicher Form wie das iPhone. In welcher Form betrifft das nun den Webdesigner? Zur Diskussion im XING-Forum »Webdesign ]]></description>
			<content:encoded><![CDATA[<p>Opera hat ein erstes <a href="http://www.opera.com/b2b/solutions/mobile/video/">Video zum neuen Opera Mobile 9.5</a> ver&#246;ffentlicht, der auf dem Mobile World Congress in Barcelona n&#228;chste Woche vorgestellt werden soll. Im Video wird demonstriert, wie Opera zuk&#252;nftig Websites behandelt: er zoomt sie in gleicher/&#228;hnlicher Form wie das iPhone.</p>
<p>In welcher Form betrifft das nun den Webdesigner?<br />
Zur <a href="https://www.xing.com/app/forum?op=showarticles;id=7593244;articleid=7593244#7593244">Diskussion im XING-Forum »Webdesign und Usability«</a> bitte hier entlang.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.decaf.de/2008/02/mobiles-internet-opera-zoomt-wie-das-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Usability (Q5)</title>
		<link>http://blog.decaf.de/2008/01/usability-q5/</link>
		<comments>http://blog.decaf.de/2008/01/usability-q5/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 23:40:23 +0000</pubDate>
		<dc:creator>Dirk Schürjohann</dc:creator>
				<category><![CDATA[#]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[Zitate]]></category>

		<guid isPermaLink="false">http://blog.decaf.de/2008/01/usability-q5</guid>
		<description><![CDATA[Was ein Ger&#228;t kann, interessiert nur beim Quartettspiel. Usability betrifft das, was der Benutzer (machen) kann. - Basic Thinking Blog, 2008 Ausl&#246;ser: ein iPhone, das nichts kann. Andere Ger&#228;te, die mehr k&#246;nnen. Und &#252;berhaupt]]></description>
			<content:encoded><![CDATA[<blockquote><p>Was ein Ger&#228;t kann, interessiert nur beim Quartettspiel. Usability betrifft das, was der Benutzer (machen) kann.</p>
<p class="cite">- <a href="http://www.basicthinking.de/blog/2008/01/24/mobiles-webnutzung-flexible-layouts/#comment-811185">Basic Thinking Blog</a>, 2008</p>
</blockquote>
<p>Ausl&#246;ser: ein iPhone, das nichts kann. Andere Ger&#228;te, die mehr k&#246;nnen.<br />
Und &#252;berhaupt.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.decaf.de/2008/01/usability-q5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

