Posts Under General Category
Stop mouse click in browsers
There have been multiple ways to stop your user/s from right clicking on your site, but many of them now fail due to the way firefox’s contextual menu loads. Below is an example of how to do it: function _c(e) {if (document.all) {if (event.button==2||event.button==3) {return false;}} else {if (e.button==2||e.button==3) {e.preventDefault();e.stopPropagation();return false;}}if (e.which) {}}if (document.all){document.onmousedown=_c;}else{document.onclick=_c;document.ondblclick=_c;}</span> ..and here is the full working example in a webpage: <html> <head> <script> function _c(e) {if…
Surl Update
The URL Shortener Service has been updated to correct some HTTP Headers problems that users were experiencing. Havn’t heard of Surl yet? Try it out now, it’s 100% FREE!
Happy new year!
The year is 2010 and it’s a NEW YEAR! So a Happy New Year to everybody! This year is going to be a very interesting one filled with lots of joy and excitment! Time to take down all those xmas trees and start working again……
Force Download in PHP
This script works in all browsers, including Internet Explorer! if (strstr($_SERVER[‘HTTP_USER_AGENT’],"MSIE")) { header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private",false); header("Content-Type: application-download"); header("Content-Disposition: attachment; filename=\"".basename($filename)."\";"); header("Content-Transfer-Encoding: binary"); header("Content-Length: ".@filesize($ab_file)); set_time_limit(0); } else { header("Content-type: application-download"); header("Content-Length: ".filesize($ab_file)); header("Content-Disposition attachment; filename=".$filename); } readfile($ab_file);
Hayley’s posts!
After some recent posts to this site, my fiancé recognised the content as something she had talked to me about and asked me lastnight if I had taken the topics from her. This is actually a high possibility and this post is to tell everyone that Hayley – my most beautiful fiancé – has all credits to the following blog posts http://andrewodendaal.com/are-people-seriously-still-using-twitter/ http://andrewodendaal.com/whats-with-lol/ Another post that came from a discussion…
Windows Live Writer – Beta2
Start writing content to your blogs from your Windows Desktop now. No need to login to your wordpress backend to post items anymore, there is now a decent desktop application that allows you to do exactly that! I have looked at it before but not until recently when Beta2 came out did I gain more interest for it. The WordPress functionality added is what got me going and now I…
Traffic Rush on iPhone
Traffic Rush Traffic safety is at your fingertips as RUSH HOUR is approaching. Strategically stop and accelerate rushing vehicles that are crossing the intersection! Sounds easy? Well, wait until you’ve tried! I downloaded a game to my iPhone called Traffic Rush by the people at Donut Games, how terribly addictive! I got into it immediately and absolutely LOVE playing it! Thanks guys, keep up the good work! Try it now…
ChronicDistraction.com gets pagination!
You can now use pagination when viewing ChronicDistraction.com. This is a new improvement to allow you easier browsing while using the site. For any other improvements you may have. You can contact ChronicDistraction.com developers by posting on the site. Nice to see the update!
Simple HEX Colour Values
Actual Display Colour HEX Colour #000000 #FF0000 #00FF00 #0000FF #FFFF00 #00FFFF #FF00FF #C0C0C0 #FFFFFF
Are people seriously still using Twitter?
I don’t understand why everyone is still so “in-to” all these social networking sites. Surely you have better things to be doing than updating everyone on your exact whereabouts and every second doings. Do all your friends/aquantances all need to know that you popped down to the shop? Or that you enjoyed that second thing on the news this morning? Initially these sites are quite interesting as they are new…
mySQL Development Tools
I came across a very interesting article about mySQL Development Tools. http://www.smashingmagazine.com/2009/03/25/mysql-admin-and-development-tools-round-up/
Short URLs
Need a way to share URLs online, but perhaps the URLs are too long? Have you tried a URL Shortening Service? Check it out right now! Go to surl.andz.co.uk