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
4.0 KiB
JavaScript
19 lines
4.0 KiB
JavaScript
function nameGen() {
|
|
var nm1 = ["A Helping Cupid", "A Love Feeling", "A Perfect Match", "A Time for Love", "Afterglow", "At The Hip", "Beautiful Love", "Blossoming Hearts", "Blush", "Blush Connection", "Blushes and Sparks", "Blushingly", "Bonds of Love", "Book of Love", "Breath Away", "Breathless Moments", "Butterflies", "Candlelights", "Cherish My Heart", "Crazy Love", "Cupid's Arrow", "Date Advice", "Date Aid", "Date Assist", "Date Dedication", "Date Design", "Date Direction", "Date Discoveries", "Date Magic", "Date Now", "Date Set 'n Match", "Date Time", "Delights of Dating", "Dream Lovers", "Dreamy", "Enchanted Hearts", "Endless Love", "Falling in Love", "Feelings of Love", "Feelings of the Heart", "Finding Love", "Finding the One", "First Flirt", "First Spark", "Fit for Me", "Flame of Love", "Flirt First", "Flirt Away", "Flirtex", "Flirtigo", "Flirtues", "Fuzzy Feelings", "Guide of Love", "Guiding Hearts", "Hand in Hand", "Harmonious Hearts", "Harmonious Minds", "Head Over Heels", "Heart Adorations", "Heart Affection", "Heart Beats", "Heart Connections", "Heart Sparks", "Heart Ways", "Hearts of Love", "Heavenly Hearts", "Heavenly Matches", "Hopeless in Love", "Hour of Love", "Humble Hearts", "Kindred Hearts", "Kindred Souls", "Kindred Spirits", "Language of Love", "Lasting Love", "Lessons of Love", "Like Heaven", "Like One", "Looking for Love", "Lovable Hearts", "Love Advice", "Love Affinity", "Love Blossoms", "Love Cafe", "Love Desire", "Love Exploration", "Love Eyes", "Love Guidance", "Love Hearts", "Love Inspiration", "Love Letters", "Love Lives", "Love Match", "Love Matches", "Love Minded", "Love Partner", "Love Perfection", "Love Stars", "Love Stories", "Love Struck", "Love Support", "Love Together", "Love at First Sight", "Love in Mind", "Love in Sight", "Love of a Life", "Love on my Mind", "Love, Me", "Lovable", "Lovebirds", "Lovebound", "Loverly", "Lovey Dovey", "Loving Hearts", "Loving Minds", "Luck of Love", "Lust for Love", "Made in Heaven", "Magical Connections", "Magical Meetings", "Magical Minds", "Magical Moments", "Match 'n Meet", "Match Made", "Match Perfection", "Matching Heaven", "Match-Up", "Mindful Connections", "Mindful Matches", "Minds of Love", "Mix 'n Match", "Moments of the Heart", "My Love", "Next Comes Love", "Of My Dreams", "One Love", "One on One", "Partner in Love", "Passion for Love", "Passion for Passion", "Passionate Souls", "Path of the Heart", "Power of Love", "Profound Love", "Pure Bliss", "Pursuit of Love", "Pursuit of the Heart", "Racing Hearts", "Radiant Love", "Red Roses", "Relationship Guidance", "Roses Are Red", "Sealed With a Kiss", "Search of Love", "Set the Date", "Sights of Love", "Signs of Love", "Single Mingle", "Smitten", "Soul Match", "Soul Search", "Soul Surge", "Soulmates", "Spark Ignition", "Sparks of Love", "Sweet Love", "Take a Peak", "The Affection Smith", "The Click", "The Infatuation Station", "The Love Angel", "The Love Awakening", "The Love Balance", "The Love Butterfly", "The Love Connection", "The Love Dove", "The Love Guru", "The Love Hunt", "The Love Impulse", "The Love Nest", "The Love Radar", "The Love Rose", "The Love Search", "The Lovebug", "The Match Maker", "The Passion Pilot", "The Perfect Fit", "The Perfect Match", "The Soft Spot", "The Soul Search", "The Spark", "The Spark Connection", "Three Little Words", "Ticket to Love", "True Love", "Warm Hearts", "Ways to a Heart", "What a Catch", "What a Keeper", "What the Heart Wants"];
|
|
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, 1);
|
|
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);
|
|
}
|