<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4839842334484670151</id><updated>2012-02-27T17:56:03.771+10:00</updated><category term='ActionScript'/><category term='Windows XP'/><category term='Flash'/><category term='Black Ops'/><category term='jQuery'/><category term='Call of Duty'/><category term='Javascript'/><category term='Linux'/><category term='Cheats'/><category term='Apache2'/><title type='text'>Token Posts</title><subtitle type='html'>Short and to the point</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tokenposts.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tokenposts.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tokes</name><uri>http://www.blogger.com/profile/13710966416808493263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4839842334484670151.post-1000734430174375992</id><published>2011-05-25T15:42:00.001+10:00</published><updated>2011-05-25T15:44:55.359+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><title type='text'>JavaScript - AJAX / SJAX - Submit Form Data to PHP Script</title><content type='html'>&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;Below is a function I use to submit form data (&lt;a href="http://en.wikipedia.org/wiki/POST_(HTTP)"&gt;POST&lt;/a&gt;) to a &lt;a href="http://en.wikipedia.org/wiki/PHP"&gt;PHP&lt;/a&gt; script using &lt;b&gt;A&lt;/b&gt;synchronous / &lt;b&gt;S&lt;/b&gt;ynchronous &lt;b&gt;J&lt;/b&gt;avaScript &lt;b&gt;A&lt;/b&gt;nd &lt;b&gt;X&lt;/b&gt;ML.&lt;/div&gt;&lt;br /&gt;&lt;div style="background-color: #f8f8fe; border-bottom-color: rgb(102, 102, 102); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(102, 102, 102); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(102, 102, 102); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(102, 102, 102); border-top-style: dashed; border-top-width: 1px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;&lt;div style="color: black; font-family: 'Courier New', Courier, monospace; font-size: 14px;"&gt;&lt;b style="color: black;"&gt;function&lt;/b&gt; runSQL&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;div, script, data&lt;span style="color: darkblue;"&gt;&lt;b&gt;) {&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;b&gt;var&lt;/b&gt;&lt;/span&gt; ajax &lt;span style="color: blue;"&gt;=&lt;/span&gt; &lt;span class="Apple-style-span" style="color: #a64d79;"&gt;window&lt;/span&gt;.ActiveXObject &lt;span style="color: blue;"&gt;?&lt;/span&gt; &lt;span style="color: darkblue;"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/span&gt; ActiveXObject&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;"Microsoft.XMLHTTP"&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;:&lt;/span&gt; &lt;span style="color: darkblue;"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/span&gt; XMLHttpRequest;&lt;br /&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;if (&lt;/b&gt;&lt;/span&gt;div &lt;span style="color: blue;"&gt;!= ""&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;) {&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ajax.onreadystatechange &lt;span style="color: blue;"&gt;=&lt;/span&gt; &lt;b style="color: black;"&gt;function&lt;/b&gt; &lt;span style="color: darkblue;"&gt;&lt;b&gt;() {&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;if (&lt;/b&gt;&lt;/span&gt;ajax.readyState &lt;span style="color: blue;"&gt;==&lt;/span&gt; &lt;span style="color: red;"&gt;4&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;) {&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #a64d79;"&gt;document&lt;/span&gt;.getElementById(div).innerHTML = ajax.responseText&lt;span style="color: darkblue;"&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;; &lt;span class="Apple-style-span" style="color: #999999;"&gt;//AJAX&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;ajax.&lt;span class="Apple-style-span" style="color: #a64d79;"&gt;open&lt;/span&gt;&lt;span style="color: darkblue;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;"POST"&lt;/span&gt;, script, div &lt;span style="color: blue;"&gt;!= '' ?&lt;/span&gt; &lt;span style="color: darkblue;"&gt;&lt;b&gt;true&lt;/b&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;:&lt;/span&gt; &lt;span style="color: darkblue;"&gt;&lt;b&gt;false)&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;if (&lt;/b&gt;&lt;/span&gt;data&lt;b&gt;&lt;span style="color: darkblue;"&gt;)&lt;/span&gt; {&lt;/b&gt;ajax.setRequestHeader&lt;b&gt;(&lt;/b&gt;&lt;span style="color: blue;"&gt;"Content-Type"&lt;/span&gt;, &lt;span style="color: blue;"&gt;"application/x-www-form-urlencoded"&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;)}&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;ajax.send&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;data &lt;span style="color: blue;"&gt;?&lt;/span&gt; data &lt;span style="color: blue;"&gt;:&lt;/span&gt; &lt;span style="color: darkblue;"&gt;&lt;b&gt;null)&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;if (&lt;/b&gt;&lt;/span&gt;div &lt;span style="color: blue;"&gt;== ""&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;) {&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;return&lt;/span&gt;&lt;/b&gt; ajax.responseText; &lt;span class="Apple-style-span" style="color: #999999;"&gt;//SJAX&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;}&lt;br /&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;&lt;b&gt;Example of AJAX call:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #f8f8fe; border-bottom-color: rgb(102, 102, 102); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(102, 102, 102); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(102, 102, 102); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(102, 102, 102); border-top-style: dashed; border-top-width: 1px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;&lt;div style="color: black; font-family: 'Courier New', Courier, monospace; font-size: 14px;"&gt;runSQL&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;'DIV_Content'&lt;/span&gt;, &lt;span style="color: blue;"&gt;'sql.php'&lt;/span&gt;, &lt;span style="color: blue;"&gt;'action=getContents&amp;amp;page=Home&amp;amp;custom=1'&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Example of SJAX call:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #f8f8fe; border-bottom-color: rgb(102, 102, 102); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(102, 102, 102); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(102, 102, 102); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(102, 102, 102); border-top-style: dashed; border-top-width: 1px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;&lt;div style="color: black; font-family: 'Courier New', Courier, monospace; font-size: 14px;"&gt;result &lt;span style="color: blue;"&gt;=&lt;/span&gt; runSQL&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;''&lt;/span&gt;, &lt;span style="color: blue;"&gt;'sql.php'&lt;/span&gt;, &lt;span style="color: blue;"&gt;'action=getContents&amp;amp;page=Home&amp;amp;custom=1'&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #999999;"&gt;//Do something with result&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;Note: Using &lt;a href="http://en.wikipedia.org/wiki/Ajax_(programming)"&gt;AJAX&lt;/a&gt; allows the &lt;a href="http://en.wikipedia.org/wiki/JavaScript"&gt;JavaScript&lt;/a&gt; to continue executing however using SJAX forces &lt;a href="http://en.wikipedia.org/wiki/JavaScript"&gt;JavaScript&lt;/a&gt; to wait for the result before continuing. This is useful if you need to do something with the result such as use it in a calculation elsewhere in &lt;a href="http://en.wikipedia.org/wiki/JavaScript"&gt;JavaScript&lt;/a&gt; whereas the &lt;a href="http://en.wikipedia.org/wiki/Ajax_(programming)"&gt;AJAX&lt;/a&gt; result can just be returned straight to the &lt;a href="http://en.wikipedia.org/wiki/HTML"&gt;HTML&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Span_and_div"&gt;div&lt;/a&gt; element as is, once it is ready.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4839842334484670151-1000734430174375992?l=tokenposts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tokenposts.blogspot.com/feeds/1000734430174375992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tokenposts.blogspot.com/2011/05/javascript-ajax-sjax-submit-form-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/1000734430174375992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/1000734430174375992'/><link rel='alternate' type='text/html' href='http://tokenposts.blogspot.com/2011/05/javascript-ajax-sjax-submit-form-data.html' title='JavaScript - AJAX / SJAX - Submit Form Data to PHP Script'/><author><name>Tokes</name><uri>http://www.blogger.com/profile/13710966416808493263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4839842334484670151.post-1124627843376428735</id><published>2011-05-19T16:48:00.000+10:00</published><updated>2011-05-19T16:48:54.718+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery - Tables - Show and Hide Columns</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;You can hide and show columns in a table by&amp;nbsp;specifying&amp;nbsp;a column index where 1 is the first column in the table.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="background-color: #f8f8fe; border-bottom-color: rgb(102, 102, 102); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(102, 102, 102); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(102, 102, 102); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(102, 102, 102); border-top-style: dashed; border-top-width: 1px; font-family: 'Courier New', Courier, monospace; font-size: 14px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;&lt;div style="color: black;"&gt;&lt;b&gt;function&lt;/b&gt; toggleColumn&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;column&lt;span style="color: darkblue;"&gt;&lt;b&gt;) {&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;$&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;'#iTable tr *:nth-child('+&amp;nbsp;&lt;/span&gt;column&amp;nbsp;&lt;span style="color: blue;"&gt;+')'&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;.toggle&lt;span class="Apple-style-span" style="color: darkblue;"&gt;&lt;b&gt;()&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;Note: iTable is the name of the HTML table.&lt;br /&gt;Note: The * is used to ensure you show / hide both the TH and TD tags.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4839842334484670151-1124627843376428735?l=tokenposts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tokenposts.blogspot.com/feeds/1124627843376428735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tokenposts.blogspot.com/2011/05/jquery-tables-show-and-hide-columns.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/1124627843376428735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/1124627843376428735'/><link rel='alternate' type='text/html' href='http://tokenposts.blogspot.com/2011/05/jquery-tables-show-and-hide-columns.html' title='jQuery - Tables - Show and Hide Columns'/><author><name>Tokes</name><uri>http://www.blogger.com/profile/13710966416808493263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4839842334484670151.post-2006376473075195635</id><published>2011-05-06T16:31:00.000+10:00</published><updated>2011-05-06T16:31:01.107+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery - Datepicker - Disable Specific Dates</title><content type='html'>&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;You can disable specific dates with the jQuery Datepicker using the beforeShowDay event.&lt;/div&gt;&lt;br /&gt;&lt;div style="background-color: #f8f8fe; border-bottom-color: rgb(102, 102, 102); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(102, 102, 102); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(102, 102, 102); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(102, 102, 102); border-top-style: dashed; border-top-width: 1px; font-family: 'Courier New', Courier, monospace; font-size: 14px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;&lt;div style="color: black;"&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;var&lt;/b&gt;&lt;/span&gt; unavailableDates &lt;span style="color: blue;"&gt;=&lt;/span&gt; &lt;span style="color: darkblue;"&gt;&lt;b&gt;[&lt;/b&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;"9-5-2011"&lt;/span&gt;,&lt;span style="color: blue;"&gt;"14-5-2011"&lt;/span&gt;,&lt;span style="color: blue;"&gt;"15-5-2011"&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;]&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;b&gt;function&lt;/b&gt; unavailable&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;date&lt;span style="color: darkblue;"&gt;&lt;b&gt;) {&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;dmy &lt;span style="color: blue;"&gt;=&lt;/span&gt; date.&lt;span style="color: #009999;"&gt;getDate&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;()&lt;/b&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;+ "-" +&lt;/span&gt; &lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;date.&lt;span style="color: #009999;"&gt;getMonth&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;()&lt;/b&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;+&lt;/span&gt;&lt;span style="color: red;"&gt;1&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;+ "-" +&lt;/span&gt; date.&lt;span style="color: #009999;"&gt;getFullYear&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;()&lt;/b&gt;&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;if (&lt;/b&gt;&lt;/span&gt;$.inArray&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;dmy, unavailableDates&lt;span style="color: darkblue;"&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;== -&lt;/span&gt;&lt;span style="color: red;"&gt;1&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return [true&lt;/b&gt;&lt;/span&gt;, &lt;span style="color: blue;"&gt;""&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;]&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return [false&lt;/b&gt;&lt;/span&gt;,&lt;span style="color: blue;"&gt;""&lt;/span&gt;,&lt;span style="color: blue;"&gt;"Unavailable"&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;]&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: darkblue;"&gt;&lt;b&gt;}&lt;br /&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;$&lt;span style="color: darkblue;"&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;'#iDate'&lt;/span&gt;&lt;span style="color: darkblue;"&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;.datepicker&lt;span style="color: darkblue;"&gt;&lt;b&gt;({&lt;/b&gt;&lt;/span&gt; beforeShowDay&lt;span style="color: blue;"&gt;:&lt;/span&gt; unavailable &lt;span style="color: darkblue;"&gt;&lt;b&gt;})&lt;/b&gt;&lt;/span&gt;;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;Note: iDate in the last line is the name of the HTML form input element.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4839842334484670151-2006376473075195635?l=tokenposts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tokenposts.blogspot.com/feeds/2006376473075195635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tokenposts.blogspot.com/2011/05/jquery-datepicker-disable-specific.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/2006376473075195635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/2006376473075195635'/><link rel='alternate' type='text/html' href='http://tokenposts.blogspot.com/2011/05/jquery-datepicker-disable-specific.html' title='jQuery - Datepicker - Disable Specific Dates'/><author><name>Tokes</name><uri>http://www.blogger.com/profile/13710966416808493263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4839842334484670151.post-6657162051342616514</id><published>2011-04-21T12:18:00.001+10:00</published><updated>2011-04-21T12:20:38.768+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows XP'/><title type='text'>Windows XP - Repair Install</title><content type='html'>&lt;div style="font-family: Verdana, sans-serif; font-size: 14px;"&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Running a Windows XP repair install will reinstall windows over the top of your existing one keeping all your personal files and programs intact.&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;Step 1:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Boot your computer from the Windows XP CD.&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;Step 2:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;After the setup loads the files you will have 3 options:&lt;/div&gt;&lt;br /&gt;&lt;div style="background-color: #f8f8fe; border-bottom-color: rgb(102, 102, 102); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(102, 102, 102); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(102, 102, 102); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(102, 102, 102); border-top-style: dashed; border-top-width: 1px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Courier New', Courier, monospace;"&gt;To set up Windows XP now, press ENTER.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Courier New', Courier, monospace;"&gt;To repair a Windows XP installation using Recovery Console, press R.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Courier New', Courier, monospace;"&gt;To quit Setup without installing Windows XP, press F3.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Press ENTER.&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;Step 3:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Press F8 to accept the "Windows XP Licensing Agreement".&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;Step 4:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Press R on the Windows installation you want to repair.&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Setup will then copy files to your computer and reboot.&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;Step 5:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Let the computer boot. You will come to a screen that says "An exciting new look" where the setup will continue just like a new installation.&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;Notes:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="Apple-style-span" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;You will not lose your personal files or programs when performing a repair install, only system files needed for Windows are replaced.&lt;br /&gt;&lt;br /&gt;Some programs may need to be reinstalled after the repair has finished.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4839842334484670151-6657162051342616514?l=tokenposts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tokenposts.blogspot.com/feeds/6657162051342616514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tokenposts.blogspot.com/2011/04/windows-xp-repair-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/6657162051342616514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/6657162051342616514'/><link rel='alternate' type='text/html' href='http://tokenposts.blogspot.com/2011/04/windows-xp-repair-install.html' title='Windows XP - Repair Install'/><author><name>Tokes</name><uri>http://www.blogger.com/profile/13710966416808493263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4839842334484670151.post-7885593912366063015</id><published>2011-01-05T11:06:00.002+10:00</published><updated>2011-01-05T11:09:44.726+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Black Ops'/><category scheme='http://www.blogger.com/atom/ns#' term='Cheats'/><category scheme='http://www.blogger.com/atom/ns#' term='Call of Duty'/><title type='text'>Call of Duty - Black Ops - Zombie Cheats for PC</title><content type='html'>&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;For Multi-player Zombies the only cheat you can use is the&amp;nbsp;infinite&amp;nbsp;ammo cheat.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;b&gt;Step 1:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;Open the following file:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;C:\Program Files\Steam\steamapps\common\call of duty black ops\players\config.cfg&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;Start a new line at the end of the file and add these lines.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: #f8f8fe; border-bottom-color: rgb(102, 102, 102); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(102, 102, 102); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(102, 102, 102); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(102, 102, 102); border-top-style: dashed; border-top-width: 1px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;&lt;div style="color: black; font-family: 'Courier New', Courier, monospace; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;bind 0 "sf_use_ignoreammo 1"&lt;/div&gt;&lt;div style="color: black; font-family: 'Courier New', Courier, monospace; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;bind 9 "sf_use_ignoreammo 0"&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;b&gt;Step 2:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;Save and close the file then right click config.cfg and go to&amp;nbsp;properties.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;Make the file read-only by ticking the check box in the attributes section and click OK.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;b&gt;Step 3:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;Start a game of Zombies and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 14px;"&gt;press the zero key to activate&amp;nbsp;infinite&amp;nbsp;ammunition. To deactivate it you can press the nine key.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, sans-serif; font-size: 14px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Notes:&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;You must be the host to be able to activate the cheat&lt;/b&gt;, you can see who the host is by looking to see who has the lowest ping.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;In this example "C:\" is the drive where Black Ops is installed.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;For windows Vista/7 Steam will be located in the "Program Files (x86)" directory.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;You can bind the cheat to any keys you wish such as F4 and F5 e.g.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;div style="background-color: #f8f8fe; border-bottom-color: rgb(102, 102, 102); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(102, 102, 102); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(102, 102, 102); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(102, 102, 102); border-top-style: dashed; border-top-width: 1px; font-family: 'Times New Roman'; font-size: medium; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;&lt;div style="color: black; font-family: 'Courier New', Courier, monospace; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;bind F4 "sf_use_ignoreammo 1"&lt;/div&gt;&lt;div style="color: black; font-family: 'Courier New', Courier, monospace; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;bind F5 "sf_use_ignoreammo 0"&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4839842334484670151-7885593912366063015?l=tokenposts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tokenposts.blogspot.com/feeds/7885593912366063015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tokenposts.blogspot.com/2011/01/call-of-duty-black-ops-zombie-cheats.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/7885593912366063015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/7885593912366063015'/><link rel='alternate' type='text/html' href='http://tokenposts.blogspot.com/2011/01/call-of-duty-black-ops-zombie-cheats.html' title='Call of Duty - Black Ops - Zombie Cheats for PC'/><author><name>Tokes</name><uri>http://www.blogger.com/profile/13710966416808493263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4839842334484670151.post-3057885027878632912</id><published>2010-10-09T16:27:00.001+10:00</published><updated>2010-10-09T17:20:00.861+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache2'/><title type='text'>Apache2 - DirectoryIndex</title><content type='html'>&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;Setting the DirectoryIndex for Apache2 in Linux can be done editing the following configuration file.&lt;/div&gt;&lt;br /&gt;&lt;div style="background-color: #f8f8fe; border: 1px dashed rgb(102, 102, 102); color: black; font-family: 'Courier New',Courier,monospace; font-size: 14px; padding: 10px;"&gt;nano /etc/apache2/sites-available/default&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;Look for the following block of text and add the DirectoryIndex line shown in blue.&lt;/div&gt;&lt;br /&gt;&lt;div style="background-color: #f8f8fe; border: 1px dashed rgb(102, 102, 102); color: black; font-family: 'Courier New',Courier,monospace; font-size: 14px; padding: 10px;"&gt;&amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;Options Indexes FollowSymLinks MultiViews&lt;br /&gt;&amp;nbsp;&amp;nbsp;AllowOverride None&lt;br /&gt;&amp;nbsp;&amp;nbsp;Order allow,deny&lt;br /&gt;&amp;nbsp;&amp;nbsp;allow from all&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;DirectoryIndex index.php index.html index.htm&lt;/span&gt;&lt;br /&gt;&amp;lt;/Directory&amp;gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;The file names are in order of priority. So in this example, index.php will be shown before index.html if both files exists in the same directory for the website.&lt;br /&gt;&lt;br /&gt;Note: I am using &lt;a href="http://en.wikipedia.org/wiki/Nano_(text_editor)"&gt;nano&lt;/a&gt;, you may also use &lt;a href="http://en.wikipedia.org/wiki/Vi"&gt;vi&lt;/a&gt; depending on your preference and Linux distro.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4839842334484670151-3057885027878632912?l=tokenposts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tokenposts.blogspot.com/feeds/3057885027878632912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tokenposts.blogspot.com/2010/10/apache2-directoryindex-linux.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/3057885027878632912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/3057885027878632912'/><link rel='alternate' type='text/html' href='http://tokenposts.blogspot.com/2010/10/apache2-directoryindex-linux.html' title='Apache2 - DirectoryIndex'/><author><name>Tokes</name><uri>http://www.blogger.com/profile/13710966416808493263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4839842334484670151.post-2291968526743860333</id><published>2010-10-02T21:10:00.006+10:00</published><updated>2010-10-09T17:21:00.067+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ActionScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>AS2 to AS3 - Common DisplayObject Properties</title><content type='html'>&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;Properties in AS3 now use &lt;a href="http://en.wikipedia.org/wiki/CamelCase" target="_blank"&gt;CamelCase&lt;/a&gt;. Here are some common DisplayObject properties.&lt;/div&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="margin-bottom: 5px; width: 100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="50%"&gt;&lt;h3&gt;ActionScript 2&lt;/h3&gt;&lt;/td&gt;&lt;td width="50%"&gt;&lt;h3&gt;ActionScript 3&lt;/h3&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="tokes_table" style="background-color: #f8f8fe; border: 1px dashed rgb(102, 102, 102); color: blue; font-family: 'Courier New',Courier,monospace; font-size: 14px; line-height: 16px; text-indent: 5px; width: 100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="50%"&gt;_x&lt;/td&gt;&lt;td width="50%"&gt;x&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="white"&gt;&lt;td&gt;_y&lt;/td&gt;&lt;td&gt;y&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;_width&lt;/td&gt;&lt;td&gt;width&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="white"&gt;&lt;td&gt;_height&lt;/td&gt;&lt;td&gt;height&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;_xscale&lt;/td&gt;&lt;td&gt;scaleX&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="white"&gt;&lt;td&gt;_yscale&lt;/td&gt;&lt;td&gt;scaleY&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;_xmouse&lt;/td&gt;&lt;td&gt;mouseX&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="white"&gt;&lt;td&gt;_ymouse&lt;/td&gt;&lt;td&gt;mouseY&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;_name&lt;/td&gt;&lt;td&gt;name&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="white"&gt;&lt;td&gt;_alpha&lt;/td&gt;&lt;td&gt;alpha&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;_visable&lt;/td&gt;&lt;td&gt;visable&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="white"&gt;&lt;td&gt;_rotation&lt;/td&gt;&lt;td&gt;rotation&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;_root&lt;/td&gt;&lt;td&gt;root&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="white"&gt;&lt;td&gt;_parent&lt;/td&gt;&lt;td&gt;parent&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4839842334484670151-2291968526743860333?l=tokenposts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tokenposts.blogspot.com/feeds/2291968526743860333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tokenposts.blogspot.com/2010/10/actionscript-displayobject-as2-as3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/2291968526743860333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/2291968526743860333'/><link rel='alternate' type='text/html' href='http://tokenposts.blogspot.com/2010/10/actionscript-displayobject-as2-as3.html' title='AS2 to AS3 - Common DisplayObject Properties'/><author><name>Tokes</name><uri>http://www.blogger.com/profile/13710966416808493263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4839842334484670151.post-6340835902629336252</id><published>2010-10-01T21:00:00.010+10:00</published><updated>2010-10-09T17:20:42.774+10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ActionScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>AS2 to AS3 - onEnterFrame</title><content type='html'>&lt;div style="font-family: Verdana,sans-serif; font-size: 14px;"&gt;The onEnterFrame method of AS2 is now done through the use of Event Listeners in AS3.&lt;/div&gt;&lt;div style="padding: 18px 0px 6px;"&gt;&lt;h3&gt;ActionScript 2&lt;/h3&gt;&lt;/div&gt;&lt;div style="background-color: #f8f8fe; border: 1px dashed rgb(102, 102, 102); color: black; font-family: 'Courier New',Courier,monospace; font-size: 14px; padding: 10px;"&gt;&lt;span style="color: blue;"&gt;this&lt;/span&gt;.&lt;span style="color: blue;"&gt;onEnterFrame&lt;/span&gt; = &lt;span style="color: blue;"&gt;function&lt;/span&gt;() {&lt;br /&gt;&lt;span style="color: #999999; padding-left: 30px;"&gt;// Your code here&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #999999;"&gt;&lt;/span&gt;}&lt;/div&gt;&lt;div style="padding: 18px 0px 6px;"&gt;&lt;h3&gt;ActionScript 3&lt;/h3&gt;&lt;/div&gt;&lt;div style="background-color: #f8f8fe; border: 1px dashed rgb(102, 102, 102); color: black; font-family: 'Courier New',Courier,monospace; font-size: 14px; padding: 10px;"&gt;&lt;span style="color: blue;"&gt;this.addEventListener&lt;/span&gt;(&lt;span style="color: blue;"&gt;Event.ENTER_FRAME&lt;/span&gt;, myFunctionName);&lt;br /&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; myFunctionName(e:&lt;span style="color: blue;"&gt;Event&lt;/span&gt;):&lt;span style="color: blue;"&gt;void&lt;/span&gt; {&lt;br /&gt;&lt;span style="color: #999999; padding-left: 30px;"&gt;// Your code here&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #999999;"&gt;&lt;/span&gt;}&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4839842334484670151-6340835902629336252?l=tokenposts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tokenposts.blogspot.com/feeds/6340835902629336252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tokenposts.blogspot.com/2010/10/actionscript-onenterframe-as2-as3.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/6340835902629336252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4839842334484670151/posts/default/6340835902629336252'/><link rel='alternate' type='text/html' href='http://tokenposts.blogspot.com/2010/10/actionscript-onenterframe-as2-as3.html' title='AS2 to AS3 - onEnterFrame'/><author><name>Tokes</name><uri>http://www.blogger.com/profile/13710966416808493263</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
