Blog
As is the case with many in the world in online marketing (and, indeed, most IT-based jobs) I spend a lot of time with Excel. One of the reasons for that is that it...
url_get_contents - a function to retrieve the contents of a remote URL with PHP and the cURL library.[break]Because I've used this function for a few different...
One of the most common tasks in Drupal is to review comments awaiting approval. I found a quick trick which allows you to add a link in your admin shortcuts which...
Every now and then I use a port scanner on computers I work with to check which services are accepting connections from the internet. For a typical client PC, there...
Most people involved in organic search in one way or another will know that Google's crawling infrastructure is located in the US. I came across a somewhat odd...
Do you remember a while ago when unicode symbols were common in Google SERPs? Things like using the unicode for a star to get a "five star" listings, and prefixing...
Or: What is it with all of the weird Google Books/YouTube results?If you're an advanced SEO or have an interest in search engines, then you're more than likely well...
All of the major search engines recently agreed on an element to address the problems webmasters experience related to duplicate content. I feel their pain, and...
While Amazon are not the worst culprits, they sent me an email today which illustrates how larger organisations are failing to help their users protect themselves...
Hiding a single element with Jquery was pretty straightforward. But what about if you want to show/hide multiple elements independently?Thanks to Justin Young for...
As I suppose quite a few people did, I signed up for the beta of Persai as a reader of the now defunct uncov. I imagine that gives them a fairly direct batch of...
Update: Show/hide multiple elements independentlyI'm a big fan of jquery since I don't often need to write any javascript, but for the times I do it cuts out most...
Find out and display a user's screen resolution with javascript. In javascript, the screen.width and screen.height properties contain the size a visitor's monitor...
"Attention to health is life's greatest hindrance." - Plato (427-347 B.C.)"Plato was a bore." - Friedrich Nietzsche (1844-1900)"Nietzsche was stupid and abnormal...
Philosophy is probably my second most common reading material. But yes, Sartre is terrifically boring. And one of my objections to Sartre's brand of existentialism...
I recently went shopping for some home-recording equipment, and thought I'd share my experience and give credit where it's due. Online merchants note - a little bit...
While finding out monitor resolution with javascript can be useful for statistics and certain other applications, often the need is to determine how much space is...
I just discovered the Apache module mod_speling (yup, one 'l') which is a fantastic way to ensure visitors who mistype URIs get automatically redirected to the...
If you want to permanently redirect a small number of URIs, or redirect based on conditions defined in PHP, then you need a permanent PHP redirect.To redirect...
The ability to change a visitors scrollbars actually uses CSS rather than javascript.To change the scollbar's colours, copy and paste the script below into your...
Redirecting a visitor with javascript is pretty straightforward. The simplest way is to use one of the methods below.Note that in some cases a server-side redirect...
Reload/refresh a page with javascriptTo reload or refresh the current page with javascript, you can use the reload() function.To make a link that refreshes the...
This simple script operates the same way as the back button in a visitor's browser.<a href="#" onClick="history.go(-1)">Back</a>Where possible, you...
Is Opera better than Firefox? Update: And is IE7 better than either of them?Background information:Having used Mozilla for a long time, and Firefox since its...
This simple script will prevent javascript errors from being displayed in your visitor's browser <script type="text/javascript"> function noError(){return...
Javascripts allows you to popup a small box of text, rather like the error and information message boxes within windows.Click here for an example alertTo make a...
I'm not a big fan of forcing users to see things 'my way' but a client recently wanted to use a wacky font for headings, and was only concerned with viewers using...
Historically, javascript has been 'hidden' from search engines; their spiders did not understand javascript and could not interpret even the most basic of...