Change precedence of variable ranges
Posted: Wed Jul 20, 2011 2:04 am
In the build gallery of http://image.weather.com/images/maps/fo ... map_wkpln_[period([0-1])][1-10;1]_3uswc_enus_600x405.jpg with
var words=["day","night"];
return words[arguments[0]];
Is there an easy way to sequence the function period before the variable [1-10;1] so that I receive
day1.jpg
night1.jpg
day2.jpg
night2.jpg
day3.jpg
night3.jpg
...
day10.jpg
night10.jpg
instead of the current output:
day1.jpg
day2.jpg
day3.jpg
...
day10.jpg
then
night1.jpg
night2.jpg
night3.jpg
...
night10.jpg
Thank you for your help!
var words=["day","night"];
return words[arguments[0]];
Is there an easy way to sequence the function period before the variable [1-10;1] so that I receive
day1.jpg
night1.jpg
day2.jpg
night2.jpg
day3.jpg
night3.jpg
...
day10.jpg
night10.jpg
instead of the current output:
day1.jpg
day2.jpg
day3.jpg
...
day10.jpg
then
night1.jpg
night2.jpg
night3.jpg
...
night10.jpg
Thank you for your help!