//Code1 function addDynamicCSS() { var css = ` .inner_window_question h3 .mytooltip{ background-color: #434343; } .mytooltip { position: relative; display: inline-block; cursor: pointer; background-color: #4C5F84; } .mytooltip .mytooltiptext { width: 400px; background-color: #4C5F84; color: Black; text-align: center; border-radius: 6px; padding: 10px; position: absolute; z-index: 99; bottom: 20%; left: 20%; margin-left: -90px; opacity: 0; transition: opacity 0.3s; border-style: double; border-color: #434343; pointer-events: none; font-size: 13px !important; line-height: 1.5em !important; font-weight: normal !important; font-style: normal !important; } .mytooltip .mytooltiptext img { max-width: 300px; height: auto; border-style: double; border-color: #434343; } .mytooltip:hover .mytooltiptext { opacity: 1; transition-delay: 0.5s; } `; var styleElem = document.createElement('style'); styleElem.type = 'text/css'; styleElem.appendChild(document.createTextNode(css)); document.head.appendChild(styleElem); } addDynamicCSS(); tooltipList = [ //Organisations {searchString: "Nixon", explanationText: "
Perhaps no lower creature in the depths that America calls its politics."}, {searchString: "Vietnam", explanationText: "
There couldn't be no reason for getting involved in this. Could there?"}, {searchString: "Great Society", explanationText: "
The most noble quest since the New Deal, muted by the most foolhardy since the Philippines."}, {searchString: "Americans for Democratic Action", explanationText: "
Co-founded by Humphrey, Eleanor Roosevelt, and a cavalcade of other influential liberal figures in the aftermath of FDR's death and concerns of communist infiltration of the Democratic and fledgeling Progressive Party. Committed to containment and intervention against a tide of pacifism in the aftermath of WWII."}, {searchString: "Robert McNamara", explanationText: "
Allowed for the heat to be cranked up beyond all reason, yet chose to leave the kitchen when the time was most dire."}, {searchString: "George Ball", explanationText: "
Under-Secretary of State during the Gulf of Tonkin days. The lone man urging restraint, Ball's reward was a reassignment and watching as all his predictions came true in real time."}, {searchString: "Ball", explanationText: "
Under-Secretary of State during the Gulf of Tonkin days. The lone man urging restraint, Ball's reward was a reassignment and watching as all his predictions came true in real time."}, //NEC and Cabinet {searchString: "Henry Cabot Lodge", explanationText: "
The much coveted 'moderate Republican' once aligned with Nixon in better times. Routed the bullet into the head of President Diem and understands the dangers of staying in Vietnam as it stands."}, {searchString: "Lodge", explanationText: "
The much coveted 'moderate Republican' once aligned with Nixon in better times. Routed the bullet into the head of President Diem and understands the dangers of staying in Vietnam as it stands."}, {searchString: "greater men", explanationText: "
A unifier, the likes of which America will never see again. To conclude his unfinished vision has been the goal of every Democratic nominee up to this point, Hubert Humphrey included."}, {searchString: "FDR", explanationText: "
A unifier, the likes of which America will never see again. To conclude his unfinished vision has been the goal of every Democratic nominee up to this point, Hubert Humphrey included."}, {searchString: "my predecessor", explanationText: "
Without him, you wouldn't be here. With him, you nearly weren't here."}, {searchString: "Wallace", explanationText: "
Knows all too well how to harness the embers of hatred, but seems unaware of just how bright they can burn."}, {searchString: "George Wallace", explanationText: "
Knows all too well how to harness the embers of hatred, but seems unaware of just how bright they can burn."}, {searchString: "McGovern", explanationText: "
The Senate's progressive darling from the faraway lands of South Dakota. Has stood against the Vietnam practically since its inception, and sees the schisms in the Democratic party as an opportunity to bring a more left-leaning vision to the forefront."}, {searchString: "Maddox", explanationText: "
Former restauranter and the first enlistment in the culture war."}, {searchString: "Lester Maddox", explanationText: "
Former restauranter and the first enlistment in the culture war."}, {searchString: "Yorty", explanationText: "
Political chameleon, eating Democratic crow since 1960."}, {searchString: "Sam Yorty", explanationText: "
Political chameleon, eating Democratic crow since 1960."}, {searchString: "Charles Percy", explanationText: "
Everything the Republican party will never be again."}, {searchString: "Percy", explanationText: "
Everything the Republican party will never be again."}, {searchString: "George McGovern", explanationText: "
The Senate's progressive darling from the faraway lands of South Dakota. Has stood against the Vietnam practically since its inception, and sees the schisms in the Democratic party as an opportunity to bring a more left-leaning vision to the forefront."}, {searchString: "Fraser", explanationText: "
Don Fraser, the U.S. Representative for the greater Minneapolis area and close local ally. Made his name advocating for human rights in America's allies, so imagine his horror at what unfolded in Chicago."}, {searchString: "Johnson", explanationText: "
Without him, you wouldn't be here. With him, you nearly weren't here."}, {searchString: "Daley", explanationText: "
Richard Daley, the longstanding, near-tyrannical mayor of Chicago. Supported your candidacy to blunt anti-war forces, and made his case with billy clubs and riot shields."}, {searchString: "Connally", explanationText: "
A fading flicker of what the Democratic Party once was."}, {searchString: "Rizzo", explanationText: "
Frank Rizzo, Mayor of Philadelphia and the very most cruel, condensed form of 'law and order' Democrats. Knows a crumb bum and a lush when he sees one"}, {searchString: "J. William Fulbright", explanationText: "
Senator from Arkansas; segregationist and blight to progress by political convenience, opposed to Vietnam intervention by principle."}, {searchString: "cry too much", explanationText: "
In an interview leading up to the 1968 election, Lyndon Johnson responded to a question about his thoughts on Hubert Humphrey with the statement 'he cries too much'. When asked to clarify, Johnson simply replied 'that's it.'"}, {searchString: "Joe Mitchell", explanationText: "
Small-time city manager of Newburgh, New York who was rocketed to national prominence in the 1960s through his creation of the work requirement for welfare. Would go on to serve on the supremacist White Citizen's Council because he 'didn't have any work at the time' and supported George Wallace's hellish effort to stop integration."}, {searchString: "Earl Warren", explanationText: "
The conscience of America as Chief Justice, a staunch upholder of integration despite his earlier support of Japanese integration camps."}, {searchString: "Gaylord", explanationText: "
Senator from Wisconsin, a passionate environmentalist, and one of the men you feel truly understands your reasons for being in politics."}, {searchString: "Ramsay Clark", explanationText: "
The former Attorney General under Lyndon Johnson, fiercely fought for civil rights protection while also taking to the streets against the offensive in Hanoi."}, {searchString: "Ja-Neen Welch", explanationText: "
A mascot of sorts for the Wallace campaign in 1968, this buxom blonde would unceremoniously exit stage left after spilling the Southern fried beans about her extramarital romps with George."}, {searchString: "Walter Reuther", explanationText: "
Refused to fight within an labor circle that put big wig power over people."}, {searchString: "George Meany", explanationText: "
To many in America, he is organized labor. The workers, however, tell the full story."}, {searchString: "Jimmy Hoffa", explanationText: "
Felled by his greed in the profession of collective action."}, {searchString: "Robert Taft", explanationText: "
Senator from Ohio, possesses the curse(or gift) of being forgotten by history."}, {searchString: "Taft", explanationText: "
Senator from Ohio, possesses the curse(or gift) of being forgotten by history."}, {searchString: "Edmund", explanationText: "
As Vice President, a stranger to his once tireless resolve."}, {searchString: "Muskie", explanationText: "
As Vice President, a stranger to his once tireless resolve."}, {searchString: "Ron Kovic", explanationText: "
Born upon America's day of independence, but lost his own fighting in the false name of freedom."}, {searchString: "John Tunney", explanationText: "
A figure that you hope all the rowdy youth will eventually mold into."}, {searchString: "Schafly", explanationText: "
As long as Phyllis gets hers at the end of the day, there's no low this opportunist will not stoop to."}, {searchString: "Lindsay", explanationText: "
Oversees the decline of what was once capitalism's crown jewel. Somehow, he wants to do this."}, {searchString: "Harlan", explanationText: "
Shivers in his grandfather's immense shadow."}, {searchString: "Hugo Black", explanationText: "
A reminder of what your party came from."}, {searchString: "John Birch Society", explanationText: "
Rotten down to its deceased namesake. One true believer in their junk is one too many."}, //Others {searchString: "Muriel", explanationText: "
The love of your life. Even if you don't have the hearts of the voters, you'll always have hers."}, {searchString: "Nancy", explanationText: "
Your daughter, who has had to tolerate your movement up the political ladder during her most formative years."}, {searchString: "Sihanouk", explanationText: "
The King of Cambodia hand-picked by French colonial forces to uphold their nonexistent claims to land, but later rebelled in the name of his country."}, {searchString: "Scoop Jackson", explanationText: "
A bitter, vindictive man, but one who agrees with you on this issue for now."}, {searchString: "Schmitz", explanationText: "
Double the hate of George Wallace, with half the skill."}, {searchString: "Clay Smothers", explanationText: "
The nexus of Black Conservatives in America. Believes if he hates gays hard enough, he will be able to dodge the hatred directed at his own race."}, {searchString: "Hosea Williams", explanationText: "
A man who never gave up the fight for a brighter tomorrow, no matter the physical costs."}, {searchString: "Happy Chandler", explanationText: "
His own biggest fan."}, {searchString: "Gore", explanationText: "
Was assailed by an epiphany of humanity when it came time for his own child to face the jungles of Vietnam."}, {searchString: "William McChesney Martin", explanationText: "
Chair of the Federal Reserve for a mammoth 22 years, defying all harbingers of political doom. America's most necessary party pooper."}, {searchString: "Martin's", explanationText: "
America stirred awake as his Dream was deferred."}, {searchString: "King", explanationText: "
America stirred awake as his Dream was deferred."}, {searchString: "Kevin White", explanationText: "
Braved the forces of Louise Day Hicks to become Mayor of Boston, and proved just why he should be there by keeping Boston quiet on the day of MLK's assassination."}, {searchString: "McClellan", explanationText: "
Senator from Arkansas and racist. A child prodigy who morphed into a vile but all too common man by trading decency for power."}, {searchString: "Eastland", explanationText: "
Segregationist leader out of Mississippi. His eventual death will be his greatest contribution."}, {searchString: "Harry Blackmun", explanationText: "
Today a respectable figure to the political class, but soon to liberalize into Earl Warren on diet pills."}, {searchString: "Robert Sheran", explanationText: "
Former Minnesota Associate Justice who chose to put his family over career, a decision you felt unable to make."}, {searchString: "Shirley", explanationText: "
People like her make up The silent backbone of the American system, tirelessly working to build or destroy credibility for each Congressman's legal machinations."}, {searchString: "Arthur Goldberg", explanationText: "
Escaped the self-imposed death sentence of the Supreme Court to toil in the United Nations."}, {searchString: "Lurleen", explanationText: "
There's nothing George Wallace would do for his wife."}, {searchString: "Middle America", explanationText: "
Integral to the success of any candidate. The Carson-watching, white picket fenced-in denizens of America who never quite seem to know what they want."}, {searchString: "on fire", explanationText: "
The Cuyahoga River caught fire numerous times in the 1960s, one of many factors contributing to a renewed interest in environmental conservation by a public in disbelief that such a logic-defying event could occur."}, {searchString: "George Romney", explanationText: "
Still air-drying from his Vietnam brainwash."}, {searchString: "Rockefeller", explanationText: "
He came, and he went."}, {searchString: "LeMay", explanationText: "
Has a phobia of common sense."}, {searchString: "Gruening", explanationText: "
The Father of Alaskan Statehood, backstabbed by his own child for opposition to war."}, {searchString: "Gravel", explanationText: "
Downed Ernest Gruening through riding the winds of jingoism in his neutral campaign sailboat."}, {searchString: "Morse", explanationText: "
The Loneliest, yet most passionate Man In The Senate."}, {searchString: "Birch Bayh", explanationText: "
No man since the days of Civil War has been more important to the Constitution."}, {searchString: "Lon Nol", explanationText: "
Cambodian General who covets US influence no matter the cost."}, {searchString: "Thieu", explanationText: "
A paper tiger painted red, white, and blue."}, //Misc {searchString: "Martha Griffiths", explanationText: "
Perhaps the most powerful woman in Congress to date, a commanding force who refuses to be patronized."}, {searchString: "Griffiths", explanationText: "
Perhaps the most powerful woman in Congress to date, a commanding force who refuses to be patronized."}, {searchString: "Wilbur Mills", explanationText: "
The influential Ways and Means Chairman in the House, serving as the middle man between idealism and often cold reality."}, {searchString: "a swine", explanationText: "
Pigasus J. Pig, the Immortal."}, {searchString: "Bobby", explanationText: "
What could have been has now led to what is."}, {searchString: "Robert Kennedy", explanationText: "
What could have been has now led to what is."}, {searchString: "Lockwood", explanationText: "
Arizona Supreme Court Chief Justice, an impassioned defender of women's and Native rights in an era when both are stigmatized in government."}, {searchString: "Potter Stewart", explanationText: "
Associate Justice first appointed under Eisenhower, most commonly recalled for knowing it when he sees it in the field of adult films."}, {searchString: "Paul McCloskey", explanationText: "
A dying breed of liberal Republican, the likes of which many will talk of in mythologized terms in the future."}, {searchString: "Homer Thornberry", explanationText: "
Texas Democrat and looming reminder of how much sway LBJ still holds in the Democratic fold."}, {searchString: "Ho Chi Minh", explanationText: "
A dictator, yet an individual who seems to believe in the American principle of self-determination more than some Washington politicians you've met."}, {searchString: "Thọ", explanationText: "
Chief negotiatior for the North Vietnamese peace delegation, refuses to settle for the subversion of his nation's will."}, {searchString: "Lắm ", explanationText: "
Chief negotiatior for the South Vietnamese peace delegation, a quiet contrast to the grandstanding emptiness of his superiors."}, {searchString: "John Tower", explanationText: "
Not a very apt surname for the five foot five Texan."}, {searchString: "Tower", explanationText: "
Not a very apt surname for the five foot five Texan."}, {searchString: "John Sherman Cooper", explanationText: "
Could be anywhere in the world at 71, but is still in politics."}, {searchString: "Cooper", explanationText: "
Could be anywhere in the world at 71, but is still in politics."}, {searchString: "Argentina", explanationText: "
The Free Territory of Argentina is an Anarcho-Syndicalist Confederation that sits in the southern cone of Latin America. Created in the wake of the Argentine Civil War, it was, for a long time, the only socialist nation in the Western Hemisphere, leading to a level of diplomatic and economic isolation from its capitalist neighbors. It's often nicknamed “the Black Spot of the Americas”."}, {searchString: "League of Nations", explanationText: "
Brainchild of former President Woodrow Wilson, the League of Nations was an international organization with the primary goal of preserving peace. Founded in January 1920, the League lasted barely a year before the joint humiliations of the German Collapse and Turkish War of Independence resulted in its disbandment in March 1921. The US never joined the League."}, {searchString: "Rhineland", explanationText: "
The Rhineland Occupational Authority (ROA) was established in 1921 when it became apparent that the French occupation of the western Rhineland was permanent. A puppet military administration bordering a hostile socialist state, it lacks sizable popular support and relies almost entirely on French funding to continue existing."}, {searchString: "Rhenish Commune", explanationText: "
The Council Republic of Northwestern Germany, known colloquially as the “Rhenish Commune”, is one of the three rival states claiming the mantle of Germany following the civil war and subsequent decade or so ceasefire. A socialist state aligned with the SRL, the Commune finds itself in an uneasy position due to being surrounded by capitalist nations, resulting in a level of civic militarism naturally fostering itself amongst the populace."}, {searchString: "Liberia", explanationText: "
A former US colony in Africa that has, despite gaining de jure independence in 1847, remained firmly within the American sphere of influence, even sporting a political system and ethnic hierarchy similar to its overlord. Since the inauguration of the Child regime, the country has become a dumping ground for black activists that the government deems too much of a threat, with notable deportees including IWW organizer Ben Fletcher, socialist George Padmore and infamous black nationalist Marcus Garvey."}, ]; campaignTrail_temp.modBoxTheme = { "header_image_url": "https://files.catbox.moe/skqawq.jpg", "header_color": "#434343", "header_text_color": "#516299", "description_text_color": "#516299", "description_background_color": "#434343", "main_color": "#516299", "secondary_color": "#434343", "ui_text_color": "#FFFFFF" } campaignTrail_temp.global_parameter_json = [ { "model": "campaign_trail.global_parameter", "pk": 1, "fields": { "vote_variable": 1.25, "max_swing": 0.12, "start_point": 0.94, "candidate_issue_weight": 10, "running_mate_issue_weight": 1, "issue_stance_1_max": -0.71, "issue_stance_2_max": -0.42, "issue_stance_3_max": -0.13, "issue_stance_4_max": 0.13, "issue_stance_5_max": 0.42, "issue_stance_6_max": 0.71, "global_variance": 0.01, "state_variance": 0.005, "question_count": 30, "default_map_color_hex": "#C9C9C9", "no_state_map_color_hex": "#999999" } } ] campaignTrail_temp.election_json = [ { "model": "campaign_trail.election", "pk": 12, "fields": { "year": 1936, "summary": "
1968. Hubert Humphrey has struggled to hold together a deeply factional and furious Democratic coalition that had once held strong in both commanding victory and crushing defeat. The unification and inter party strength he once fought for, shattered at his feet. In the eyes of the liberals he once stood beside, he is a compromising war hawk who is slow on the pulse of change-a lecturer rather than a leader. The Happy Warrior had become everything he once was not, and he would surely drop the election to Richard Nixon in a democratic nadir.

Then came the bombshell; one even bigger than the millions the President dropped all over Southeast Asia. Tricky Dick tried to swindle Lyndon Johnson out of a last ditch peace deal that would finally put an end to the suffering in Vietnam and leave both nations content. When the story exploded onto the front page of every major newspaper, the nation was rightfully disgusted by Nixon’s chicanery. But even that shameful sabotage was nearly not enough, as Illinois was only decided by one hundredth of a percentile. If only a few hundred Chicagoans had stayed home, that ghoul Wallace would have finally been able to realize his fantasy of power and control Humphrey as a puppet, upholstered in place of a true southern rights candidate.

Now as president, Humphrey must face the unenviable task of mending the fabric of a country torn far beyond the Mason Dixon line, now ripped further. by the pains of war.

", "image_url": "https://i.imgur.com/Tti1cIu.png", "winning_electoral_vote_number": 270, "advisor_url": "https://i.imgur.com/4SRcd0C.png", "recommended_reading": "
", "has_visits": 1, "no_electoral_majority_image": "-", "creator": "-", "display_year": "1972Humphrey" } } ] campaignTrail_temp.candidate_json = [ { "model": "campaign_trail.candidate", "pk": 116, "fields": { "first_name": "Hubert", "last_name": "Humphrey", "election": 12, "party": "Democratic", "state": "Minnesota", "priority": 1, "description": "

Who is Hubert Horatio Humphrey?

What does he believe? Is he the firebrand progressive of 1948? Is he the establishment lapdog he won the nomination as, or the peacenik he won the election as? Or perhaps he's the good ol' boys's friend, crusader for law and order? In fact, Humphrey is that most pitiful of things- the ideological liberal. He finds himself emasculated at every turn by more forceful personalities.

Humphrey has twisted himself into knots trying to please everyone, but in doing so has pleased no one. The hippies jeer him. The hicks spit at him. The party bosses roll their eyes at his weepy altruism. Johnson, the man he's sacrificed so much to appease, seems to take special glee in tormenting him. But, he thinks to himself, that's all going to change. Finally, he stands in the Oval Office. Finally, he can make a change in the nation he loves so much. Finally, all his humiliations will be worth something.

Right?

", "color_hex": "#6d8ba2", "secondary_color_hex": "#999999", "is_active": 1, "image_url": "https://i.imgur.com/Y5pNZQF.png", "electoral_victory_message": "'", "electoral_loss_message": "'", "no_electoral_majority_message": "'", "description_as_running_mate": "'", "candidate_score": 1, "running_mate": false } }, { "model": "campaign_trail.candidate", "pk": 117, "fields": { "first_name": "Low", "last_name": "Displeasure", "election": 12, "party": "Republican", "state": "One", "priority": 2, "description": "'", "color_hex": "#a64e4e", "secondary_color_hex": "#b05555", "is_active": 0, "image_url": "'", "electoral_victory_message": "'", "electoral_loss_message": "'", "no_electoral_majority_message": "'", "description_as_running_mate": "'", "candidate_score": 1, "running_mate": false } }, { "model": "campaign_trail.candidate", "pk": 119, "fields": { "first_name": "High", "last_name": "Disgust", "election": 12, "party": "American Independent", "state": "Two", "priority": 4, "description": "T", "color_hex": "#c45e10", "secondary_color_hex": "#4c7ead", "is_active": 0, "image_url": "B", "electoral_victory_message": "A", "electoral_loss_message": "C", "no_electoral_majority_message": "R", "description_as_running_mate": "X", "candidate_score": 1, "running_mate": false } }, { "model": "campaign_trail.candidate", "pk": 118, "fields": { "first_name": "Medium", "last_name": "Distrust", "election": 12, "party": "New", "state": "'", "priority": 3, "description": "'", "color_hex": "#069e2f", "secondary_color_hex": "#6fc886", "is_active": 0, "image_url": "'", "electoral_victory_message": "'", "electoral_loss_message": "'", "no_electoral_majority_message": "'", "description_as_running_mate": "'", "candidate_score": 1, "running_mate": false } }, { "model": "campaign_trail.candidate", "pk": 120, "fields": { "first_name": "Edmund", "last_name": "Muskie", "election": 12, "party": "Democratic", "state": "Maine", "priority": 5, "description": "'", "color_hex": "#6b6b6b", "secondary_color_hex": "#90C0FF", "is_active": 0, "image_url": "https://i.imgur.com/xbe75It.png", "electoral_victory_message": "'", "electoral_loss_message": "'", "no_electoral_majority_message": "'", "description_as_running_mate": "
It was once said that as goes Maine, so goes the nation, and there is no greater harbinger of this phenomena than Edmund Muskie.

Just like you, Ed has broken political barriers in his home state. The first popularly elected Democrat senator from Maine, and one of a very select group of Maine Democrats to assume the governor’s chair. The clean cut politician with boyish good looks has morphed into a man of long jawed resolve, bearing waves of gray hair as the stress of the executive branch has taken its toll. Each day sat in the Vice Presidency tears at his will, forcing him to observe the despair of an America that he signed off to be a largely powerless viewer to.

But Muskie is no deadweight or political roadblock, as LBJ saw you; Ed beats from the same heart of compassion. He's an impassioned speaker, dedicated to fair and ethical treatment of all living things irrespective of color, creed, or species. You know that he’d be able to cut it as a president from day one-you just hope it won’t have to come to that.

", "candidate_score": 0, "running_mate": true } }, { "model": "campaign_trail.candidate", "pk": 121, "fields": { "first_name": "Undecided", "last_name": "Republican", "election": 12, "party": "Republican", "state": "'", "priority": 6, "description": "'", "color_hex": "#ffffff", "secondary_color_hex": "#FFA0A0", "is_active": 0, "image_url": "'", "electoral_victory_message": "'", "electoral_loss_message": "'", "no_electoral_majority_message": "'", "description_as_running_mate": "'", "candidate_score": 0, "running_mate": true } }, { "model": "campaign_trail.candidate", "pk": 125, "fields": { "first_name": "Undecided", "last_name": "Democrat", "election": 12, "party": "Democrat", "state": "'", "priority": 10, "description": "'", "color_hex": "#ffffff", "secondary_color_hex": "#FFFFC0", "is_active": 0, "image_url": "'", "electoral_victory_message": "'", "electoral_loss_message": "'", "no_electoral_majority_message": "'", "description_as_running_mate": "'", "candidate_score": 0, "running_mate": true } }, { "model": "campaign_trail.candidate", "pk": 126, "fields": { "first_name": "Robert M.", "last_name": "La Follette Jr.", "election": 12, "party": "PFLA", "state": "'", "priority": 11, "description": "'", "color_hex": "#ffffff", "secondary_color_hex": "#A1FFA1", "is_active": 0, "image_url": "'", "electoral_victory_message": "'", "electoral_loss_message": "'", "no_electoral_majority_message": "'", "description_as_running_mate": "'", "candidate_score": 0, "running_mate": true } } ] campaignTrail_temp.running_mate_json = [ { "model": "campaign_trail.running_mate", "pk": 76, "fields": { "candidate": 116, "running_mate": 120 } }, { "model": "campaign_trail.running_mate", "pk": 81, "fields": { "candidate": 118, "running_mate": 125 } }, { "model": "campaign_trail.running_mate", "pk": 77, "fields": { "candidate": 117, "running_mate": 121 } }, { "model": "campaign_trail.running_mate", "pk": 153351, "fields": { "candidate": 119, "running_mate": 126 } } ] campaignTrail_temp.credits = "Ban Dryan" campaignTrail_temp.opponents_default_json = [ { "election": 12, "candidates": [ 116, 117, 118, 119 ] } ] campaignTrail_temp.opponents_weighted_json = [ { "election": 12, "candidates": [ 116, 117, 118, 119 ] } ] campaignTrail_temp.temp_election_list = [ { "id": 12, "year": 1936, "is_premium": 0, "display_year": "1972HHH" } ] jet_data = { "headerColor": "#434343", "windowColor": "#000000", "containerColor": "#999999", "innerWindowColor": "#434343", "bannerImageUrl": "https://files.catbox.moe/u9sz7d.webp", "backgroundImageUrl": "https://files.catbox.moe/467w7e.jpg", "endingTextColor": "#000000", "customQuote": "“In short, I was a racketeer, a gangster for capitalism.” Smedley D. Butler" } document.body.style.backgroundSize="cover"; //#startcode corrr = '\n

The Bright Sunshine

“You only live a short time. You ought to enjoy every fleeting moment.” - HHH\n '; nct_stuff.themes[nct_stuff.selectedTheme].coloring_title = "#434343"; nct_stuff.themes[nct_stuff.selectedTheme].coloring_window = "#4C5F84"; document.getElementsByClassName("game_header")[0].style.backgroundColor = nct_stuff.themes[nct_stuff.selectedTheme].coloring_title; $("#game_window")[0].style.backgroundColor = nct_stuff.themes[nct_stuff.selectedTheme].coloring_window; $(".container")[0].style.backgroundColor = "#434343"; document.getElementById("header").src = "https://files.catbox.moe/u9sz7d.webp"; document.body.background = "https://files.catbox.moe/467w7e.jpg"; document.head.innerHTML += ""; //Historical Overall Results HistHexcolour=["#cc0000","#073763","#ff724c","#f736a7"]; HistName=[" Chuck Percy"," Hubert Humphrey"," Lester Maddox"," Linus Pauling"]; HistEV=[309,185,44,0]; HistPV=["32,845,988","31,157,319","10,503,227","2,394,517"]; HistPVP=["42.7%","40.5%","13.7%","3.1%"]; //Credits e=campaignTrail_temp var changeGameDisp = (hide) => { disp = ""; if (hide) { disp = "none"; } document.getElementsByClassName("inner_window_w_desc")[0].style.display = disp }; e.creditsPage = () => { credits_html = `

Writing and Coding

Mayfly aka SilverCheetah

Metheguy

Proofreading

Makhfren

Ohas

munastronaut(code troubleshooting)

Special Thanks for Borrowed Code (without which this mod wouldn’t exist)

Credits screen - DecstarG

Variable Headquarters Code, 30’s Music Player - Astro

Tooltip Code - Nina

Code to resize the Feedback Box - Bruce

Code to edit Overall Results screen, Ending Code - Peace With Honor

1976-Good For Me-Map tooltips

1946Crook-map image background

1936 March on Washington-backbone, this mod literally would not exist if was not for it and its code

Music

Going in Circles-Isaac Hayes

Prison Song-The Selma Musical

California Dreamin'-The Mamas and the Papas

Today-Tom Scott and the California Dreamers

Mercy Mercy Me and What's Happening Brother-Marvin Gaye

All Along the Watchtower-Jimi Hendrix Experience

Everyday People-Sly and the Family Stone

Remember-The Shangri Las

Note from the Developer

Thank you for taking a chance on the first CYOA of a mostly novice modder. This was an immense task, and even then there is some stuff I wanted to add that I could not figure out that I may come back to in time.

Some of the candidates may seem a tad bit farfetched, but I attempted to try and make something that was not too derivative of what TTNW and PWH accomplished.

I certainly gained a new respect for all the legwork people have to do to make mods of this scale, and I hope that my mod brings the same enjoyment as those ones.

Good Luck!

- Mayfly

` changeGameDisp(true); var spacer = document.createElement("amongusspacerthisisntarealelement"); spacer.innerHTML = "      "; document .getElementsByClassName("inner_window_w_desc")[0] .children[1].appendChild(spacer); changeGameDisp(true); var menuHeader = document.createElement("div"); menuHeader.classList.add("inner_window_front"); menuHeader.innerHTML = `

CREDITS

`; menuHeader.id = "SOTUheader"; menuHeader.style = "height: 50px;background-color:#2d2d2d"; var newMenu = document.createElement("div"); newMenu.classList.add("inner_window_front"); newMenu.id = "SOTUmenu"; newMenu.style = `height:260px;background-color:#2d2d2d;color:white;overflow-y: scroll;`; newMenu.innerHTML = credits_html; let z = document.getElementById("game_window"); var backButton = document.createElement("button"); backButton.style = "position: relative; bottom: -13px; left: -380px; width: 150px; height: 80px;font-size:40px;padding-top:5px;padding-left:8px"; backButton.id = "backSOTUBtn"; backButton.innerHTML = `BACK`; backButton.onclick = function () { document.getElementById("SOTUheader").remove(); document.getElementById("SOTUmenu").remove(); document.getElementById("backSOTUBtn").remove(); changeGameDisp(false); }; z.appendChild(menuHeader); z.appendChild(newMenu); z.appendChild(backButton); } e.credits = ""; //30's Music Player //Initialise custom music RecReading = true; // Select the node that will be observed for mutations const windowsAdvisorTargetNode = document.getElementById("game_window"); // Options for the observer (which mutations to observe) const windowsAdvisorConfig = { attributes: true, childList: true, subtree: true }; // Callback function to execute when mutations are observed const callback = (mutationList, observer) => { visitWindow = document.getElementsByClassName("overlay_window")[0]; if (visitWindow == null || visitWindow.classList.contains("done")) { return; } visitWindow.classList.add("done"); visitWindow.classList.add("window"); let titleBar = visitWindow.querySelector("h3"); titleBar.classList.add("title-bar"); titleBar.classList.add("title-bar-text"); titleBar.style.paddingLeft = "3px"; }; class Song { constructor(title, artist, coverLink, audioLink) { this.title = title; this.artist = artist; this.coverLink = coverLink; this.audioLink = audioLink; } getTitle() { return this.title; } getArtist() { return this.artist; } getCoverLink() { return this.coverLink; } getAudioLink() { return this.audioLink; } } class Playlist { constructor() { this.songs = []; this.currentSongIndex = 0; } addSong(song) { this.songs.push(song); } getCurrentSong() { return this.songs[this.currentSongIndex]; } playNext() { this.currentSongIndex = (this.currentSongIndex + 1) % this.songs.length; } playPrevious() { this.currentSongIndex = (this.currentSongIndex - 1 + this.songs.length) % this.songs.length; } } window.Playlist = Playlist; window.Song = Song; function changePlaylist(newPlaylist) { playlist = newPlaylist; playlist.currentSongIndex = 0; updateUI(playlist); const audio = document.getElementById("audio"); audio.src = playlist.getCurrentSong().audioLink; audio.play(); } window.changePlaylist = changePlaylist; function updateUI(playlist) { const currentSong = playlist.getCurrentSong(); var player = document.getElementById("player"); player.querySelector("#cover").src = currentSong.getCoverLink(); player.querySelector("#title").textContent = currentSong.getTitle(); player.querySelector("#artist").textContent = currentSong.getArtist(); } window.updateUI = updateUI; function setupMusicPlayer() { playlist = new Playlist(); const song1 = new Song( "Hoedown", "Emerson, Lake & Palmer", "https://i.scdn.co/image/ab67616d0000b273a436626c69352dbc0e30d545", "https://file.garden/Z7qfmQZIZjO_xV5N/Hoedown.mp3" ); const song2 = new Song( "21st Century Schizoid Man", "King Crimson", "https://i.scdn.co/image/ab67616d0000b273da7b326bd7ffa7b6b95b0660", "https://file.garden/Z7qfmQZIZjO_xV5N/SchizoidMan.mp3" ); const song3 = new Song( "Cowboy Song", "Thin Lizzy", "https://i.scdn.co/image/ab67616d0000b273969b39bdb1cf1dad16d6514f", "https://file.garden/Z7qfmQZIZjO_xV5N/Cowboy%20Song.mp3" ); const song4 = new Song( "Won't Get Fooled Again", "The Who", "https://i.scdn.co/image/ab67616d0000b273d993d0cd47c0b948d36553c8", "https://file.garden/Z7qfmQZIZjO_xV5N/Riff.mp3" ); const song5 = new Song( "Gimme Some Truth", "John Lennon", "https://i.scdn.co/image/ab67616d0000b27399581550ef9746ca582bb3cc", "https://file.garden/Z7qfmQZIZjO_xV5N/GimmeSomeTruth.mp3" ); const song6 = new Song( "Peace Frog", "The Doors", "https://i.scdn.co/image/ab67616d0000b273f12a8a7e0b2cbe16d2bef4dc", "https://file.garden/Z7qfmQZIZjO_xV5N/PeaceFrog.mp3" ); playlist.addSong(song1); playlist.addSong(song2); playlist.addSong(song3); playlist.addSong(song4); playlist.addSong(song5); playlist.addSong(song6); const playerContainer = document.createElement("div"); playerContainer.id = "player"; const displayBox = document.createElement("div"); displayBox.id = "display-box"; const coverElement = document.createElement("img"); coverElement.id = "cover"; displayBox.appendChild(coverElement); const infoContainer = document.createElement("div"); infoContainer.id = "info-container"; infoContainer.style.backgroundImage = "url('https://files.catbox.moe/6sps0h.png')"; infoContainer.style.backgroundSize = "cover"; infoContainer.style.color = "#4C5F84"; const songInfo = document.createElement("div"); songInfo.id = "song-info"; const titleElement = document.createElement("h3"); titleElement.id = "title"; titleElement.style.fontWeight = 'normal'; songInfo.appendChild(titleElement); const artistElement = document.createElement("p"); artistElement.id = "artist"; songInfo.appendChild(artistElement); infoContainer.appendChild(songInfo); displayBox.appendChild(infoContainer); playerContainer.appendChild(displayBox); const controlsContainer = document.createElement("div"); controlsContainer.id = "controls-container"; const controls = document.createElement("div"); controls.id = "controls"; const volumeDownButton = document.createElement("img"); volumeDownButton.id = "volumeDownButton"; volumeDownButton.src = "https://files.catbox.moe/98uqyb.png"; volumeDownButton.alt = "Volume Down"; controls.appendChild(volumeDownButton); const prevButton = document.createElement("img"); prevButton.id = "prevButton"; prevButton.src = "https://files.catbox.moe/98uqyb.png "; prevButton.alt = "Previous"; controls.appendChild(prevButton); const playPauseButton = document.createElement("img"); playPauseButton.id = "playPauseButton"; playPauseButton.src = "https://files.catbox.moe/1xj93n.png"; playPauseButton.alt = "Play/Pause"; controls.appendChild(playPauseButton); const nextButton = document.createElement("img"); nextButton.id = "nextButton"; nextButton.src = "https://files.catbox.moe/fw6rgb.png"; nextButton.alt = "Next"; controls.appendChild(nextButton); const volumeUpButton = document.createElement("img"); volumeUpButton.id = "volumeUpButton"; volumeUpButton.src = "https://files.catbox.moe/fw6rgb.png"; volumeUpButton.alt = "Volume Up"; controls.appendChild(volumeUpButton); controlsContainer.appendChild(controls); playPauseButton.addEventListener("click", function () { const audio = document.getElementById("audio"); if (audio.paused) { audio.play(); playPauseButton.src = "https://files.catbox.moe/zlq0go.png"; } else { audio.pause(); playPauseButton.src = "https://files.catbox.moe/1xj93n.png"; } }); nextButton.addEventListener("click", function () { playlist.playNext(); updateUI(playlist); const audio = document.getElementById("audio"); audio.src = playlist.getCurrentSong().audioLink; audio.play(); rotateButton(nextButton, "right"); }); prevButton.addEventListener("click", function () { playlist.playPrevious(); updateUI(playlist); const audio = document.getElementById("audio"); audio.src = playlist.getCurrentSong().audioLink; audio.play(); rotateButton(prevButton, "left"); }); let currentVolume = 6; // Medium initial volume volumeUpButton.addEventListener("click", function () { const audio = document.getElementById("audio"); if (currentVolume < 20) { // Increased max volume range currentVolume++; audio.volume = currentVolume / 20; // Adjusted for new range rotateButton(volumeUpButton, "left"); } }); volumeDownButton.addEventListener("click", function () { const audio = document.getElementById("audio"); if (currentVolume > 0) { currentVolume--; audio.volume = currentVolume / 20; // Adjusted for new range rotateButton(volumeDownButton, "right"); } }); function rotateButton(button, direction) { const rotationAngle = direction === "left" ? "rotate(-15deg)" : "rotate(15deg)"; button.style.transform = rotationAngle; setTimeout(() => { button.style.transform = "rotate(0deg)"; }, 200); } const progressBarContainer = document.createElement("div"); progressBarContainer.id = "progress-bar-container"; const progressBar = document.createElement("progress"); progressBar.type = "range"; progressBar.id = "progress-bar"; progressBar.value = "0"; progressBar.max = "100"; progressBarContainer.appendChild(progressBar); controlsContainer.appendChild(progressBarContainer); playerContainer.appendChild(controlsContainer); const lipImage = document.createElement("div"); lipImage.id = "lip-overlay"; playerContainer.appendChild(lipImage); // Add the overlay as a child of #player gameWindow_player.insertAdjacentElement("afterend", playerContainer); function updateProgressBar() { const audio = document.getElementById("audio"); const progress = (audio.currentTime / audio.duration) * 100; try { progressBar.value = progress; } catch {} } progressBar.addEventListener("input", function () { const audio = document.getElementById("audio"); const seekTime = (progressBar.value / 100) * audio.duration; audio.currentTime = seekTime; }); const audio = document.createElement("audio"); audio.id = "audio"; audio.src = playlist.getCurrentSong().audioLink; audio.addEventListener("timeupdate", updateProgressBar); audio.addEventListener("ended", function () { playlist.playNext(); updateUI(playlist); audio.src = playlist.getCurrentSong().audioLink; audio.play(); }); document.body.appendChild(audio); audio.play(); updateUI(playlist); } const style = document.createElement("style"); style.textContent = ` #player { position: relative; /* Ensures child absolute elements are positioned relative to this */ border: 3px solid #c4c4c4; display: flex; flex-direction: row; height: 191px; background-image: url("https://files.catbox.moe/9zhlm5.png"); transition: transform 0.2s ease; } #lip-overlay { position: absolute; top: 0; /* Align at the top of the player */ left: 0; width: 100%; height: 100%; /* Same height as the #player */ z-index: 0; /* Brings it to the foreground */ pointer-events: none; /* Prevent interference with user interactions */ background-image: url('https://files.catbox.moe/jworzm.png'); background-size: cover; /* Ensures the image fills the container */ } #display-box { display: flex; align-items: center; width: 50%; } #cover { width: 176px; height: 176px; margin-left: 13px; } #info-container { display: flex; flex-direction: row; height: 178px; width: 127px; margin-top: 3px; } #song-info { width: 100%; padding: 5px; } #controls-container { display: flex; flex-direction: column; align-items: center; margin: 10px; width: 100%; padding-top: 30px; } #controls { display: flex; flex-direction: row; justify-content: center; height: 54px; width: 54px; } #volumeDownButton { height: 54px; width: 54px; } #prevButton { height: 54px; width: 54px; } #playPauseButton { height: 54px; width: 54px; } #nextButton { height: 54px; width: 54px; } #volumeUpButton { height: 54px; width: 54px; } #progress-bar-container { width: 100%; } #progress-bar { width: 80%; margin: auto; display: flex; margin-top: 24px; height: 8px; background-color: rgba(0, 0, 0, 0.5); border-radius: 5px; overflow: hidden; } #progress-bar::-webkit-progress-bar { background-color: rgba(0, 0, 0, 0.5); } #progress-bar::-webkit-progress-value { background-color: rgba(255, 255, 255, 0.5); } #progress-bar::-moz-progress-bar { background-color: rgba(255, 255, 255, 0.5); } `; document.head.appendChild(style); const gameWindow_player = document.getElementById("game_window"); setupMusicPlayer(); //Achievements campaignTrail_temp.achievements = { "Oh Dear": { "image": "https://i.imgur.com/PGBovgK.png", "description": "Defeat Strom Thurmond.", "cannotBeCheated": true }, "Lightning Bolt": { "image": "https://i.imgur.com/h4ZTki8.png", "description": "Defeat Spiro Agnew.", "cannotBeCheated": true }, "Fun City": { "image": "https://i.imgur.com/5p6YhhF.png", "description": "Defeat John Lindsay.", "cannotBeCheated": true }, "Just a Pretty Face": { "image": "https://i.imgur.com/3BRloIE.png", "description": "Defeat Chuck Percy.", "cannotBeCheated": true }, "Playing Defense": { "image": "https://i.imgur.com/htODmaq.png", "description": "Defeat John Tower.", "cannotBeCheated": true }, "Hell of a Close": { "image": "https://i.imgur.com/GAGr16W.png", "description": "Defeat Ronald Reagan.", "cannotBeCheated": true }, "Party of Jackson": { "image": "https://i.imgur.com/h4wNWAb.png", "description": "Defeat Edward Brooke.", "cannotBeCheated": true }, "Decanonized": { "image": "https://i.imgur.com/BRP2kKB.png", "description": "Defeat Mark Hatfield.", "cannotBeCheated": true }, "Stay Plastered": { "image": "https://i.imgur.com/4wBGU2h.png", "description": "Defeat James Buckley.", "cannotBeCheated": true }, "The End In Sight": { "image": "https://i.imgur.com/zThwk9S.png", "description": "Defeat William Westmoreland.", "cannotBeCheated": true }, "The Thing with Two Heads": { "image": "https://i.imgur.com/7eegQoD.png", "description": "Smash the last gasps of two dying movements.", "cannotBeCheated": true }, "Bye, Fella": { "image": "https://i.imgur.com/F1D88BO.png", "description": "Defeat Nelson Rockefeller.", "cannotBeCheated": true }, } //endcode1