Commit 166797be authored by pelibby16's avatar pelibby16
Browse files

Revert "add data and searchbar js"

This reverts commit 24c95c68
parent 24c95c68
...@@ -36,11 +36,7 @@ ...@@ -36,11 +36,7 @@
<link rel="apple-touch-icon" href="icon.png"> <link rel="apple-touch-icon" href="icon.png">
<link rel="stylesheet" href="public/css/main.css"> <link rel="stylesheet" href="public/css/main.css">
<!-- DATA REFERENCES -->
<script src="public/data/data.js"></script>
<!-- SCRIPT REFERENCES --> <!-- SCRIPT REFERENCES -->
<script src="public/js/searchBar.js"></script>
</head> </head>
...@@ -97,7 +93,7 @@ ...@@ -97,7 +93,7 @@
<!-- MAIN CONTENT AREA (padded scrollable area) --> <!-- MAIN CONTENT AREA (padded scrollable area) -->
<div id='main-content'> <div id='main-content'>
<!-- Carousel --> <!-- Block 1 -->
<div id="create-carousel" class="carousel slide" data-ride="carousel"> <div id="create-carousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators"> <ol class="carousel-indicators">
<li data-target="#create-carousel" data-slide-to="0" class="active"></li> <li data-target="#create-carousel" data-slide-to="0" class="active"></li>
...@@ -129,12 +125,8 @@ ...@@ -129,12 +125,8 @@
</div> </div>
<!-- Block 1 --> <!-- Block 1 -->
<div id='block-1' class='block'> <div class='block'>
<span class='section-prompt'>1. Type the name of a major you are interested in</span> <span class='section-prompt'>1. Type the name of a major you are interested in</span>
<script>
var parent = document.getElementById('block-1');
create_searchbar(parent,'major_selection');
</script>
</div> </div>
<!-- Block 2 --> <!-- Block 2 -->
......
var dictionary = {
"first_year_advising": "This is placeholder information for the FIRST YEAR ADVISING block.",
"career_exploration": "This is placeholder information for the CAREER EXPLORATION block.",
"career_community": "This is placeholder information for the CAREER COMMUNITY block.",
"campus_life": [
"a campus life example 1",
"b campus life example 2",
"c campus life example 3",
"d campus life example 1",
"e campus life example 2",
"f campus life example 3",
"g campus life example 1",
"h campus life example 2",
"i campus life example 3",
"j campus life example 1",
"k campus life example 2",
"l campus life example 3",
"m campus life example 1",
"n campus life example 2",
"o campus life example 3",
"p campus life example 1",
"q campus life example 2",
"r campus life example 3",
"s campus life example 1",
"t campus life example 2",
"u campus life example 3",
"v campus life example 1",
"w campus life example 2",
"x campus life example 3",
"y campus life example 1",
"z campus life example 2"
],
"community_engagement": [
"community engagement 1",
"community engagement 2"
],
"major_selection": [
"African and African American Studies",
"Ancient and Classical Studies",
"Archaeology",
"Art",
"Athletics Wellness and Physical Education",
"Biochemistry",
"Biology",
"Chemistry",
"Chinese Languages",
"Chinese Studies",
"Comparative Languages and Linguistics",
"Computer Science",
"East Asian Studies",
"Economics",
"English",
"Environmental Sustainability",
"Film Studies",
"French and Francophone Studies",
"Geology",
"German Language and Literature",
"Global Management",
"History",
"Human Development and Social Relations",
"International Studies",
"Japanese Language and Linguistics",
"Japanese Studies",
"Jewish Studies",
"Languages and Cultures",
"Master of Arts in Teaching",
"Master of Education",
"Mathematics",
"Museum Studies",
"Music",
"Neuroscience",
"Peace and Global Studies",
"Philosophy",
"Physics and Astronomy",
"Politics",
"Psychology",
"Public Health",
"Public Policy",
"Religion",
"Sociology and Anthropology",
"Spanish and Hispanic Studies",
"Teaching English to Speakers of Other Languages",
"Theatre Arts",
"Women's Gender Sexuality Studies"
],
"research": [
"research option 1",
"research option 2",
"research option 3"
],
"internship": [
"internship option 1",
"internship option 2",
"internship option 3"
],
"off_campus_study": [
"offcampus study 1",
"offcampus study 2",
"offcampus study 3"
],
"career": [
"accountant",
"actor",
"actuary",
"adhesive bonding machine tender",
"adjudicator",
"administrative assistant",
"administrative services manager",
"adult education teacher",
"advertising manager",
"advertising sales agent",
"aerobics instructor",
"aerospace engineer",
"aerospace engineering technician",
"agent",
"agricultural engineer",
"agricultural equipment operator",
"agricultural grader",
"agricultural inspector",
"agricultural manager",
"agricultural sciences teacher",
"agricultural sorter",
"agricultural technician",
"agricultural worker",
"air conditioning installer",
"air conditioning mechanic",
"air traffic controller",
"aircraft cargo handling supervisor",
"aircraft mechanic",
"aircraft service technician",
"airline copilot",
"airline pilot",
"ambulance dispatcher",
"ambulance driver",
"amusement machine servicer",
"anesthesiologist",
"animal breeder",
"animal control worker",
"animal scientist",
"animal trainer",
"animator",
"answering service operator",
"anthropologist",
"apparel patternmaker",
"apparel worker",
"arbitrator",
"archeologist",
"architect",
"architectural drafter",
"architectural manager",
"archivist",
"art director",
"art teacher",
"artist",
"assembler",
"astronomer",
"athlete",
"athletic trainer",
"ATM machine repairer",
"atmospheric scientist",
"attendant",
"audio and video equipment technician",
"audio-visual and multimedia collections specialist",
"audiologist",
"auditor",
"author",
"auto damage insurance appraiser",
"automotive and watercraft service attendant",
"automotive glass installer",
"automotive mechanic",
"avionics technician",
"baggage porter",
"bailiff",
"baker",
"barback",
"barber",
"bartender",
"basic education teacher",
"behavioral disorder counselor",
"bellhop",
"bench carpenter",
"bicycle repairer",
"bill and account collector",
"billing and posting clerk",
"biochemist",
"biological technician",
"biomedical engineer",
"biophysicist",
"blaster",
"blending machine operator",
"blockmason",
"boiler operator",
"boilermaker",
"bookkeeper",
"boring machine tool tender",
"brazer",
"brickmason",
"bridge and lock tender",
"broadcast news analyst",
"broadcast technician",
"brokerage clerk",
"budget analyst",
"building inspector",
"bus mechanic",
"butcher",
"buyer",
"cabinetmaker",
"cafeteria attendant",
"cafeteria cook",
"camera operator",
"camera repairer",
"cardiovascular technician",
"cargo agent",
"carpenter",
"carpet installer",
"cartographer",
"cashier",
"caster",
"ceiling tile installer",
"cellular equipment installer",
"cement mason",
"channeling machine operator",
"chauffeur",
"checker",
"chef",
"chemical engineer",
"chemical plant operator",
"chemist",
"chemistry teacher",
"chief executive",
"child social worker",
"childcare worker",
"chiropractor",
"choreographer",
"civil drafter",
"civil engineer",
"civil engineering technician",
"claims adjuster",
"claims examiner",
"claims investigator",
"cleaner",
"clinical laboratory technician",
"clinical laboratory technologist",
"clinical psychologist",
"coating worker",
"coatroom attendant",
"coil finisher",
"coil taper",
"coil winder",
"coin machine servicer",
"commercial diver",
"commercial pilot",
"commodities sales agent",
"communications equipment operator",
"communications teacher",
"community association manager",
"community service manager",
"compensation and benefits manager",
"compliance officer",
"composer",
"computer hardware engineer",
"computer network architect",
"computer operator",
"computer programmer",
"computer science teacher",
"computer support specialist",
"computer systems administrator",
"computer systems analyst",
"concierge",
"conciliator",
"concrete finisher",
"conservation science teacher",
"conservation scientist",
"conservation worker",
"conservator",
"construction inspector",
"construction manager",
"construction painter",
"construction worker",
"continuous mining machine operator",
"convention planner",
"conveyor operator",
"cook",
"cooling equipment operator",
"copy marker",
"correctional officer",
"correctional treatment specialist",
"correspondence clerk",
"correspondent",
"cosmetologist",
"cost estimator",
"costume attendant",
"counseling psychologist",
"counselor",
"courier",
"court reporter",
"craft artist",
"crane operator",
"credit analyst",
"credit checker",
"credit counselor",
"criminal investigator",
"criminal justice teacher",
"crossing guard",
"curator",
"custom sewer",
"customer service representative",
"cutter",
"cutting machine operator",
"dancer",
"data entry keyer",
"database administrator",
"decorating worker",
"delivery services driver",
"demonstrator",
"dental assistant",
"dental hygienist",
"dental laboratory technician",
"dentist",
"derrick operator",
"designer",
"desktop publisher",
"detective",
"diagnostic medical sonographer",
"die maker",
"diesel engine specialist",
"dietetic technician",
"dietitian",
"dinkey operator",
"director",
"dishwasher",
"dispatcher",
"door-to-door sales worker",
"drafter",
"dragline operator",
"drama teacher",
"dredge operator",
"dressing room attendant",
"dressmaker",
"drier operator",
"drilling machine tool operator",
"dry-cleaning worker",
"drywall installer",
"dyeing machine operator",
"earth driller",
"economics teacher",
"economist",
"editor",
"education administrator",
"electric motor repairer",
"electrical electronics drafter",
"electrical engineer",
"electrical equipment assembler",
"electrical installer",
"electrical power-line installer",
"electrician",
"electro-mechanical technician",
"elementary school teacher",
"elevator installer",
"elevator repairer",
"embalmer",
"emergency management director",
"emergency medical technician",
"engine assembler",
"engineer",
"engineering manager",
"engineering teacher",
"english language teacher",
"engraver",
"entertainment attendant",
"environmental engineer",
"environmental science teacher",
"environmental scientist",
"epidemiologist",
"escort",
"etcher",
"event planner",
"excavating operator",
"executive administrative assistant",
"executive secretary",
"exhibit designer",
"expediting clerk",
"explosives worker",
"extraction worker",
"fabric mender",
"fabric patternmaker",
"fabricator",
"faller",
"family practitioner",
"family social worker",
"family therapist",
"farm advisor",
"farm equipment mechanic",
"farm labor contractor",
"farmer",
"farmworker",
"fashion designer",
"fast food cook",
"fence erector",
"fiberglass fabricator",
"fiberglass laminator",
"file clerk",
"filling machine operator",
"film and video editor",
"financial analyst",
"financial examiner",
"financial manager",
"financial services sales agent",
"fine artist",
"fire alarm system installer",
"fire dispatcher",
"fire inspector",
"fire investigator",
"firefighter",
"fish and game warden",
"fish cutter",
"fish trimmer",
"fisher",
"fitness studies teacher",
"fitness trainer",
"flight attendant",
"floor finisher",
"floor layer",
"floor sander",
"floral designer",
"food batchmaker",
"food cooking machine operator",
"food preparation worker",
"food science technician",
"food scientist",
"food server",
"food service manager",
"food technologist",
"foreign language teacher",
"foreign literature teacher",
"forensic science technician",
"forest fire inspector",
"forest fire prevention specialist",
"forest worker",
"forester",
"forestry teacher",
"forging machine setter",
"foundry coremaker",
"freight agent",
"freight mover",
"fundraising manager",
"funeral attendant",
"funeral director",
"funeral service manager",
"furnace operator",
"furnishings worker",
"furniture finisher",
"gaming booth cashier",
"gaming cage worker",
"gaming change person",
"gaming dealer",
"gaming investigator",
"gaming manager",
"gaming surveillance officer",
"garment mender",
"garment presser",
"gas compressor",
"gas plant operator",
"gas pumping station operator",
"general manager",
"general practitioner",
"geographer",
"geography teacher",
"geological engineer",
"geological technician",
"geoscientist",
"glazier",
"government program eligibility interviewer",
"graduate teaching assistant",
"graphic designer",
"groundskeeper",
"groundskeeping worker",
"gynecologist",
"hairdresser",
"hairstylist",
"hand grinding worker",
"hand laborer",
"hand packager",
"hand packer",
"hand polishing worker",
"hand sewer",
"hazardous materials removal worker",
"head cook",
"health and safety engineer",
"health educator",
"health information technician",
"health services manager",
"health specialties teacher",
"healthcare social worker",
"hearing officer",
"heat treating equipment setter",
"heating installer",
"heating mechanic",
"heavy truck driver",
"highway maintenance worker",
"historian",
"history teacher",
"hoist and winch operator",
"home appliance repairer",
"home economics teacher",
"home entertainment installer",
"home health aide",
"home management advisor",
"host",
"hostess",
"hostler",
"hotel desk clerk",
"housekeeping cleaner",
"human resources assistant",
"human resources manager",
"human service assistant",
"hunter",
"hydrologist",
"illustrator",
"industrial designer",
"industrial engineer",
"industrial engineering technician",
"industrial machinery mechanic",
"industrial production manager",
"industrial truck operator",
"industrial-organizational psychologist",
"information clerk",
"information research scientist",
"information security analyst",
"information systems manager",
"inspector",
"instructional coordinator",
"instructor",
"insulation worker",
"insurance claims clerk",
"insurance sales agent",
"insurance underwriter",
"intercity bus driver",
"interior designer",
"internist",
"interpreter",
"interviewer",
"investigator",
"jailer",
"janitor",
"jeweler",
"judge",
"judicial law clerk",
"kettle operator",
"kiln operator",
"kindergarten teacher",
"laboratory animal caretaker",
"landscape architect",
"landscaping worker",
"lathe setter",
"laundry worker",
"law enforcement teacher",
"law teacher",
"lawyer",
"layout worker",
"leather worker",
"legal assistant",
"legal secretary",
"legislator",
"librarian",
"library assistant",
"library science teacher",
"library technician",
"licensed practical nurse",
"licensed vocational nurse",
"life scientist",
"lifeguard",
"light truck driver",
"line installer",
"literacy teacher",
"literature teacher",
"loading machine operator",
"loan clerk",
"loan interviewer",