<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>timbrugman.com</title>
	
	<link>http://www.timbrugman.com</link>
	<description>The things I can't fit into a tweet.</description>
	<lastBuildDate>Sun, 29 Jan 2012 16:38:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/timbrugman" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="timbrugman" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>How to embed YouTube HD at smaller sizes</title>
		<link>http://www.timbrugman.com/archive/how-to-embed-youtube-hd-at-smaller-sizes/</link>
		<comments>http://www.timbrugman.com/archive/how-to-embed-youtube-hd-at-smaller-sizes/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 16:26:01 +0000</pubDate>
		<dc:creator>Tim Brugman</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.timbrugman.com/?p=256</guid>
		<description><![CDATA[Today I&#8217;m sharing a solution to a problem I faced when working on Welcome To Esports. YouTube currently provides 2 types of embedded players. The old object-based player and the new iframe-based player. When you compare them you&#8217;ll find that the new player looks exactly like the player on YouTube&#8217;s own site, much better than&#8230;]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;m sharing a solution to a problem I faced when working on <a href="http://welcometoesports.com/" title="Visit welcometoesports.com">Welcome To Esports</a>.</p>
<p>YouTube currently provides 2 types of embedded players. The old object-based player and the new iframe-based player. When you compare them you&#8217;ll find that the new player looks exactly like the player on YouTube&#8217;s own site, much better than the previous design that the old player is stuck with.</p>
<p><span id="more-256"></span>However, the object player has a unique skill the iframe player doesn&#8217;t have: It let&#8217;s you choose the video quality! When you embed the iframe player at e.g. 960&#215;540 and specify hd=1, the player won&#8217;t obey. It will decide that because you are embedding at sub-720 size, you&#8217;re not getting that HD quality. Of course your visitor is able to select HD quality from the dropdown menu (or should I say dropup?), but that&#8217;s minus 1 point on user experience.</p>
<p>Now on to the good part. I found a fairly simple way to get the new iframe player embed, with HD quality, at sub-HD sizes.</p>
<p>1. Embed the YouTube player.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"></span><span class="left2">Download <a href="http://www.timbrugman.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=256&amp;download=index.php">index.php</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2565"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p256code5"><pre class="text" style="font-family:monospace;">&lt;div class=&quot;ytembed&quot;&gt;
	&lt;iframe src=&quot;http://www.youtube.com/embed/REPLACEME?autoplay=1&amp;amp;fs=1&amp;amp;hd=1&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>2. Set it&#8217;s size in the CSS to 720p, (or 1080p) and hide it to not scare the user with a huge player. Instead they will have a huge gap, but that&#8217;s not half as scary.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"></span><span class="left2">Download <a href="http://www.timbrugman.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=256&amp;download=main.css">main.css</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2566"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p256code6"><pre class="text" style="font-family:monospace;">.ytembed iframe {
	width: 1280px;
	height: 720px;
	visibility: hidden;
}</pre></td></tr></table></div>

<p>3. Add or make sure you&#8217;ve got jQuery on your site.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"></span><span class="left2">Download <a href="http://www.timbrugman.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=256&amp;download=index.php">index.php</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2567"><td class="line_numbers"><pre>1
2
</pre></td><td class="code" id="p256code7"><pre class="text" style="font-family:monospace;">&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/jquery.js&quot;&gt;&lt;/script&gt;</pre></td></tr></table></div>

<p>4. Using jQuery we wait 1500ms so the YouTube player loads the video while in HD size, although invisible.. And then we resize the iframe to your embed&#8217;s proper size, and make it visible again.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"></span><span class="left2">Download <a href="http://www.timbrugman.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=256&amp;download=jquery.js">jquery.js</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2568"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code" id="p256code8"><pre class="text" style="font-family:monospace;">$(function()
{
&nbsp;
setTimeout( function()
{
	// set the iframe to the desired size and make it visible
	$('.video iframe').css(
		{'width':'912px','height':'543px','visibility':'visible'}
	);
}, 1500 );
&nbsp;
});</pre></td></tr></table></div>

<p>A weakness of this code I expect to be is the estimated wait time of 1500ms. If YouTube is a little bit slower for an end user than it was for me while testing, they will not get the HD version but one of a lower resolution. If YouTube is a little or a lot faster for an end user than it was for me, they will won&#8217;t see the first 1500ms of video. Hardly a problem if you ask me.</p>
<p>A possible improvement I tried to implement but failed, was to hide the horizontal scrollbar until after the video was resized. Because of the space that the initial HD player takes up, even if it&#8217;s invisible, users on lower resolutions might see a horizontal scrollbar during the process.</p>
<p>If you have come up with an improvement on this method or you found a way to make the one I described possible, please leave a comment below.</p>
<p>To see this code in action visit <a href="http://welcometoesports.com/" title="Visit welcometoesports.com">welcometoesports.com</a> and click on any video guide.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.timbrugman.com/archive/how-to-embed-youtube-hd-at-smaller-sizes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP bar graph script</title>
		<link>http://www.timbrugman.com/archive/php-bar-graph-script/</link>
		<comments>http://www.timbrugman.com/archive/php-bar-graph-script/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 14:27:23 +0000</pubDate>
		<dc:creator>Tim Brugman</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.timbrugman.com/?p=136</guid>
		<description><![CDATA[It&#8217;s time for another code freebie from yours truly. This is a little script that creates bar graphs with a length and title you specify. As many as you want, for whatever you want. Like breakfast! I made the design in Excel 2007 and copied it over to Adobe Fireworks, keeping even the transparency, where&#8230;]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time for another code freebie from yours truly.<br />
This is a little script that creates bar graphs with a length and title you specify.</p>
<p><a href="http://www.timbrugman.com/wp-content/uploads/2011/07/phpbargraphexample1.png"><img src="http://www.timbrugman.com/wp-content/uploads/2011/07/phpbargraphexample1.png" alt="" title="phpbargraphexample1" width="600" height="72" class="aligncenter size-full wp-image-141" /></a><br />
As many as you want, for whatever you want. Like breakfast!</p>
<p><a href="http://www.timbrugman.com/wp-content/uploads/2011/07/phpbargraphexample2.png"><img src="http://www.timbrugman.com/wp-content/uploads/2011/07/phpbargraphexample2.png" alt="" title="phpbargraphexample2" width="600" height="72" class="aligncenter size-full wp-image-143" /></a><br />
I made the design in Excel 2007 and copied it over to Adobe Fireworks, keeping even the transparency, where I resized it and cut it into pieces. If you want to use my design you can <a href="/css/bargraph.css">grab the CSS</a> and from there find the URLs to the PNGs.</p>
<p>Do note that the colored part is not to the pixel precise the value you give it. That was impossible, to have the 3d effect in the graphics they obviously had to be wider than 1px, which means we give up some accuracy by not measuring in the width of the graphics. This is most noticeable when you compare 0 (empty) to 1 and 99 to 100 (full), but for non-scientific purposes it should do fine.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"></span><span class="left2">Download <a href="http://www.timbrugman.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=136&amp;download=bargraph.php">bargraph.php</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13611"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
</pre></td><td class="code" id="p136code11"><pre class="text" style="font-family:monospace;">&lt;?php
function bargraph ( $rating=0, $title='' )
{
	// maximum free width (excl. switch)
	$size['max'] = 535;
	// switch width (for exceptions)
	$size['switch'] = 13;
	// some maths
	$size['fill'] = $rating * ( $size['max']/100 );
	$size['fill'] = round( $size['fill'], 0 );
	$size['empty'] = $size['max'] - $size['fill'];
	//
	$result = '';
	$result .= '&lt;div class=&quot;bargraph&quot;&gt;'.&quot;\r\n&quot;;
	$result .= '	&lt;h4&gt;'.$title.'&lt;/h4&gt;'.&quot;\r\n&quot;;
	// decide if we have an exception
	switch ( $rating )
	{
		// rating of 0, we'll have to end empty
		case 0:
			$size['empty'] = $size['empty'] + $size['switch'];
			$result .= '	&lt;div class=&quot;empty_start&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;empty&quot; style=&quot;width:'.$size['empty'].'px;&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;empty_end&quot;&gt;&lt;/div&gt;'.&quot;\r\n&quot;;
			break;
		// rating of 100, we'll have to start filled
		case 100:
			$size['fill'] = $size['fill'] + $size['switch'];
			$result .= '	&lt;div class=&quot;filled_start&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;filled&quot; style=&quot;width:'.$size['fill'].'px;&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;filled_end&quot;&gt;&lt;/div&gt;'.&quot;\r\n&quot;;
			break;
		// rating somewhere in betweeen, start empty, switch and end filled
		default:
			$result .= '	&lt;div class=&quot;filled_start&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;filled&quot; style=&quot;width:'.$size['fill'].'px;&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;switch&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;empty&quot; style=&quot;width:'.$size['empty'].'px;&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;empty_end&quot;&gt;&lt;/div&gt;'.&quot;\r\n&quot;;
			break;
	}
	$result .= '&lt;/div&gt;'.&quot;\r\n&quot;;
	echo $result;
}
?&gt;</pre></td></tr></table></div>


<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"></span><span class="left2">Download <a href="http://www.timbrugman.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=136&amp;download=howtouse.php">howtouse.php</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13612"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p136code12"><pre class="text" style="font-family:monospace;">&lt;?php bargraph(75,'INSERTTITLE'); ?&gt;</pre></td></tr></table></div>

<p>If you like it please leave a comment below. I&#8217;ve just installed Disqus so your comments will be in good hands.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.timbrugman.com/archive/php-bar-graph-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The music manager of my dreams, have you seen it? (with answer)</title>
		<link>http://www.timbrugman.com/archive/the-music-manager-of-my-dreams-have-you-seen-it/</link>
		<comments>http://www.timbrugman.com/archive/the-music-manager-of-my-dreams-have-you-seen-it/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 22:41:43 +0000</pubDate>
		<dc:creator>Tim Brugman</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[discovery]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[manager]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.timbrugman.com/?p=88</guid>
		<description><![CDATA[I&#8217;m looking for a music manager that does not do a lot, mostly as a replacement for Windows Explorer. There&#8217;s a lot of software out there that claims to be your best friend when it comes to music. It also wants to do almost everything for you: ID3 tagging, ripping a CD, browsing through your&#8230;]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m looking for a music manager that does not do a lot, mostly as a replacement for Windows Explorer. There&#8217;s a lot of software out there that claims to be your best friend when it comes to music. It also wants to do almost everything for you: ID3 tagging, ripping a CD, browsing through your files, renaming them, moving them and oh yes, let&#8217;s not forget playing them! Well, that&#8217;s not how I roll.</p>
<p>Part perfectionism part habit I would describe my music tool-set as. I play everything with <a href="http://www.winamp.com/">Winamp</a> (there&#8217;s your habit) because I&#8217;ve used the program since 1997 and I know the plugins and hotkeys by heart. I repair ID3 data and rename files with <a href="http://www.softpointer.com/tr.htm">Tag&amp;Rename</a>, and a sometimes a little help from <a href="http://www.bulkrenameutility.co.uk/">Bulk Rename Utility</a>. All info coming from the near-flawless music database of <a href="http://www.discogs.com/">Discogs</a>.</p>
<p><span id="more-88"></span><div id="attachment_89" class="wp-caption aligncenter" style="width: 241px"><a href="http://www.timbrugman.com/wp-content/uploads/2010/10/music_directory_structure.png"><img class="size-medium wp-image-89" title="my music directory structure" src="http://www.timbrugman.com/wp-content/uploads/2010/10/music_directory_structure-231x300.png" alt="my music directory structure" width="231" height="300" /></a><p class="wp-caption-text">My music library directory structure, clean as a whistle.</p></div></p>
<p>The missing piece of the puzzle for me is a tool that keeps track of my music library and helps me re-discover what I already have. These are some features I am looking for:</p>
<ol>
<li>Drag and drop into a player of choice. (Winamp, VLC, Traktor, SAM Broadcaster etc.)</li>
<li>Double click or default playback opens in a player of choice.</li>
<li>Search, in both filenames and ID3 tags.</li>
<li>Browsing, by directory, artist, album, genre and year.</li>
<li>Tagging or bookmarking of tracks, albums and artists. To mark all &#8216;club bangers&#8217; for example.</li>
<li>No modifications to the music itself. All data must be saved outside of the library.</li>
<li>A small and simple GUI.</li>
<li>At last but not least, lightweight.</li>
</ol>
<p>Not that much to ask for I think, it&#8217;s not rocket science. Unfortunately I haven&#8217;t come across the right tool yet. Or maybe I have but I didn&#8217;t realize it because there were 100 other features overshadowing these basics.</p>
<p>So this is my call out to you. If you have a recommendation of what software I should check out please send me a <a href="http://twitter.com/Brugman">tweet</a>, <a href="irc://irc.quakenet.org/H2kTV">query</a>, email or text and if it turns out to be the one for me I&#8217;ll grant you everlasting e-fame here on my blog.</p>
<hr />
<p><em><strong>2011/01, added the result.</strong></em></p>
<p>If you&#8217;re reading this you&#8217;d probably like to know if I found something to suit my needs.<br />
I did, it&#8217;s the internet-fabled and Winamp-nemesis <a href="http://www.foobar2000.org/">foobar2000</a> after all.</p>
<p>Foobar is like a starter set of Lego. You don&#8217;t get what you want right out of the box, but it&#8217;s meant to be customized. With the help of hundreds of freely available plugins you can make it do exactly what you want and show none of the features you wont use. So if you are an avid computer user and don&#8217;t mind spending a few hours searching for the plugins you want/need, foobar is truly the music manager of anyone&#8217;s dreams. Contrary to what I expected, it has even become my main mp3 player and tagger.</p>
<ol>
<li>Drag and drop into other software.. &#8211; <strong>Yes!</strong></li>
<li>Double click.. &#8211; <strong>Couldn&#8217;t find it, but I decided I didn&#8217;t need it anymore.</strong></li>
<li>Search.. &#8211; <strong>Yes</strong></li>
<li>Browsing.. &#8211; <strong>Yes</strong></li>
<li>Tagging or bookmarking.. &#8211; <strong>Yes</strong></li>
<li>No modifications to the music itself.. &#8211; <strong>Yes</strong></li>
<li>A small and simple GUI. &#8211; <strong>Yes, as big or small as you want.</strong></li>
<li>Lightweight. &#8211; <strong>Yes, very.</strong></li>
</ol>
<p>And finally, here&#8217;s how I customized my foobar up til now.<br />
<div id="attachment_98" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.timbrugman.com/wp-content/uploads/2010/10/foobar.png"><img src="http://www.timbrugman.com/wp-content/uploads/2010/10/foobar-300x181.png" alt="my customized foobar2000" title="my customized foobar2000" width="300" height="181" class="size-medium wp-image-98" /></a><p class="wp-caption-text">My customized foobar2000, exceptionally functional.</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.timbrugman.com/archive/the-music-manager-of-my-dreams-have-you-seen-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>tmbr tries tumblr</title>
		<link>http://www.timbrugman.com/archive/tmbr-tries-tumblr/</link>
		<comments>http://www.timbrugman.com/archive/tmbr-tries-tumblr/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 18:48:17 +0000</pubDate>
		<dc:creator>Tim Brugman</dc:creator>
				<category><![CDATA[Experience]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[tumblr]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.timbrugman.com/?p=62</guid>
		<description><![CDATA[Today I want to share with you my rediscovery of Tumblr. Tumblr brands itself as a miniblogging platform. Where microblogging services like Twitter keep it really really really simple, Tumblr wants to do multiple things but still keep it small. Yesterday I heard of Tumblr again when watching some videos of Gary Vaynerchuck and I&#8230;]]></description>
			<content:encoded><![CDATA[<p>Today I want to share with you <a href="http://timbrugman.tumblr.com/">my rediscovery</a> of <a href="http://www.tumblr.com">Tumblr</a>. Tumblr brands itself as a miniblogging platform. Where microblogging services like Twitter keep it <em>really really really</em> simple, Tumblr wants to do multiple things but still keep it small.</p>
<p>Yesterday I heard of Tumblr again when watching some <a href="http://www.youtube.com/results?search_query=Gary%20Vaynerchuck">videos of Gary Vaynerchuck</a> and I decided to check it out once more. <em>Once more</em> because I remember that I had already seen it before when it launched &#8211; but I didn&#8217;t use it for some reason.</p>
<p><span id="more-62"></span>Those of you with a sharp eye will already have noticed that Tumblr is where the style of my current blog logo comes from. I actually didn&#8217;t make this logo when launching this blog, I still had it lying around from back when I first heard of the site. Speaking of my blog&#8217;s logo, it&#8217;s easy to see why I chose to mimic a Tumblr logo at the time, it&#8217;s almost as if it&#8217;s some form of subliminal advertising in itself with so many identical letters in the right order to spell my name.</p>
<p style="text-align: center;"><img class="aligncenter" style="margin-top: 10px; margin-bottom: 20px;" title="tumblr? tmbr!" src="http://img823.imageshack.us/img823/4066/tumblrtmbr.png" alt="tumblr? tmbr!" width="464" height="48" /></p>
<p>But anyway. I checked out what Tumblr offered and for some reason they sold me. But I still had a strong feeling in the back of my head that there was something wrong with the service. After all, I had seen the site before and I didn&#8217;t become a user at that time. So I did the only thing left to do: Try it again.</p>
<p>What started out as an enthusiastic journey into a &#8216;new&#8217; platform ended up as a disappointment, but with a lesson learned. Tumblr is a great platform for a certain type of users, but that user is not me.</p>
<p>This is what I found out when trying to switch from WordPress* to Tumblr:</p>
<ul>
<li>Tumblr can be very slow. WordPress is only slow if your host is.</li>
<li>Tumblr does not allow you to modify an existing theme. No Twitter widget in the sidebar for you unless you design everything from scratch.</li>
<li>Also, you have no FTP access to try to hack it in.</li>
<li>Also also, your domain (name.com and www.name.com) will be in use by Tumblr, so you can&#8217;t use your domain for passing around links to files anymore like your resume. (A workaround is possible with a subdomain.)</li>
<li>Tumblr boasts some pretty themes, but most of them are not free. If you&#8217;re only interested in free themes, there are a lot more to be found for WordPress. And paid ones too for that matter.</li>
<li>Tumblr wants to keep everything simple and small. That&#8217;s why their default design and dashboard is small. But do you? Do you want to post 1 photo or an entire album?</li>
<li>Tumblr looks better than WordPress in most area&#8217;s. But they don&#8217;t follow through all the way: The YouTube embeds don&#8217;t do widescreen when needed, the audio player doesn&#8217;t stretch all the way, the photo viewer doesn&#8217;t run when you don&#8217;t click on the corner of the image, and many other inconsistent details. I feel that if you are making something that relies partially on it&#8217;s aesthetics that you cannot stop at 95% finished.</li>
<li>Tumblr is it&#8217;s own social network and walled garden. No comments from outsiders is a major drawback.</li>
</ul>
<p>When using fresh new tools or services like Tumblr it&#8217;s important to remember what you really value. In my case it took me less than 24 hours to realize that I absolutely required a Twitter app in the sidebar, a lightning fast webhost, comments for everyone, and complete control of the theme and inner code.</p>
<p>But don&#8217;t take my word for it, do your own <a href="http://www.google.com/#hl=en&amp;q=wordpress+vs+tumblr">research</a> and decide what suits you best.</p>
<p><span style="color: #333333;"><em>* By WordPress I am referring to the open source blogging software you install on your own webhost, not the hosted service of wordpress.com.</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.timbrugman.com/archive/tmbr-tries-tumblr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mIRC Auto Reply remote script</title>
		<link>http://www.timbrugman.com/archive/mirc-auto-reply/</link>
		<comments>http://www.timbrugman.com/archive/mirc-auto-reply/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 18:40:49 +0000</pubDate>
		<dc:creator>Tim Brugman</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[remotescript]]></category>
		<category><![CDATA[autoreply]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[mirc]]></category>

		<guid isPermaLink="false">http://www.timbrugman.com/?p=56</guid>
		<description><![CDATA[Over at H2kTV we help people who have never used IRC (Internet Relay Chat) get passed the barrier of installing an IRC client by embedding QuakeNet&#8216;s webchat application. In the flood of IRC beginners this creates there are always people sending the moderators private messages, but then they don&#8217;t wait for an answer, because they&#8230;]]></description>
			<content:encoded><![CDATA[<p>Over at <a href="http://www.h2ktv.com/">H2kTV</a> we help people who have never used IRC (Internet Relay Chat) get passed the barrier of installing an IRC client by embedding <a href="http://www.quakenet.org/">QuakeNet</a>&#8216;s <a href="http://webchat.quakenet.org/">webchat</a> application. In the flood of IRC beginners this creates there are always people sending the moderators private messages, but then they don&#8217;t wait for an answer, because they are in a browser after all, and browsers are always on the move.</p>
<p>So I asked myself, why don&#8217;t I have an autoreply script yet? That would explain to them that we are not watching chat 24/7 and they will have to wait a bit if they want an answer. Well that&#8217;s almost as easily done as said.</p>
<p>1. Open your remote scripts editor in mIRC (ALT+R).<br />
2. Start a new file (File > New).<br />
3. Copy-paste the code below in the window and customize it to your liking.<br />
4. Save the file with a name you can remember and &#8216;Save &#038; Exit&#8217; the remote scripts editor.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"></span><span class="left2">Download <a href="http://www.timbrugman.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=56&amp;download=autoreply.mrc">autoreply.mrc</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p5614"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p56code14"><pre class="text" style="font-family:monospace;">On *:Open:?:*: {
  msg $nick [AUTOREPLY] Thank you for your message $nick I will read it asap and respond if needed.
  msg $nick [AUTOREPLY] If you close IRC I cannot respond, so please stay online or email me your question instead.
}</pre></td></tr></table></div>

<p>Credits go to <a href="http://www.hawkee.com/snippet/6484/">tv3636</a> and <a href="http://www.hawkee.com/profile/57314/">FordLawnmower</a> for feeding this knowledge to Google.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.timbrugman.com/archive/mirc-auto-reply/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>An update to ‘SuperPopup’ by Eric Webster</title>
		<link>http://www.timbrugman.com/archive/superpopup-update/</link>
		<comments>http://www.timbrugman.com/archive/superpopup-update/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 15:12:31 +0000</pubDate>
		<dc:creator>Tim Brugman</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[popup]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.timbrugman.com/?p=42</guid>
		<description><![CDATA[Even though I hate Javascript I managed to fabricate an updated version of Eric Webster&#8216;s Super Popup. Probably because of it&#8217;s age, published in 2007, the sizing and positioning functions don&#8217;t work anymore and those are pretty essential to a popup script. I also added a default positioning feature that centers the popup when no&#8230;]]></description>
			<content:encoded><![CDATA[<p>Even though I hate Javascript I managed to fabricate an updated version of <a href="http://www.ericwebster.net/">Eric Webster</a>&#8216;s <a href="http://www.ericwebster.net/2007/03/superpopup_the_last_popup_scri.php">Super Popup</a>. Probably because of it&#8217;s age, published in 2007, the sizing and positioning functions don&#8217;t work anymore and those are pretty essential to a popup script. I also added a default positioning feature that centers the popup when no vars are given. Hope you like it.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"></span><span class="left2">Download <a href="http://www.timbrugman.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=42&amp;download=index.php">index.php</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4217"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p42code17"><pre class="html" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot; src=&quot;superPopup.js&quot;&gt;&lt;/script&gt;
&nbsp;
&lt;a href=&quot;popup.php&quot; onclick=&quot;superPopup({ url:this.href, width: 640, height: 386, left: 25, top: 150 }); return false;&quot;&gt;popup in the top left corner&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;popup.php&quot; onclick=&quot;superPopup({ url:this.href, width: 960, height: 540 }); return false;&quot;&gt;popup in the center&lt;/a&gt;</pre></td></tr></table></div>


<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"></span><span class="left2">Download <a href="http://www.timbrugman.com/wp-content/plugins/wp-codebox/wp-codebox.php?p=42&amp;download=superPopup.js">superPopup.js</a></span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p4218"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
</pre></td><td class="code" id="p42code18"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/*
Super Popup v1.1 by Tim Brugman
www.timbrugman.com
March 21st 2010
&nbsp;
Changelog:
 * Positioning (top &amp; left) was not working. Adjusted the build statement to make it work (again).
 * Made the default position (when no values are entered) be centered.
&nbsp;
Super Popup v1 by Eric Webster
www.ericwebster.net
March 26th 2007
&nbsp;
Super Popup: When using this function on multiple links across a site its best to define a 'type' within your initiate function, if you are defining a popup on a single page you can pass in the options you want as arguments.
*/</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> f_clientWidth<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">return</span> f_filterResults <span style="color: #009900;">&#40;</span>
		window.<span style="color: #660066;">innerWidth</span> <span style="color: #339933;">?</span> window.<span style="color: #660066;">innerWidth</span> <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>
		document.<span style="color: #660066;">documentElement</span> <span style="color: #339933;">?</span> document.<span style="color: #660066;">documentElement</span>.<span style="color: #660066;">clientWidth</span> <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>
		document.<span style="color: #660066;">body</span> <span style="color: #339933;">?</span> document.<span style="color: #660066;">body</span>.<span style="color: #660066;">clientWidth</span> <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> f_clientHeight<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">return</span> f_filterResults <span style="color: #009900;">&#40;</span>
		window.<span style="color: #660066;">innerHeight</span> <span style="color: #339933;">?</span> window.<span style="color: #660066;">innerHeight</span> <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>
		document.<span style="color: #660066;">documentElement</span> <span style="color: #339933;">?</span> document.<span style="color: #660066;">documentElement</span>.<span style="color: #660066;">clientHeight</span> <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>
		document.<span style="color: #660066;">body</span> <span style="color: #339933;">?</span> document.<span style="color: #660066;">body</span>.<span style="color: #660066;">clientHeight</span> <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> f_filterResults<span style="color: #009900;">&#40;</span>n_win<span style="color: #339933;">,</span> n_docel<span style="color: #339933;">,</span> n_body<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> n_result <span style="color: #339933;">=</span> n_win <span style="color: #339933;">?</span> n_win <span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>n_docel <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>n_result <span style="color: #339933;">||</span> <span style="color: #009900;">&#40;</span>n_result <span style="color: #339933;">&gt;</span> n_docel<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
		n_result <span style="color: #339933;">=</span> n_docel<span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">return</span> n_body <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>n_result <span style="color: #339933;">||</span> <span style="color: #009900;">&#40;</span>n_result <span style="color: #339933;">&gt;</span> n_body<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> n_body <span style="color: #339933;">:</span> n_result<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> superPopup<span style="color: #009900;">&#40;</span>args<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #006600; font-style: italic;">// URL is the only required field. we cannot continue without it.</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">url</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>	<span style="color: #003366; font-weight: bold;">var</span> url <span style="color: #339933;">=</span> args.<span style="color: #660066;">url</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'url is missing'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">type</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #003366; font-weight: bold;">var</span> type <span style="color: #339933;">=</span> args.<span style="color: #660066;">type</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// option = (if it was passed in as an argument)? use that value : [IF NOT] use this default value;</span>
	<span style="color: #003366; font-weight: bold;">var</span> directories <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">directories</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">directories</span> <span style="color: #339933;">:</span> directories <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;no&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> location <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">location</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">location</span> <span style="color: #339933;">:</span> location <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;no&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> menubar <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">menubar</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">menubar</span> <span style="color: #339933;">:</span> menubar <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;no&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> resizable <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">resizable</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">resizable</span> <span style="color: #339933;">:</span> resizable <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;yes&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> scrollbars <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">scrollbars</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">scrollbars</span> <span style="color: #339933;">:</span> scrollbars <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;no&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> <span style="color: #000066;">status</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #000066;">status</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #000066;">status</span> <span style="color: #339933;">:</span> <span style="color: #000066;">status</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;no&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> toolbar <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">toolbar</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">toolbar</span> <span style="color: #339933;">:</span> toolbar <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;no&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> width <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">width</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">width</span> <span style="color: #339933;">:</span> width <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;50&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> height <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">height</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">height</span> <span style="color: #339933;">:</span> height <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;50&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> left <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">left</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">left</span> <span style="color: #339933;">:</span> <span style="color: #009900;">&#40;</span>screen.<span style="color: #660066;">width</span><span style="color: #339933;">/</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span>width<span style="color: #339933;">/</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> top <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">top</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">top</span> <span style="color: #339933;">:</span> <span style="color: #009900;">&#40;</span>screen.<span style="color: #660066;">height</span><span style="color: #339933;">/</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span>height<span style="color: #339933;">/</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> winName <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>args.<span style="color: #660066;">winName</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> args.<span style="color: #660066;">winName</span> <span style="color: #339933;">:</span> winName <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;popup&quot;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #009966; font-style: italic;">/* DEFINE POPUP TYPES */</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>type <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;_blank&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>	
		<span style="color: #006600; font-style: italic;">//created to imitate the target='_blank' behavior in html</span>
		<span style="color: #003366; font-weight: bold;">var</span> randomNumber <span style="color: #339933;">=</span> Math.<span style="color: #660066;">floor</span><span style="color: #009900;">&#40;</span>Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span><span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003366; font-weight: bold;">var</span> winName<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;blank&quot;</span> <span style="color: #339933;">+</span> randomNumber<span style="color: #339933;">;</span> width<span style="color: #339933;">=</span>f_clientWidth<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> height<span style="color: #339933;">=</span>f_clientWidth<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
		scrollbars<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;yes&quot;</span><span style="color: #339933;">;</span> menubar<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;yes&quot;</span><span style="color: #339933;">;</span> toolbar<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;yes&quot;</span><span style="color: #339933;">;</span> directories<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;yes&quot;</span><span style="color: #339933;">;</span> 
		location<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;yes&quot;</span><span style="color: #339933;">;</span> top<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;0&quot;</span><span style="color: #339933;">;</span> left<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;0&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> 
&nbsp;
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>type <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;copyright&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		height <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;500&quot;</span><span style="color: #339933;">;</span> width <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;70&quot;</span><span style="color: #339933;">;</span> scrollbars <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;yes&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #009966; font-style: italic;">/* build our complete window options statement */</span>
	<span style="color: #003366; font-weight: bold;">var</span> newWindow <span style="color: #339933;">=</span> window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span> url<span style="color: #339933;">,</span> winName<span style="color: #339933;">,</span> <span style="color: #3366CC;">'width='</span><span style="color: #339933;">+</span>width<span style="color: #339933;">+</span><span style="color: #3366CC;">', height='</span><span style="color: #339933;">+</span>height<span style="color: #339933;">+</span><span style="color: #3366CC;">', directories='</span><span style="color: #339933;">+</span>directories<span style="color: #339933;">+</span><span style="color: #3366CC;">', location='</span><span style="color: #339933;">+</span>location<span style="color: #339933;">+</span><span style="color: #3366CC;">', menubar='</span><span style="color: #339933;">+</span>menubar<span style="color: #339933;">+</span><span style="color: #3366CC;">', resizable='</span><span style="color: #339933;">+</span>resizable<span style="color: #339933;">+</span><span style="color: #3366CC;">', scrollbars='</span><span style="color: #339933;">+</span>scrollbars<span style="color: #339933;">+</span><span style="color: #3366CC;">', toolbar='</span><span style="color: #339933;">+</span>toolbar<span style="color: #339933;">+</span><span style="color: #3366CC;">', status='</span><span style="color: #339933;">+</span><span style="color: #000066;">status</span><span style="color: #339933;">+</span><span style="color: #3366CC;">', toolbar='</span><span style="color: #339933;">+</span>toolbar<span style="color: #339933;">+</span><span style="color: #3366CC;">', top='</span><span style="color: #339933;">+</span>top<span style="color: #339933;">+</span><span style="color: #3366CC;">', left='</span><span style="color: #339933;">+</span>left <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>newWindow <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">//alert('A popup containing important information was blocked by your browser. Please enable popups for this site in order to view this information.');</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span> 
		<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #000066;">focus</span> <span style="color: #339933;">&amp;&amp;</span> newWindow<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> newWindow.<span style="color: #000066;">focus</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>For a listing of all the options visit Eric&#8217;s website or just read the Javascript.</p>
<p>ps. Don&#8217;t rely on some features like disabling resizing or disabling the status bar. These do not work anymore in today&#8217;s browsers. Tested in Firefox 3.6, Chrome 4.1 and Opera 10.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.timbrugman.com/archive/superpopup-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world</title>
		<link>http://www.timbrugman.com/archive/hello-world/</link>
		<comments>http://www.timbrugman.com/archive/hello-world/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 17:12:40 +0000</pubDate>
		<dc:creator>Tim Brugman</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.timbrugman.com/?p=46</guid>
		<description><![CDATA[You&#8217;ve reached your destination. What are you here to find? Well, gee. Not much. But in today&#8217;s society it&#8217;s a good idea to register your name as a domain, so that&#8217;s why you are reading this and not a 404 error. I&#8217;m not a big blogger, I use Twitter for my daily 2 cents that,&#8230;]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve reached your destination. What are you here to find? Well, gee. Not much. But in today&#8217;s society it&#8217;s a good idea to register your name as a domain, so that&#8217;s why you are reading this and not a 404 error.</p>
<p>I&#8217;m not a big blogger, I use <a href="http://www.twitter.com/Brugman">Twitter</a> for my daily 2 cents that, I feel, deserve some attention. Since the beauty of Twitter, the 140 character limit, can also be it&#8217;s downside I will use this blog mainly to publicize the things that don&#8217;t fit in a tweet.</p>
<p>kind regards,</p>
<p>Tim</p>
]]></content:encoded>
			<wfw:commentRss>http://www.timbrugman.com/archive/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

