<?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>Jonathan Weiß &#187; Hidden Browser Gems</title>
	<atom:link href="http://mysterycity.de/blog/category/hidden-browser-gems/feed" rel="self" type="application/rss+xml" />
	<link>http://mysterycity.de/blog</link>
	<description>Online Marketing</description>
	<lastBuildDate>Tue, 01 Nov 2011 09:28:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hidden browser gems &#8211; Part II: Searchable list for JavaScript files in open document</title>
		<link>http://mysterycity.de/blog/hidden-browser-gems-part-ii-searchable-list-for-javascript-files-in-open-document</link>
		<comments>http://mysterycity.de/blog/hidden-browser-gems-part-ii-searchable-list-for-javascript-files-in-open-document#comments</comments>
		<pubDate>Tue, 01 Jul 2008 19:17:58 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Hidden Browser Gems]]></category>

		<guid isPermaLink="false">http://mysterycity.de/blog/?p=64</guid>
		<description><![CDATA[Today's hidden gem is a little extraordinary: it is not about a browser technique and it is only available in Firefox with installed Firebug extension. But I expect my target audience having a Firefox as butter and bread tool (thanks for this phrase, Thomas ;-)) fully loaded with extensions and custom settings... The gem is [...]]]></description>
			<content:encoded><![CDATA[<p>Today's hidden gem is a little extraordinary: it is not about a browser technique and it is only available in Firefox with installed <a href="http://www.getfirebug.com">Firebug</a> extension. But I expect my target audience having a Firefox as <em>butter and bread tool</em> (thanks for this phrase, <a href="http://sourceforge.net/users/thron7">Thomas</a> ;-)) fully loaded with extensions and custom settings...</p>
<p>The gem is a search able list which contains all JavaScript files used in the current document. This is perfect if you need to set or modify breakpoints or just want to get a quick overview about the used scripts in the page. If you are dealing with a large amount of JavaScript files, this list is absolutely useless and it gets worse if you are dealing with long paths. And here comes the <em>search able</em> feature in the play: just start typing in the open list and only matching file names are shown.</p>
<p><a href='http://mysterycity.de/blog/wp-content/uploads/2008/02/firebug_javascript_search.png' title='JavaScript files used in current document' rel="lightbox[64]"><img src='http://mysterycity.de/blog/wp-content/uploads/2008/02/firebug_javascript_search.thumbnail.png' alt='JavaScript files used in current document' /></a><br />
<a href='http://mysterycity.de/blog/wp-content/uploads/2008/02/firebug_javascript_search.png'>JavaScript files names containing "queue"</a></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mysterycity.de/blog/hidden-browser-gems-part-ii-searchable-list-for-javascript-files-in-open-document/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hidden browser gems &#8211; Part II: conditional comments</title>
		<link>http://mysterycity.de/blog/hidden-browser-gems-part-ii-conditional-comments</link>
		<comments>http://mysterycity.de/blog/hidden-browser-gems-part-ii-conditional-comments#comments</comments>
		<pubDate>Sat, 20 Oct 2007 17:37:22 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Hidden Browser Gems]]></category>
		<category><![CDATA[Hidden Gems]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://mysterycity.de/blog/hidden-browser-gems-part-ii-conditional-comments</guid>
		<description><![CDATA[The Internet Explorer has the nice ability to detect specially formatted HTML comments and recognize them as programmable conditions. While all other browsers are treating them as regularly HTML comments, they will ignore the conditions and its branches completely. Thus we have a great possibility to address Internet Explorer browsers in a valid, standard-compliant way [...]]]></description>
			<content:encoded><![CDATA[<p>The Internet Explorer has the nice ability to detect specially formatted HTML comments and recognize them as <a href="http://msdn2.microsoft.com/en-us/library/ms537512.aspx">programmable conditions</a>. While all other browsers are treating them as regularly HTML comments, they will ignore the conditions and its branches completely.<br />
Thus we have a great possibility to address Internet Explorer browsers in a valid, standard-compliant way without using a client or server side scripting language.</p>
<p>Generally conditions start with <code>[if]</code> and end with <code>[endif]</code>:</p>
<pre class="html4strict"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!--[if exp]&gt;</span>
</span> HTML block <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span>!<span style="color: #66cc66;">&#91;</span>endif<span style="color: #66cc66;">&#93;</span>--<span style="color: #000000; font-weight: bold;">&gt;</span></span></pre>
<p>The typically use of this technique to figure out which version of Internet Explorer the client is using. An expression can contain the string <code>IE</code>, the <em>version number</em>, comparison operators (<code>lt</code>, <code>lte</code>, <code>gt</code>, <code>gte</code>), boolean operators (<code>&</code>, <code>|</code>, <code>!</code>) and parentheses (<code>(</code>, <code>)</code>).<br />
With this constituents it is possible to construct flexible version number detections.</p>
<pre class="html4strict"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!--[if IE]&gt;</span>
</span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">&lt;link</span></a> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;styles_ie.css&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #66cc66;">&#91;</span>endif<span style="color: #66cc66;">&#93;</span>--<span style="color: #000000; font-weight: bold;">&gt;</span></span></pre>
<p>It is even possible to nest comments.</p>
<pre class="html4strict"><span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!--[if IE]&gt;</span>
</span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span>!<span style="color: #66cc66;">&#91;</span>if gte IE <span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#93;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">&lt;link</span></a> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;styles_ie5.css&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span>!<span style="color: #66cc66;">&#91;</span>endif<span style="color: #66cc66;">&#93;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span>!<span style="color: #66cc66;">&#91;</span>if <span style="color: #66cc66;">&#40;</span>gt IE <span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span>&amp;<span style="color: #66cc66;">&#40;</span>lt IE <span style="color: #cc66cc;">7</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#93;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">&lt;link</span></a> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;styles_ie55_and6.css&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span>!<span style="color: #66cc66;">&#91;</span>endif<span style="color: #66cc66;">&#93;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span>!<span style="color: #66cc66;">&#91;</span>if IE <span style="color: #cc66cc;">7</span><span style="color: #66cc66;">&#93;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/link.html"><span style="color: #000000; font-weight: bold;">&lt;link</span></a> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;styles_ie7_hacks.css&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span>!<span style="color: #66cc66;">&#91;</span>endif<span style="color: #66cc66;">&#93;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;</span>!<span style="color: #66cc66;">&#91;</span>endif<span style="color: #66cc66;">&#93;</span>--<span style="color: #000000; font-weight: bold;">&gt;</span></span></pre>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mysterycity.de/blog/hidden-browser-gems-part-ii-conditional-comments/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hidden browser gems &#8211; Part I: text-overflow</title>
		<link>http://mysterycity.de/blog/hidden-browser-gems-part-i-text-overflow</link>
		<comments>http://mysterycity.de/blog/hidden-browser-gems-part-i-text-overflow#comments</comments>
		<pubDate>Sun, 29 Jul 2007 19:23:34 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Hidden Browser Gems]]></category>
		<category><![CDATA[Hidden Gems]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Webkit]]></category>

		<guid isPermaLink="false">http://mysterycity.de/blog/hidden-browser-gems-part-i-text-overflow</guid>
		<description><![CDATA[I just started another series for my blog. :-) Today's browsers are quite huge applications charged with so many features and potentials, that you can hardly know all of them. From time to time I will write about less known, but useful and valuably features: the hidden gems. While playing with the soft hyphen feature [...]]]></description>
			<content:encoded><![CDATA[<p>I just started another series for my blog. :-)<br />
Today's browsers are quite huge applications charged with so many features and potentials, that you can hardly know all of them. From time to time I will write about less known, but useful and valuably features: the <strong>hidden gems</strong>.</p>
<p>While playing with the soft hyphen feature of the <a href="http://www.mysterycity.de/blog/cool-features-in-upcoming-firefox-30">latest version of Firefox</a> I remembered that I had seen a nice way to cut off text if it is too long for its containing element. A few years ago I accidentally found an entry in a wiki about a special CSS property which can be used to improve the look of texts inside an element with an <code>overflow:hidden</code> style property.</p>
<p><a href='http://mysterycity.de/blog/wp-content/uploads/2007/07/text_overflow_ellipsis.gif' title='An example of text-overflow' rel="lightbox[28]"><img src='http://mysterycity.de/blog/wp-content/uploads/2007/07/text_overflow_ellipsis.thumbnail.gif' alt='An example of text-overflow' /></a><br />
<a href='http://mysterycity.de/blog/wp-content/uploads/2007/07/text_overflow_ellipsis.gif' title='An example of text-overflow'>An example of text-overflow</a></p>
<p>In Internet Explorer 6.0 (and above) and in Safari 1.3 (and above) you can use <code>text-overflow:ellipsis</code> together with <code>overflow:hidden</code> to get this three dots if text is to long.</p>
<p><a href='http://mysterycity.de/blog/wp-content/uploads/2007/07/ellipsis_buggy_with_overflow_auto.gif' title='text-overflow seems to be buggy with overflow:auto' rel="lightbox[28]"><img src='http://mysterycity.de/blog/wp-content/uploads/2007/07/ellipsis_buggy_with_overflow_auto.thumbnail.gif' alt='text-overflow seems to be buggy with overflow:auto' /></a><br />
Be careful with <code>overflow:auto</code>! It seems <a href='http://mysterycity.de/blog/wp-content/uploads/2007/07/ellipsis_buggy_with_overflow_auto.gif' title='text-overflow seems to be buggy with overflow:auto'>a bit buggy in Safari</a>, while it works nearly perfect in Internet Explorer.</p>
<p><b>Update:</b><br />
The Opera browser (since version 9.0) supports this property, too. You have to use the proprietary attribute <code>-o-text-overflow</code> and your text will be displayed the same way as in Safari.<br />
I guess once CSS3 goes final, all vendors will use the W3C standard property.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://mysterycity.de/blog/hidden-browser-gems-part-i-text-overflow/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

