Applying jCarousel to ajax Loaded Content

If you’re working with jQuery and the jQuery plugin jCarousel you may have come across this problem if you try to implement jCarousel on an element where the elements childs aren’t present at page load.

What I was trying to do was to apply jCarousel to a <ul> element and have the <li> element be loaded in via Ajax after the page had finished loading. As a rough example of my markup:

» Read more…

This is one of the many reasons why Hotmail sucks

They can’t even do HTTPS correctly. Domains like this won’t even work as the┬ácertificate is only valid for the following names:

* , * , , , , , , , ,

» Read more…

dd_belatedpng is undefined – IE6 Javascript Error

I’ve started using DD_belatedPNG to fix transparent PNG’s in Internet Explorer 6 for my Web Design Projects. However I had this little error occurring on each page load:

dd_belatedpng is undefined

The problem was that I had included the script:

<!–[if lt IE 7 ]>
<script src=”/globals/js/dd_belatedpng.js”></script>
<script> DD_belatedPNG.fix(‘img, .png_bg’); //fix any <img> or .png_bg background-images </script>

In the <head> area of my code, essentially triggering straight away – what you need to do is include the above script just before your closing </body> tag and everything should be fine!

Your Internet Explorer 6 sites now look that tiny bit better!

PHP JSON Module Install on a CentOS 5 Server

So I was messing around with jQuery‘s new little piece of sex – the jQuery Mobile Framework, when bam!

Call to undefined function json_decode() in /var/www/server/path/secret/h4x.php on line 56

Oh no! My PHP skills have failed me so I thought. But alas I had not made this magical mystical function up, it is of course a PHP Module, and soon to be included in PHP 5.2

After a quick bit of googling I came across an excellent tutorial for installing the said module, however I then ran into another problem after trying to execute ‘pecl install json’.

» Read more…

Cannot Connect to Steam Network Error

I had this error message when trying to log onto Steam today. I left it a couple of hours but it still wouldn’t let me log on.

Cannot Connect to Steam Network – please try again later.

What you may need to do, which worked for me is to delete ‘ClientRegistry.blob’ in Steam’s installation folder (C:\Program Files\Steam) and try to restart steam. If this doesn’t do the trick try deleting ‘AppUpdateStats.blob‘.

Steam Error Message

Steam Error Message

I also had to run Steam with administrator privileges initially after this to get it to work, let me know if this works for you too.

Weird iGoogle Homepage Error

Got this weird error from iGoogle homepage today, not an error i’ve seen from any other language on the web!

This page contains the following errors:

error on line 13 at column 1897: Opening and ending tag mismatch: img line 0 and a
Below is a rendering of the page up to the first error.

stat failed filemtime() Codeigniters assetlib-pro on a plesk server

I came across this error when I was trying to implementing the Assetlib-pro CodeIgniter library for adding assets etc to your project.

A PHP Error was encountered

Severity: Warning

Message: filemtime() [function.filemtime]: stat failed for

Filename: libraries/Assetlibpro.php

Line Number: 218

Now because of my setup from EukHost in the uk I use plesk as my admin system, which obviously has custom rules etc for how php and apache behave together and how they are setup. For some reason the assetlib code could correctly get to the styles I had defined in the assetlib config file – ‘/assets/’, but I had to manually change a line of code in the assetlib library file.

» Read more…