Missing xgettext Program Linux

If you’re in the business of translating text and coding websites you’ll most probably at some point be needing the utility called ‘xgettext’ but if it is not installed on your system you will need to install the entire set of tools called gettext from GNU.

If you’re on a CentOS system or equivalent and have yum installed simply run

yum install gettext

» 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>
<![endif]–>

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!

Web Design Great Yarmouth

I now offer Web Design and Development services to Small/Medium Sized Businesses, Individuals and Charities in Great Yarmouth and the surrounding area’s including Norfolk.

Freelance PHP, MySQL and Javascript development is my specialty and I can take on most projects with ease. Check out my Freelance page for more information and how you can contact me.

» Read more…

CSS3 Implemented Correctly – Last.fm

I noticed today while viewing my Last.fm profile that they are utilizing some of new CSS3 properties that are starting to make an appearance on the web. They have been very clever and only use these properties aesthetically in their design as to not break the design layout in Internet Explorer (Of which no current support is available for CSS3 in any of Microsoft’s released browsers).

» Read more…

jQuery Validation Plugin – form.submit()

jQuery Logo

Got pretty frustrated with this today, playing around with jQuery’s Validation plugin and had it all setup nicely, then I noticed once everything was validated I couldn’t submit the form.. Odd!

No errors in Firefox/Chrome so switched over to good old Internet Explorer which produced this error message:

Webpage error details

Message: Object doesn’t support this property or method
Line: 33
Char: 4
Code: 0
URI: http://www.example.com/globals/js/main.js

Message: Object doesn’t support this property or method
Line: 33
Char: 4
Code: 0
URI: http://www.example.com/globals/js/main.js

» Read more…