You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
3.4 KiB
JavaScript
19 lines
3.4 KiB
JavaScript
function nameGen() {
|
|
var nm1 = ["A Bed of Roses", "A Dramatic Fleur", "A Flower Taste", "A New Leaf", "All in Bloom", "Aroma Therapy", "At All Flowers", "Backpetaling", "Balance of Flower", "Beleaf It", "Bells and Thistles", "Best Buds", "Bloom and Bud", "Blooming Gifts", "Blossom Bosom", "Blossom Budy", "Blossom Forth", "Blossoming Dreams", "Botanic Fanatic", "Botanical Beasts", "Botanical Buds", "Botanical Fanatical", "Botanique", "Budding Buddies", "Budding Gifts", "Budding Romance", "Burst of Flowers", "Business is Blooming", "Call of Nature", "Crazy Daisy", "Darling Buds", "Delicate Flowers", "Dilly Lilly", "Easy Being Green", "Edelweiss", "Field to Vase", "Floral Essence", "Floral Fantasies", "Floressence", "Flower Buds", "Flower Child", "Flower Creations", "Flower Dreams", "Flower Flair", "Flower Girl", "Flower Guy", "Flower Hour", "Flower Note", "Flower Play", "Flower Power", "Flower Season", "Flower Through", "Flowerama", "Flowerhead", "Flowerhouse", "Flowery Language", "Force of Nature", "Fragrent Flowers", "From the Garden", "Garden Dreams", "Garden Feels", "Garden Fragrence", "Garden Life", "Go to Bud", "Good in Bud", "Green Fingers", "Green Lights", "Green Sights", "Green Thumbs", "Green With Ivy", "Growing Gifts", "Growth Opportunities", "Happy Nature", "Happy Petals", "Happy Roots", "Happy Stems", "Hearts and Flowers", "Heavy Petal", "Hip in the Bud", "House of Blooms", "House of Blossoms", "In My Nature", "Kabloom", "Last Bud Not Least", "Leaf In My Hands", "Leaf In Peace", "Leaf of Your Senses", "Let Us Leaf", "Life in Bloom", "Little Blossoms", "Loose Tulips", "Love It & Leaf It", "Miss Blooms", "More Flower to You", "Mother's Nature", "Mr Blossoms", "My Little Peony", "Natural Designs", "Natural Spectactle", "Naturally Flowers", "Nature's Bounty", "One's Finest Flower", "Oopsy Daisy", "Path of Petals", "Peony For Your Thoughts", "Petal Philosophy", "Petal Power", "Petal to the Metal", "Petalicious", "Petals of Love", "Plant It", "Plants For Life", "Pleasing Pansies", "Potted Happiness", "Queen Bee", "Room For Growth", "Rose Up", "Roses Are Red", "Seasonal Sensations", "Seize the Flower", "Shades of Green", "Smell the Roses", "Spring in the Air", "Stem by Stem", "Stem to Stem", "Sunshine Store", "Sweet 'n Flower", "Sweet Buds", "Sweet Smells", "The Bee Leaf", "The Bloomerang", "The Blossom Boutique", "The Bouquet Boutique", "The Busy Bee", "The Floral Dilemma", "The Floral Reef", "The Flower Pot", "The Flower Trail", "The Four-Leaf Clover", "The Garden Path", "The Green Life", "The Greenhouse", "The Livingbloom", "The Plant Stand", "The Rainbow Bouquet", "The Red Rose", "The Right Season", "The Rosetta Store", "The Stemmery", "The Vase Base", "The Watering Can", "The Wild Lotus", "The Witching Flower", "Tomflowery", "Unlimited Flower", "Well Grown", "Wet the Bud", "What in Carnation", "Wild About Flowers", "You Grow Girl"];
|
|
var br = "";
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
for (i = 0; i < 10; i++) {
|
|
rnd = Math.random() * nm1.length | 0;
|
|
names = nm1[rnd];
|
|
nm1.splice(rnd, 0);
|
|
br = document.createElement('br');
|
|
element.appendChild(document.createTextNode(names));
|
|
element.appendChild(br);
|
|
}
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|