For those of you who are experiencing the Warning: Missing required field “name (fn)”. error whilst trying to link your google plus profile to your website here is how to fix it and what it means. Warning: Missing required field “name (fn)”. Means that inside your vcard you don’t have a …
Continue Reading »Alert User When Clicking On 3rd Party Link
Recently i was asked to come up with a script to alert the End User when they were leaving a website when they clicked on an external link and this is what i came up with after finding a similar script which opens all external links into a new window. Whilst opening external links into …
Continue Reading »Let Your Visitors Switch Off Your Adverts Site Wide!
Using HTML5 localStorage and a little JQuery we can give our visitors the option to turn our adverts on and off. Simply save the JQuery script below in your scripts folder and then add a link to it in the head of your page. <script type=”text/javascript”> /** * Declare global variable advertState */ var advertState; …
Continue Reading »Get your Christmas Presents for free this year by taking advantage of some of the sites below which for the last 2 years have pretty much paid for the Christmas presents me and my Fiancee have bought. Of course i include my referral link where possible but you can just search for them directly. Listed …
Continue Reading »Today i share a secret with you which i have only ever told a couple of people about. A few years ago whilst feeling Suicidal i ordered some pills online to kill myself with, then later changed my mind but was persuaded to still get the pills which i eventually took and overdosed on spending 4 …
Continue Reading »LocalStorage Background Colour Changer
Just a couple of examples of how to use HTML5 LocalStorage feature as a background colour changer. Example 1 the simpler example takes the value of whatever you type in the box and stores that in localStorage and sets it as background colour using jQuery. <script type=”text/javascript”> /** * Check if localStorage is supported and …
Continue Reading »Valid Google Publisher Link and More
Hey, You wanted to link your google+ page to your website – You have! (If not go here) Now you want it to validate! – It fails! Well here is a sneaky little snippet to make that link appear on everything but the validator. Basically unless the User Agent string starts “W3C_Validator” it will include …
Continue Reading »PDO Connection is seen as the way to go it has a lot of advantages over other techniques and today i share with you a script i mostly use for connecting to my databases as for 1 i get an email with the page and section if something goes wrong and for 2 the visitor …
Continue Reading »PDO (PHP Data Objects) extension for PHP seems to be the way to go for connecting to and accessing databases such as mysql and with this little snippet you can easily see what PDO drivers are available for your site.
Continue Reading »Tidy Chop in your kitchen?
Fed up of having to stop in the middle of food preparation to clear your board of waste? Well now there is Tidy Chop created by Ian.J.Gough one Christmas after thinking there must be a quicker and tidier way. Aimed at the Catering trade Tidy Chop is made out of 304 catering grade stainless steel …
Continue Reading »
