<?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>me-blogs-it.com &#187; Internet Explorer</title>
	<atom:link href="http://www.me-blogs-it.com/tag/internet-explorer/feed" rel="self" type="application/rss+xml" />
	<link>http://www.me-blogs-it.com</link>
	<description>WE'RE NOT WEIRD, WE'RE HIPPOS!</description>
	<lastBuildDate>Sun, 27 Jun 2010 22:13:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Subdomain-Fire: Three New Things I Want to Tell You About</title>
		<link>http://www.me-blogs-it.com/subdomain-fire-three-new-things-i-want-to-tell-you-about-javascript-15-06-2009</link>
		<comments>http://www.me-blogs-it.com/subdomain-fire-three-new-things-i-want-to-tell-you-about-javascript-15-06-2009#comments</comments>
		<pubDate>Mon, 15 Jun 2009 21:56:13 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[800x600]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Ih8IE]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JS-OS-Theme]]></category>
		<category><![CDATA[screen resolution]]></category>
		<category><![CDATA[screenresolution]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[webtool]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://www.me-blogs-it.com/?p=305</guid>
		<description><![CDATA[Oh &#8211; My &#8211; Holy &#8211; God! I think my blog is officially dead now! After, uhm, not even 30 posts! But I&#8217;ve done a lot of things since March the twentieth, when I published the last post! And I mean things apart from twittering! In April, for example, I developed a whole new WordPress-Theme [...]]]></description>
			<content:encoded><![CDATA[<p>Oh &#8211; My &#8211; Holy &#8211; God! I think my blog is officially dead now! After, uhm, not even 30 posts! But I&#8217;ve done a lot of things since March the twentieth, when I published the last post! And I mean things apart from <a title="tag  - Twitter" href="http://www.me-blogs-it.com/tag/twitter">twittering</a>!</p>
<p>In April, for example, I developed a whole new <a title="tag - WordPress" href="http://www.me-blogs-it.com/tag/wordpress">WordPress</a>-Theme called &#8220;<a title="tag - JavaScript" href="http://www.me-blogs-it.com/tag/javascript">JavaScript</a>-OperatingSystem-Theme&#8221; (&#8220;<a title="tag - js-os-theme" href="http://www.me-blogs-it.com/tag/js-os-theme">JS-OS-Theme</a>&#8220;). I&#8217;ve chosen this extraordinary name, because it&#8217;s based on JavaScript (and <a title="tag - php" href="http://www.me-blogs-it.com/tag/PHP">PHP</a> of course, the WordPress-part!) and looks and behaves like an operating system. For all those of you who can speak <a title="tag - Germany" href="http://www.me-blogs-it.com/tag/germany">German</a>: Ihr könnt euch <a title="YouTube - JS-OS-Theme JavaScript Theme WordPress" href="http://www.youtube.com/watch?v=_xQ4ZWTIjKU" target="_blank">diesen Screencast</a> ansehen, in dem ich das Theme ausführlich vorstelle. For all those of you who can&#8217;t: Enjoy the &#8220;ö&#8221;s and &#8220;ü&#8221;s in the last sentence and believe that all your stereotypes about Germany are true. Or go directly to <a title="JS-OS-Theme JavaScript " href="http://trial.me-blogs-it.com">trial.me-blogs-it.com</a> &#8211; I&#8217;ve installed the Theme for experimental purpose and the test-posts are all in English!</p>
<p>I&#8217;ve done even more things in May!</p>
<p>Now, in June I began to teach myself <a title="tag - objective-c" href="http://www.me-blogs-it.com/tag/objective-c">Objective-C</a> to write <a title="tag - Mac" href="http://www.me-blogs-it.com/tag/mac">Mac</a> and <a title="tag - iPhone" href="http://www.me-blogs-it.com/tag/iphone">iPhone</a>-Apps! I&#8217;ve already done a dozen of &#8220;Hello, World!&#8221;-Tutorials, yet I haven&#8217;t learned anything at all&#8230; But before I begin to bore you with this I rather tell you about the two other projects which ended up in further subdomains:</p>
<p><span id="more-305"></span>The first one is a simple <a title="wysiwyg - what you see is what you get editor" href="http://wysiwyg.me-blogs-it.com">WYSIWYG-Editor</a>. I had to google for a long time until I found how to write one actually: The secret behind <a title="tag - wysiwyg" href="http://www.me-blogs-it.com/tag/wysiwyg">wysiwyg</a>-editors is an iframe with the JavaScript-method <span class="code">designMode = &#8220;on&#8221;;</span></p>
<pre style="word-wrap: break-word; white-space: pre-wrap;"><span style="color:grey;">function id2obj(id) {if(document.getElementById) {return(document.getElementById(id))} else if(document.all) {return(document.all.id);} }</span>
var Idocument = id2obj('showHTML').contentWindow.document;
Idocument.designMode = "on";</pre>
<p>The special thing about this wysiwyg-Editor: Next to the wysiwyg-Editor is a textarea with the sourcecode of the wysiwyg-editor. Now, if you type into the textarea, the sourcecode is simultaneously turned into <a title="tag - HTML" href="http://www.me-blogs-it.com/tag/html">HTML</a> and shown in the wysiwyg-editor. If you edit something in the wysiwyg-editor (btw: For all those of you who don&#8217;t know what this cryptical &#8220;wysiwyg&#8221; actually stands for: It means &#8220;What you see is what you get&#8221; &#8211; you know, <a title="YouTube - what you see is what you get - Britney Spears " href="http://www.youtube.com/watch?v=mttqlWLC3RI" target="_blank">this Britney Spears song</a>!) the sourcecode changes in the textarea at the same time! Unfortunately it doesn&#8217;t work in Firefox. It probably doesn&#8217;t work in the <a title="tag - I h8 IE" href="http://www.me-blogs-it.com/tag/Ih8IE">Internet Explorer</a>, but that&#8217;s a thing I don&#8217;t care about!</p>
<p>The last new subdomain: I was shocked when I read a study (I don&#8217;t know how old it was) in which it says that almost a quarter of all Internet users have a <a title="tag - screenresolution" href="http://www.me-blogs-it.com/tag/screenresolution">screen resolution</a> of 800&#215;600! I wanted to know how my sites actually look like in those screenresolutions and have written a simple php-file which makes customized resolutions possible: <a title="screen resolution - customized" href="http://800x600.me-blogs-it.com">800&#215;600.me-blogs-it.com</a></p>
<div id="attachment_307" class="wp-caption aligncenter" style="width: 610px"><img class="size-medium wp-image-307    " title="JS-OS-Theme screenshot" src="http://www.me-blogs-it.com/wp-content/uploads/screenshot-1024x508.png" alt="JavaScript-OperatingSystem-Theme WordPress screenshot" width="600" height="297" /><p class="wp-caption-text">JavaScript-OperatingSystem-Theme WordPress screenshot</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.me-blogs-it.com/subdomain-fire-three-new-things-i-want-to-tell-you-about-javascript-15-06-2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS: Using CSS for onMouseOver effects rather than JavaScript</title>
		<link>http://www.me-blogs-it.com/css-using-css-for-onmouseover-effects-rather-than-javascript-28-02-2009</link>
		<comments>http://www.me-blogs-it.com/css-using-css-for-onmouseover-effects-rather-than-javascript-28-02-2009#comments</comments>
		<pubDate>Sat, 28 Feb 2009 18:41:56 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://www.me-blogs-it.com/?p=202</guid>
		<description><![CDATA[Actually I wanted to write a post about J.R. Rotem and &#8220;The Writing Team&#8221;, but it&#8217;s kinda much&#8230; So, instead here&#8217;s another CSS-post. When you want a picture to change, while the cursor hovers over it, you usually use JavaScript&#8217;s &#60;onMouseOver&#62; in this way: &#60;img src=&#8221;picture.jpg&#8221; onmouseover=&#8221;this.src=&#8217;hover-picture.jpg&#8217;;&#8221; onmouseout=&#8221;this.src=&#8217;picture.jpg&#8217;;&#8221; /&#62;   Although this is the common [...]]]></description>
			<content:encoded><![CDATA[<p>Actually I wanted to write a post about J.R. Rotem and &#8220;The Writing Team&#8221;, but it&#8217;s kinda much&#8230; So, instead here&#8217;s another CSS-post.</p>
<p>When you want a picture to change, while the cursor hovers over it, you usually use JavaScript&#8217;s <span class="code">&lt;onMouseOver&gt;</span> in this way:</p>
<blockquote><p><span class="code"><br />
&lt;img src=&#8221;picture.jpg&#8221; onmouseover=&#8221;this.src=&#8217;hover-picture.jpg&#8217;;&#8221; onmouseout=&#8221;this.src=&#8217;picture.jpg&#8217;;&#8221; /&gt;<br />
</span> </p></blockquote>
<p>Although this is the common way, there&#8217;s actually another, better and way simpler way to accomplish this hover-effect, which also works when JavaScript is turned off in the browser. <span id="more-202"></span>It&#8217;s &#8211; as you can guess from the headline &#8211; via CSS:</p>
<div id="testavatar"></div>
<style type="text/css">
#testavatar {
width: 64px;
height: 64px;
background-image: url(http://www.me-blogs-it.com/wp-content/uploads/gravatar1.jpg);
}
#testavatar:hover {
background-image: url(http://www.me-blogs-it.com/wp-content/uploads/gravatar2.jpg);
}
</style>
<blockquote><p><span class="code"><br />
&lt;div id=&#8221;avatar&#8221;&gt;&lt;/div&gt;</span></p>
<p><span class="code">&lt;style type=&#8221;text/css&#8221;&gt;<br />
#avatar {<br />
width: 64px;<br />
height: 64px;<br />
background-image: url(gravatar1.jpg);<br />
}<br />
#avatar:hover {<br />
background-image: url(gravatar2.jpg);<br />
}<br />
&lt;/style&gt;<br />
</span></p></blockquote>
<p>It uses the <span class="code">:hover</span>-funtion in CSS. The picture is actually just a <span class="code">background-image</span> which is swapped, when the cursor hovers over the div. Many sites already use this method. Some even just have one background-image which is relocated via <span class="code">background-postion-y</span> or <span class="code">-x</span>. Facebook does that: The logo is actually two logos &#8211; the first one is the normal logo, the second one is with a &#8220;Home&#8221;-icon. When you hover over the logo <span class="code">background-position-y: -17px;</span> is executed. Although it&#8217;s actually the background-image which is repositioned, for you it looks like a house is simply added behind the logo.</p>
<p> </p>
<div class="wp-caption alignnone" style="width: 100px"><img title="Facebook-logo" src="http://static.ak.fbcdn.net/images/menubar/fb_menubar_logo-ltr.gif" alt="Facebook-logo with house" width="90" height="34" /><p class="wp-caption-text">Facebook-logo background-picture with and without house</p></div>
<p>And this leads me to another CSS-thing: Instead of relocating a background-image you could indeed add a house behind the facebook-logo by means of the rather unknown tags <span class="code">:after</span> in combination with <span class="code">content: &#8230;;</span>:</p>
<div id="add"> Facebook </div>
<style type="text/css">
#add:hover:after {
content: "house";
}
</style>
<blockquote><p><span class="code"><br />
&lt;div id=&#8221;add-content&#8221;&gt; Facebook &lt;/div&gt;</span></p>
<p><span class="code">&lt;style type=&#8221;text/css&#8221;&gt;<br />
#add-content:hover:after {<br />
content: &#8220;house&#8221;;<br />
}<br />
&lt;/style&gt;</span></p></blockquote>
<p>Though this example works with text, you could easily change that to use images. Now, why does Facebook used the other way to add the house behind the logo and not this, simpler one? Because crappy Internet Explorer can&#8217;t interpret <span class="code">:after</span> and <span class="code">content</span>! These tags are actually official web-standards, but -hey- the IE doesn&#8217;t give a fuck about web-standards! Instead Microsoft invents its own standards like <span class="code">filter:Alpha(opacity=50, finishopacity=20);</span>&#8230; Oh, dude, I hate the IE! From the bottom of my heart! But 66% of all Internet users are still using the IE, because they don&#8217;t even know about Firefox or Opera or Flock or Safari&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.me-blogs-it.com/css-using-css-for-onmouseover-effects-rather-than-javascript-28-02-2009/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

