<?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>brmecham.com &#187; How To</title>
	<atom:link href="http://www.brmecham.com/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brmecham.com</link>
	<description>Brian Mecham, web designer, seo expert, statesman, entrepreneur, disc duplication, artist, computer geek, business owner, etc.</description>
	<lastBuildDate>Wed, 12 May 2010 18:22:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Create a Simple Javascript popup window</title>
		<link>http://www.brmecham.com/how-to-create-a-simple-javascript-popup-window/</link>
		<comments>http://www.brmecham.com/how-to-create-a-simple-javascript-popup-window/#comments</comments>
		<pubDate>Wed, 12 May 2010 18:01:42 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[hyperlink]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[popup]]></category>

		<guid isPermaLink="false">http://www.brmecham.com/?p=120</guid>
		<description><![CDATA[
Sometimes on your website you may want to open some content in a popup window rather than a new page, which allows the visitor to remain on the current page and view the new content.
Click to see an example of how this works.
Here&#8217;s how you do this&#8230;
Add the following javascript code to the header of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.brmecham.com/wp-content/uploads/2010/05/javascript-popup.png" alt="javascript popup" title="javascript popup" width="428" height="176" class="aligncenter size-full wp-image-125" /><br />
Sometimes on your website you may want to open some content in a popup window rather than a new page, which allows the visitor to remain on the current page and view the new content.</p>
<p><a href="http://www.brmecham.com/fifteen-principles.php" onClick="NewWindow(this.href,'FifteenPrinciples','600','600','yes','center');return false" onFocus="this.blur()">Click to see an example of how this works</a>.</p>
<p><strong>Here&#8217;s how you do this&#8230;</strong></p>
<p>Add the following javascript code to the header of your website (somewhere in between the &lt;head&gt; &lt;/head&gt; tags)&#8230;</p>
<pre>
&lt;script language="javascript" type="text/javascript"&gt;
&lt;!-- POPUP WINDOW SCRIPT --&gt;
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.availWidth)?Math.floor(Math.random()*(screen.availWidth-w)):50;TopPosition=(screen.availHeight)?Math.floor(Math.random()*((screen.availHeight-h)-75)):50;}
if(pos=="center"){LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50;}
if(pos=="default"){LeftPosition=50;TopPosition=50}
else if((pos!="center" &#038;&#038; pos!="random" &#038;&#038; pos!="default") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);
if(win.focus){win.focus();}}
function CloseNewWin(){if(win!=null &#038;&#038; win.open)win.close()}
window.onfocus=CloseNewWin;
&lt;!-- POPUP WINDOW SCRIPT --&gt;
&lt;/script&gt;
</pre>
<p>Now place the following code on your website, like a normal hyperlink but with some extra code. Edit this line according to the link you are wanting to open&#8230;</p>
<pre>
&lt;a href="http://www.yoursite.com/awebpage.php" onClick="NewWindow(this.href,'TitleGoesHere','550','400','yes','center');return false" onFocus="this.blur()"&gt;OpenThisPage&lt;/a&gt;
</pre>
<p>That&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/how-to-create-a-simple-javascript-popup-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Windows XP from USB Flash Drive</title>
		<link>http://www.brmecham.com/install-windows-xp-from-usb-flash-drive/</link>
		<comments>http://www.brmecham.com/install-windows-xp-from-usb-flash-drive/#comments</comments>
		<pubDate>Tue, 04 May 2010 09:52:58 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.brmecham.com/?p=112</guid>
		<description><![CDATA[I decided to opt for installing Windows XP via a USB Flash drive. I didn't have an external DVD drive available. After following various complicated tutorials (which never did fully work for me) I found a very simple way to take the resulting Windows install files created by nLite (or copied from your Windows install disc) and create a bootable USB Flash drive]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-115" title="install windows xp from usb flash drive" src="http://www.brmecham.com/wp-content/uploads/2010/05/windows-on-usb-key.jpg" alt="install windows xp from usb flash drive" width="425" height="289" /></p>
<p>After spending a lot of time trying to get this process (<strong>install Windows  XP from USB Flash drive</strong>) working I found an easier, quicker,  solution (compared to most online tutorials). It&#8217;s called <a title="Windows XP install from USB Flash Drive" href="http://wintoflash.com" target="_blank">WinToFlash</a>.</p>
<p><a title="Windows XP install from USB Flash Drive" href="http://www.brmecham.com/install-windows-xp-from-usb-flash-drive/" target="_self">This tutorial shows you how to install Windows XP from a USB Flash drive</a>. (Seriously, easy!) It would probably also work for Windows 2000, Windows Vista, Windows 7, etc.</p>
<p>Optionally  you can follow these nLite tutorials to remove unwanted Windows  files before installing Windows:</p>
<ul>
<li><a href="http://www.i64x.com/eeexp.php" target="_blank">http://www.i64x.com/eeexp.php</a></li>
<li><a href="http://wiki.eeeuser.com/howto:nlitexp" target="_blank">http://wiki.eeeuser.com/howto:nlitexp</a></li>
</ul>
<p>I  just finished doing this on my Asus 1001p netbook, after removing  Windows 7 Starter (which consumed over 500MB of the 1Gig of memory at bootup, no programs running!)</p>
<p>I  decided to opt for installing Windows XP via a USB Flash drive. I  didn&#8217;t have an external DVD drive available. After following various  complicated tutorials (which never did fully work for me) I found a very  simple way to take the resulting Windows install files created by nLite  (or copied from your Windows install disc) and create a bootable USB Flash  drive: WinToFlash ( <a href="http://wintoflash.com/" target="_blank">http://wintoflash.com</a> ).</p>
<p><strong>With WinToFlash all you need to have is a Folder on  your PC containing all the Windows install files. Then you just open  WinToFlash, tell it where your Windows install files directory is, then  tell it what letter your Flash drive is (i.e. J: ). It does the rest for  you. SIMPLE <img longdesc="11" src="http://www.geekpolice.net/users/2315/89/79/54/smiles/833660.gif" alt="" /> Once it&#8217;s done boot from the flash drive on your  netbook (or PC you want to install this copy of Windows on).</strong></p>
<p>When  I first tried this I was getting BSOD (blue screen of death) errors  when Windows setup was starting. (The problem was not with WinToFlash)  After doing some research online I decided it might be due to some  corrupt files (the XP disc I copied files from was too scratched up)&#8230;  so I located another disc and went through the nLite process again (was  easy because it saved my previous settings)&#8230; then did the WinToFlash  process again. This time <strong>Windows XP installed without a problem  from my USB Flash drive!</strong> (much easier than the tutorials that  wanted me to accomplish this with 3+ programs and never worked)</p>
<p>The  best thing about this is:</p>
<ul>
<li>My Windows install was only 270MB  (with all Asus 1001p driver integrated and non-essential windows XP  stuff removed, thanks to the nLite tutorial)</li>
<li>Bootup to XP is  fast (less than 30 seconds)</li>
<li>Memory usage is at less than 200  MB even after installing a bunch of programs (disabled  non-essential startup processes).</li>
<li>No CD/DVD drive necessary for  installation.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/install-windows-xp-from-usb-flash-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Find the Absolute Path on Your Web Server</title>
		<link>http://www.brmecham.com/how-to-find-the-absolute-path-on-your-web-server/</link>
		<comments>http://www.brmecham.com/how-to-find-the-absolute-path-on-your-web-server/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 23:06:52 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[absolute path]]></category>
		<category><![CDATA[directory path]]></category>
		<category><![CDATA[pathinfo]]></category>
		<category><![CDATA[server path]]></category>

		<guid isPermaLink="false">http://www.brmecham.com/?p=61</guid>
		<description><![CDATA[From time to time, especially when moving a website from one server to another, I have to find out what the "absolute path" of my website is.  Absolute path pertains to the directory on the server that the website is installed on...]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-large wp-image-82" title="find your web server absolute path" src="http://www.brmecham.com/wp-content/uploads/2009/07/web-server-e1272963787823-428x159.jpg" alt="find your web server absolute path" width="428" height="159" />From time to time, especially when moving a website from one server to another, I have to find out what the &#8220;absolute path&#8221; of my website is.  Absolute path pertains to the directory on the server that the website is installed on.</p>
<p>Sometimes when moving a Joomla, WordPress or other website to a different directory or different server you&#8217;ll need to change the absolute path for the site to work. In joomla this requires editing the configuration.php file, in WordPress this sometimes requires editing the database or ensuring that you update the settings before moving your files/database over to the new directory/server.</p>
<h2>How do I find out what the absolute path is?</h2>
<p>The easiest way is to create a file named pathinfo.php and paste only the following code into that file:</p>
<pre>&lt;?php
   $path = getcwd();
   echo "Your Absoluthe Path is: ";
   echo $path;
?&gt;
</pre>
<p>Now, upload pathinfo.php into the root directory of your website and view it in your internet browser ( example: http://www.mysite.com/pathinfo.php )</p>
<p>This will display your absolute path.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/how-to-find-the-absolute-path-on-your-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove blank lines in dreamweaver</title>
		<link>http://www.brmecham.com/how-to-remove-blank-lines-in-dreamweaver/</link>
		<comments>http://www.brmecham.com/how-to-remove-blank-lines-in-dreamweaver/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 07:25:45 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[blank lines]]></category>
		<category><![CDATA[dreamweaver]]></category>

		<guid isPermaLink="false">http://www.brmecham.com/?p=59</guid>
		<description><![CDATA[As I am creating websites I sometimes come across situations that require a more than basic knowledge and a bit of research to figure out.
Here&#8217;s a helpful hint regarding removing blank lines from an html file using dreamweaver, should you ever want to do that without having to manually delete the lines&#8230;
Click CTRL + F
Select [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-large wp-image-87" title="How to remove blank lines in Adobe Dreamweaver" src="http://www.brmecham.com/wp-content/uploads/2009/07/Dreamweaver-CS4-427x204.png" alt="How to remove blank lines in Adobe Dreamweaver" width="427" height="204" />As I am creating websites I sometimes come across situations that require a more than basic knowledge and a bit of research to figure out.</p>
<p>Here&#8217;s a helpful hint regarding removing blank lines from an html file using dreamweaver, should you ever want to do that without having to manually delete the lines&#8230;</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">Click CTRL + F</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">Select &#8220;Current document&#8221; in &#8220;Find in&#8221; (You can also select the folder if you have multiple files)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">Search in &#8220;Source code&#8221;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">Tick &#8220;Use regular expression&#8221;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">Type &#8220;[\r\n]{2,}&#8221; (without quotes) in &#8220;Find&#8221;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">Type &#8220;\n&#8221; (without quotes) in &#8220;Replace&#8221;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">Press &#8220;Replace All&#8221;</div>
<ol>
<li>Click CTRL + F</li>
<li>Select &#8220;Current document&#8221; in &#8220;Find in&#8221; (You can also select the folder if you have multiple files)</li>
<li>Search in &#8220;Source code&#8221;</li>
<li>Tick &#8220;Use regular expression&#8221;</li>
<li>Type &#8220;[\r\n]{2,}&#8221; (without quotes) in &#8220;Find&#8221;</li>
<li>Type &#8220;\n&#8221; (without quotes) in &#8220;Replace&#8221;</li>
<li>Press &#8220;Replace All&#8221;</li>
</ol>
<p>That&#8217;s it. Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/how-to-remove-blank-lines-in-dreamweaver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Finally Figured Out How to Accomplish More in a Day!</title>
		<link>http://www.brmecham.com/i-finally-figured-out-how-to-accomplish-more-in-a-day/</link>
		<comments>http://www.brmecham.com/i-finally-figured-out-how-to-accomplish-more-in-a-day/#comments</comments>
		<pubDate>Fri, 22 May 2009 04:28:55 +0000</pubDate>
		<dc:creator>Brian Mecham</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[24 hours]]></category>
		<category><![CDATA[day]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://www.brmecham.com/?p=56</guid>
		<description><![CDATA[The key to doing more during a 24-hour day is DOING LESS! Here are some tips that have been working for me in my quest to have a more productive day...]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-large wp-image-89" title="einstein" src="http://www.brmecham.com/wp-content/uploads/2009/05/einstein-428x321.jpg" alt="" width="428" height="321" />The key to doing more during a 24-hour day is DOING LESS!</p>
<h2>How?</h2>
<p><strong>Here are some tips that have been working for me in my quest to have a more productive day</strong>:</p>
<ul>
<li>Stop trying to multi-task.</li>
<li>Organize and clean your workspace; get rid of the clutter.</li>
<li>Create a list of what you want to accomplish.</li>
<li>Focus on one thing at a time and get it done before starting something else.</li>
<li>Check your e-mail less often (schedule specific times each day to read and respond to email).</li>
<li>Reduce the amount of programs and files that are open on your computer.</li>
<li>If you have side hobbies like I do; set apart a time to work on those, but not at the same time you&#8217;re trying to get some work done.</li>
<li>Take regular periodic brakes and get away from your desk, go outside; Perhaps two 15-minute breaks and a lunch break during your workday.</li>
</ul>
<p>I realized that if I want to actually get a lot of work done I have to be organized and focused. I&#8217;ve accomplished much more this week than past weeks as a result of putting these ideas into practice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brmecham.com/i-finally-figured-out-how-to-accomplish-more-in-a-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
