I’m working on a new updated version of the cvLinkSelect class. Therefore I needed to create a dynamic object for the select boxes. Sometimes you’re stuck with your code and you need to know which words you need to use in your search engine. Finally I found this website!

var temp = new Object();
var name = el.getProperty('name');
var value = el.getProperty('value');

eval("temp."+name+"='"+value+"'");

/* Add the object to another object */
merged = Object.merge(merged,temp);

I hope this is helpful to you!

Sometimes you have a dynamic sentence with a amount in it. How to show the plural or not?

See the simple example:

//$users is an array is this example
$echoUsers = (count($users) == 1) ? $users.' user registered' : $users.' users registered';

echo $echoUsers;

This summer during the Italian Workshop Design week (5th-10th June), organized by the Italian Chair District and the Italian Trade Commission there will be a workshop ‘Design Woodmaking: Chairs and more’.

During this week 8 young designers will work with 3 Italian designer masters (Carlo Colombo, Matteo Ragni and Riccardo Blumer) in order to develop new products for the 24 companies who will participate.

Continue Reading »

Top of Page