Contactez-nous : 01 71 18 39 72
Suivez-nous sur Facebook

javascript Syndicate content

Working towards Apideo 1.5

Coming soon in Apideo

We only released Apideo 1.0 a few weeks ago, and we are already working hard to release the next version that will probably be numbered v1.5.

Here is a sneek peak into features to come:

Display transparent PNG images in IE6

Most browsers such as Firefox and Safari support for transparent PNG images. However, there are still numbers of IE6 users who could not take advantage of PNG image transparency.

After googling this problem, testing and comparing different solutions, I finally found an easy and efficient method.

The first step is adding a JavaScript function within the header of each page of HTML or the PHPTemplate file (in case you are a Drupal magician like me :D ).

<head>
<script type="text/javascript">
// Correctif de l'affichage des images PNG dans IE5.5 et IE6 

Internationalizing a Javascript script

Lately, while working on Butterflive, I was faced with the challenge of internationalising a pure Javascript module. Using the usual server-side techniques to provide translation was not an option.

Basically, I wanted to easily provide a chat window with messages that would be translated automatically depending on the browser's locale.