<?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>evølutiøn-515.net &#187; CSS</title>
	<atom:link href="http://blog.evolution515.net/article/category/coding/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.evolution515.net</link>
	<description>Chaos ist nur eine andere Bezeichung für steigende Komplexität.</description>
	<lastBuildDate>Wed, 03 Jun 2009 22:55:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Custom fonts: text replacement via Canvas and VML</title>
		<link>http://blog.evolution515.net/article/custom-fonts-text-replacement-via-canvas-and-vml/</link>
		<comments>http://blog.evolution515.net/article/custom-fonts-text-replacement-via-canvas-and-vml/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 13:29:55 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[custom fonts]]></category>
		<category><![CDATA[text replacement]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/?p=303</guid>
		<description><![CDATA[Still we have to wait until @font-face is ready in all modern browsers. We had text-replacement by Flash, by images created on the server and by half-working SVG so far. Now it&#8217;s time for another approach: text replacement via pure Javascript!
Basically the script draws JSON font outlines converted via a Perl-Script from TTF and uses [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.evolution515.net/media/typeface-js.png"><img class="size-medium wp-image-304 alignright" style="float:right;margin-left:1em" title="CSS supported via typeface.js" src="http://blog.evolution515.net/media/typeface-js-300x202.png" alt="" width="200" height="120" /></a>Still we have to wait until @font-face is ready in all modern browsers. We had text-replacement by Flash, by images created on the server and by half-working SVG so far. Now it&#8217;s time for another approach: text replacement via pure Javascript!</p>
<p>Basically the script draws JSON font outlines converted via a Perl-Script from TTF and uses both VML and Canvas for rendering. Only problem: text cannot be selected and copied to the clipboard anymore.</p>
<div style="clear:both;height:1em"></div>
<blockquote><p><strong>There&#8217;s work left to be done. Planned improvements:</strong></p>
<ul>
<li>Full support for @font-face rules, if possible</li>
<li>Support for hinting (this seems like a viable option)</li>
<li>Speed improvements, especially for IE</li>
<li>Work around Opera&#8217;s getComputedStyle() issues</li>
<li>Possible support for SVG backend</li>
<li>Work around needing to specify &#8216;typeface-js&#8217; as a class name</li>
<li>More CSS support, including :hover and x-height</li>
<li>React to DOMNode* events to support DHTML</li>
</ul>
</blockquote>
<p> </p>
<p><strong>Great job: It&#8217;s working on all major modern and semi-modern browser (MSIE7). I&#8217;ll be using that! Thanks!</strong></p>
<p>More here: <a href="http://typeface.neocracy.org/">http://typeface.neocracy.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/custom-fonts-text-replacement-via-canvas-and-vml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WYSIWYG-Editors: They just don&#8217;t get it!</title>
		<link>http://blog.evolution515.net/article/wysiwyg-editors-they-just-dont-get-it/</link>
		<comments>http://blog.evolution515.net/article/wysiwyg-editors-they-just-dont-get-it/#comments</comments>
		<pubDate>Thu, 02 Aug 2007 18:51:13 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/article/wysiwyg-editors-they-just-dont-get-it/</guid>
		<description><![CDATA[When will you guys finally learn to write good documents?! Yesterday the popular JavaScript framework Ext 1.1 was released, including finally a WYSIWYG web-editor:

If you don&#8217;t see what&#8217;s wrong about that editor, let me help you: Nowadays, when you write a document or an article, you got different headlines, different paragraph types that when properly [...]]]></description>
			<content:encoded><![CDATA[<p>When will you guys finally learn to write good documents?! Yesterday the popular JavaScript framework <a href="http://extjs.com/blog/2007/08/01/ext-v11-released/#comment-134">Ext 1.1</a> was released, including finally a WYSIWYG web-editor:</p>
<p><img width="550" height="200" alt="" src="http://blog.evolution515.net/media/Image/ext-wysiwyg.gif" /></p>
<p>If you don&#8217;t see <em>what&#8217;s wrong about that editor</em>, let me help you: Nowadays, when you write a document or an article, you got different headlines, different paragraph types that when properly used, automatically let&#8217;s you create a table of contents, like seen on Wikipedia articles or in OpenOffice.org OpenWriter (or <em>Microsoft Word</em>). You have also style sheets that automatically do the work of assigning different homogenous styles to your headlines throughout the document. </p>
<div style="border: 1px solid rgb(204, 204, 204); padding: 0.4em; background-color: rgb(255, 255, 238);"><strong>But here again i don&#8217;t see any combo-box for formats! Buttons like &ldquo;make text bigger&rdquo; or &ldquo;make smaller&rdquo; or &ldquo;font-family&rdquo; or &ldquo;font-size&rdquo; do <u>not make any sense at all and only encourages bad formatting!</u></strong></div>
<p>Recently i searched for an alternative blogging client, but i could not use any of them because most did not even have a &bdquo;format&ldquo;-field. All my beloved stylesheets assigned to lists and headings here would have be gone! But that&#8217;s exactly why they exist! Are you crazy not using them in your editors?</p>
<p> <strong>As it goes for having toolbar buttons, these are are absolutly sufficient:</strong> <em>&ldquo;Format&rdquo; &ldquo;Remove Format&rdquo; | &bdquo;Bold&ldquo; &bdquo;Italic&ldquo; | &ldquo;Unnumbered List&rdquo; &ldquo;Ordered List&rdquo; &ldquo;Intend&rdquo; &ldquo;De-Intent&rdquo; |&nbsp; &ldquo;Add Link&ldquo; &ldquo;Remove Link&ldquo; | &ldquo;Text-Foreground&rdquo; &ldquo;Text-Background&rdquo; | &ldquo;Insert Table&rdquo; &bdquo;Insert Image&ldquo;&nbsp;</em> <em>should be enough for most users!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/wysiwyg-editors-they-just-dont-get-it/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Post-load your JavaScript and CSS files!</title>
		<link>http://blog.evolution515.net/article/post-load-your-javascript-and-css-files/</link>
		<comments>http://blog.evolution515.net/article/post-load-your-javascript-and-css-files/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 17:45:09 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/article/post-load-your-javascript-and-css-files/</guid>
		<description><![CDATA[If you look at todays web 2.0 sites you will realize there is often a heavy load on external JavaScript resources, CSS files and probably images. Above compressing and optimizing the files and merging multiple files (also background-images), there is not much room to further optimize the page loading process.
One problem of many modern sites [...]]]></description>
			<content:encoded><![CDATA[<p><img width="200" height="160" alt="" src="http://blog.evolution515.net/media/Image/chick.jpg" style="float: right; margin-left: 0.4em;" class="border image" />If you look at todays web 2.0 sites you will realize there is often a heavy load on external JavaScript resources, CSS files and probably images. Above compressing and optimizing the files and merging multiple files (also background-images), there is not much room to further optimize the page loading process.</p>
<p>One problem of many modern sites is that they often provide optional functions for the user at the price of loading the main libraries all at once ending in a terrible site- and javascript-performance. I&#8217;ve already spoken about that once before and see more and more a good chance for web-applications based on Flex, or a real interface-language or perhaps Java. But we&#8217;re speaking about web-sites here not applications (anyway you could intermix them)!</p>
<p>Imagine a &bdquo;passage-way&ldquo; or &bdquo;pass-by&ldquo; page: How many of your users will use your &ldquo;godly&rdquo; fully featured search-window that you&#8217;ve implemented with Ext or the Prototype Window-Script and that runs inside the page? And what about&nbsp; overall JS and CSS footprint about 150KB? Really needed? And oh, it&#8217;s the only part of the website you&#8217;re using these scripts.</p>
<p>Maybe one of ten users will use your &ldquo;godly&rdquo; feature. The others all have to load the site, the slow JavaScript and you will pay bandwidth.</p>
<p style="border: 1px solid rgb(204, 204, 204); padding: 0.4em; background-color: rgb(255, 255, 238);">So, why don&#8217;t you just simply load the parts of the site when you need them? AJAX &ndash; it&#8217;s all about that but still people are loading tons of libraries on every single site!?</p>
<p><strong>As you might guessed i worked on such a script today.</strong> It works pretty well in Firefox and Opera (not yet Safari and fucking MSIE), and i still have to come up with some issues and heavy testing (especially on older browser that probably don&#8217;t wanna let their DOM injected JavaScript or CSS; so a good wrapper for <em>&lt;script&gt;</em> is necessary). I just wonder why no one didn&#8217;t come up with that idea <em>and a working script</em> before. It saves me about 120KB on a product page. And 50KB on other sites. Now that&#8217;s ok?!
</p>
<h3>Here&#8217;s a little preview of the alpha sourcecode</h3>
<div class="dean_ch" style="white-space: wrap;"><span class="coMULTI">/**<br />
&nbsp;* Post-Load<br />
&nbsp;* @version 0.1a<br />
&nbsp;* @desc Why preload all your scripts? Dynamically them when they are needed!<br />
&nbsp;* @author Markus Geiger 2007<br />
&nbsp;* @package Postload<br />
&nbsp;* @license MIT<br />
&nbsp;* @url http://blog.evolution515.net<br />
&nbsp;*/</span></p>
<p>PostloadJob = <span class="kw2">Class</span>.<span class="me1">create</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
PostloadJob.<span class="me1">prototype</span> = <span class="br0">&#123;</span><br />
&nbsp; &nbsp; totalFiles: <span class="nu0">0</span>, <span class="co1">// holds number of total file to load</span><br />
&nbsp; &nbsp; loadedFiles: <span class="nu0">0</span>, <span class="co1">// holds number of loaded files</span><br />
&nbsp; &nbsp; completeHandler: <span class="kw2">null</span>, <span class="co1">// function executed on complete loading</span><br />
&nbsp; &nbsp; errorHandler: <span class="kw2">null</span>, <span class="co1">// function executed on error while loading</span><br />
&nbsp; &nbsp; initialize: <span class="kw2">function</span><span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Init the container for our files</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Postload.<span class="me1">htmlContainer</span> = $<span class="br0">&#40;</span><span class="st0">&#8216;postload&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>!Postload.<span class="me1">htmlContainer</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> elem = document.<span class="me1">createElement</span><span class="br0">&#40;</span><span class="st0">&#8216;div&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elem.<span class="me1">setAttribute</span><span class="br0">&#40;</span><span class="st0">&#8216;id&#8217;</span>, <span class="st0">&#8216;postload&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.<span class="me1">body</span>.<span class="me1">appendChild</span><span class="br0">&#40;</span>elem<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Postload.<span class="me1">htmlContainer</span> = $<span class="br0">&#40;</span><span class="st0">&#8216;postload&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>input<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw1">this</span>.<span class="me1">load</span><span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; load: <span class="kw2">function</span><span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span> <span class="br0">&#123;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>completeHandler<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">completeHandler</span> = completeHandler;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw1">typeof</span><span class="br0">&#40;</span>input<span class="br0">&#41;</span>==<span class="st0">&#8216;object&#8217;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">totalFiles</span> = input.<span class="me1">length</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; input = <span class="br0">&#91;</span>input<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">totalFiles</span> = <span class="nu0">1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span>i=<span class="nu0">0</span>;i&lt;input.<span class="me1">length</span>;i++<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> filename = input<span class="br0">&#91;</span>i<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>filename.<span class="me1">indexOf</span><span class="br0">&#40;</span><span class="st0">&#8216;.js&#8217;</span><span class="br0">&#41;</span>!=<span class="nu0">-1</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">loadJS</span><span class="br0">&#40;</span>filename<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="kw1">if</span> <span class="br0">&#40;</span>filename.<span class="me1">indexOf</span><span class="br0">&#40;</span><span class="st0">&#8216;.css&#8217;</span><span class="br0">&#41;</span>!=<span class="nu0">-1</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">loadCSS</span><span class="br0">&#40;</span>filename<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw2">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p>&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; complete: <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">loadedFiles</span>++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw1">this</span>.<span class="me1">loadedFiles</span>!=<span class="kw1">this</span>.<span class="me1">totalFiles</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw1">this</span>.<span class="me1">completeHandler</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">completeHandler</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; loadJS: <span class="kw2">function</span><span class="br0">&#40;</span>filename<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> elem = document.<span class="me1">createElement</span><span class="br0">&#40;</span><span class="st0">&#8217;script&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; elem.<span class="me1">setAttribute</span><span class="br0">&#40;</span><span class="st0">&#8217;src&#8217;</span>, filename<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Event.<span class="me1">observe</span><span class="br0">&#40;</span>elem, <span class="st0">&#8216;load&#8217;</span>, <span class="kw1">this</span>.<span class="me1">complete</span>.<span class="me1">bindAsEventListener</span><span class="br0">&#40;</span><span class="kw1">this</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Postload.<span class="me1">htmlContainer</span>.<span class="me1">appendChild</span><span class="br0">&#40;</span>elem<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; loadCSS: <span class="kw2">function</span> <span class="br0">&#40;</span>filename<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">new</span> Ajax.<span class="me1">Request</span><span class="br0">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; filename,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; method: <span class="st0">&#8216;get&#8217;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onSuccess: <span class="kw1">this</span>.<span class="me1">completeCSS</span>.<span class="me1">bindAsEventListener</span><span class="br0">&#40;</span><span class="kw1">this</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; completeCSS: <span class="kw2">function</span><span class="br0">&#40;</span>transport<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> elem = document.<span class="me1">createElement</span><span class="br0">&#40;</span><span class="st0">&#8217;style&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; elem.<span class="me1">setAttribute</span><span class="br0">&#40;</span><span class="st0">&#8216;type&#8217;</span>, <span class="st0">&#8216;text/css&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; elem.<span class="me1">innerHTML</span> = transport.<span class="me1">responseText</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Postload.<span class="me1">htmlContainer</span>.<span class="me1">appendChild</span><span class="br0">&#40;</span>elem<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">complete</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></p>
<p>
Postload = <span class="kw2">new</span> Object<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
Postload.<span class="me1">htmlContainer</span> = <span class="kw2">null</span>;<br />
Postload.<span class="me1">allFiles</span> = <span class="kw2">new</span> Array<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
Postload.<span class="me1">require</span> = <span class="kw2">function</span><span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw2">new</span> PostloadJob<span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span></div>
<h3>Example usage</h3>
<p>The syntax is very simple. Just use it like require from your PHP or Java language. The only difference is that it handles more than one file and calls a complete-handler when all files have finished loading. So chaining it into your applications should be very easy.</p>
<div class="dean_ch" style="white-space: wrap;">product._openComparisionWindow = <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; Postload.<span class="me1">require</span><span class="br0">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8216;gz?lib/windows-js/javascripts/effects.js|lib/windows-js/javascripts/window.js&#8217;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8216;gz?lib/windows-js/themes/default.css|lib/windows-js/themes/alphacube.css&#8217;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#93;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; product.<span class="me1">openComparisionWindow</span><br />
&nbsp; &nbsp; <span class="br0">&#41;</span>;<span class="br0">&#125;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/post-load-your-javascript-and-css-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outlook2007 HTML-Vorschau mit Microsoft Word2003</title>
		<link>http://blog.evolution515.net/article/outlook2007-html-vorschau-mit-microsoft-word2003/</link>
		<comments>http://blog.evolution515.net/article/outlook2007-html-vorschau-mit-microsoft-word2003/#comments</comments>
		<pubDate>Tue, 17 Jul 2007 13:25:13 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/article/outlook2007-html-vorschau-mit-microsoft-word2003/</guid>
		<description><![CDATA[Outlook 2007 ist toll: Microsoft hat es tats&#228;chlich wieder aus unerfindlichen Gr&#252;nden geschafft auf eine HTML-Darstellung aus dem Jahr 2000 zur&#252;ck zu finden. Entgegen der Vermutng Security k&#246;nnte was damit zu tun haben, ist aber mittlerweile offiziell, dass die HTML-Darstellung von Outlook zu der von Word konsistent zu halten. Mit Word schreibt n&#228;mlich der Outlook-Nutzer [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Outlook 2007 ist toll</strong>: Microsoft hat es tats&auml;chlich wieder aus unerfindlichen Gr&uuml;nden geschafft auf eine HTML-Darstellung aus dem Jahr 2000 zur&uuml;ck zu finden. Entgegen der Vermutng Security k&ouml;nnte was damit zu tun haben, ist aber mittlerweile offiziell, dass die HTML-Darstellung von Outlook zu der von Word konsistent zu halten. Mit Word schreibt n&auml;mlich der Outlook-Nutzer auch seine E-Mails, sofern er die Standard-Eisntellungen l&auml;&szlig;t. Wer das Ganze nicht glaubt lie&szlig;t <a href="http://www.campaignmonitor.com/blog/archives/2007/01/the_truth_behind_the_outlook_2.html">hier</a> nach.</p>
<p>Nat&uuml;rlich ist das au&szlig;erordentlich dumm, stehen n&auml;mlich somit wieder alle Sicherheitsl&uuml;cken der Word2003-HTML-Darstellung, die dahintersteckt, auch wieder offen. </p>
<p>Und es wirft Probleme f&uuml;r Web-Designer auf, vor allem bei Webmails, da die Mehrheit der Empf&auml;nger und Windows-Whores nicht glauben will, es liege an ihrem &bdquo;technisch fortschrittlichem&ldquo; Outlook2007. D.h. doppelt Frust f&uuml;r Webtreibende, denn hei&szlig;t es somit wieder zur&uuml;ck zum Tabellenlayout von 1999, m&ouml;glicherweise steht auch die Installation von MS Office2007 an.</p>
<p>Letzteres muss nicht unbedingt sein, denn kann hier Word2003 auch schon helfen. Hierzu speichert man den nicht-kodierten Quelltext des HTML-MIME-Parts der Mail, und l&auml;dt ihn mit Word2003. Somit l&auml;&szlig;t sich wenigstens in den meisten B&uuml;ros ohne Windows-Vista und Office2007 die Darstellung &uuml;berpr&uuml;fen.</p>
<p>Da auch schon Grafiken in HTML E-Mails schon lange Tabu sind&nbsp; &ndash; au&szlig;erd den inline-embedded Bildern mit &lt;img&gt;-Element &ndash; bleibt nur noch wenig &uuml;brigen, mit dem man arbeiten kann. N&auml;mlich noch einige wenige fehlerhaft dargestellte Eigenschaften aus CSS 1.0. <em>float</em> geh&ouml;rt im &uuml;birgen nicht dazu, und somit sind Bilder im Flie&szlig;text auch Vergangenheit. Danke Microsoft!</p>
<p>Hilfe und mehr Tipps zurAnwendung von CSS gibt es im&nbsp; <a href="http://www.campaignmonitor.com/blog/archives/2007/04/a_guide_to_css_support_in_emai_2.html">guide to CSS Support in E-Mail</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/outlook2007-html-vorschau-mit-microsoft-word2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

