I use the template "twink", but what I request can apply for others templates. I would like to replace the names of countries by flags.
It would be necessary to include a code to indicate which flag for which text. I have tested something like that, but I don't have enough of knowledge to do it. Can somebody could do it?
Here, an example of flag, like I would for my site: http://games.clanbase.com/fr.gif
Thank you.
Replace names of countries by a flag
It's a good soluce, thanks. But what can I do for international movies ?
For exemple, I have the data "FR/UK" in the field countries, how can I cut it to replace each part in the code?
Here, I put the modified code, adapted to the template "twink":
<img src="'pics\\pays_'+movie.getAttribute('Country')+'.gif'"/>
For exemple, I have the data "FR/UK" in the field countries, how can I cut it to replace each part in the code?
Here, I put the modified code, adapted to the template "twink":
<img src="'pics\\pays_'+movie.getAttribute('Country')+'.gif'"/>