Since you're using visustella, you might look at their "javascript snippets" or quick functions.
They're in the Core...down near the bottom, I think.
They're basically js functions that can be used globally.
There are a few random type functions. The one I use a lot of is "randomfrom" which
let's you give a list of numbers from which it will pull one out at random.
So like "randomfrom(10,20,30,40)" will randomly give you 10,20,30 or 40.
They're in the Core...down near the bottom, I think.
They're basically js functions that can be used globally.
There are a few random type functions. The one I use a lot of is "randomfrom" which
let's you give a list of numbers from which it will pull one out at random.
So like "randomfrom(10,20,30,40)" will randomly give you 10,20,30 or 40.