1jQuery(document).ready(function(){ 2 3 if(jQuery("#spectrum_of_conditions").length){ 4 jQuery("#spectrum_of_conditions").hotspot({ 5 mode: 'display', 6 data: [ 7 { 8 "x": 52.4, 9 "y": 12.75, 10 "Title": "Hay Fever", 11 "Message": "<div class='one-column'><ul><li>Nasal symptoms, including congestion, constantly runny nose or postnasal drip, repetitive sneezing</li><li>Itchy nose, throat and eyes</li><li>Red, puffy watery eyes</li></ul></div>" 12 }, 13 { 14 "x": 60.75, 15 "y": 16.1, 16 "Title": "Nasal Polyps", 17 "Message": "<div class='one-column'><ul><li>Nasal symptoms, including congestion, constantly runny nose or postnasal drip, repetitive sneezing</li><li>Decreased or loss of sense of smell</li><li>Snoring</li></ul></div>" 18 }, 19 { 20 "x": 49.1, 21 "y": 40.8, 22 "Title": "EoE", 23 "Message": "<span>Symptoms vary by age:</span><div class='two-column'><div class='left-column'>Infants and children:<br><ul><li>Feeding difficulties</li><li>Failure to thrive</li><li>Irritability </li><li>Spit up or vomit</li></ul></div><div class='right-column'>Adolescents and adults:<br><ul><li>Difficulty swallowing</li><li>Food stuck in esophagus</li><li>Chest pain</li></ul></div></div>" 24 }, 25 { 26 "x": 40.4, 27 "y": 54.3, 28 "Title": "Asthma", 29 "Message": "<div class='one-column'><ul><li>Frequent coughing and/or wheezing, especially at night or during and after exercise</li><li>Trouble breathing</li><li>Chest tightness</li></ul></div>" 30 }, 31 { 32 "x": 45.35, 33 "y": 82.8, 34 "Title": "Food allergies", 35 "Message": "<div class='two-column'><div class='left-column'>Common<ul><li>Hives</li><li>Swelling</li><li>Nausea, vomiting, diarrhea</li><li>Constantly runny nose</li><li>Trouble breathing</li><li>Chest tightness and wheezing</li><li>Dizziness</li></ul></div><div class='right-column'>Severe (Anaphylaxis)<ul><li>Rapid pulse/heart rate</li><li>Low blood pressure</li><li>Shock</li><li>Loss of consciousness</li></ul></div></div>" 36 }, 37 { 38 "x": 77.44, 39 "y": 87.9, 40 "Title": "Eczema", 41 "Message": "<div class='one-column'><ul><li>Skin redness</li><li>Severe itching</li><li>Dry skin, which can crack and bleed</li></ul></div>" 42 }, 43 ], 44 interactivity: "hover" 45 }); 46 47 jQuery("#spectrum_of_conditions_mobile_view").hotspot({ 48 mode: 'display', 49 data: [ 50 { 51 "x": 51.5, 52 "y": 11.5, 53 "Title": "Hay Fever", 54 "Message": "<div class='one-column'><ul><li>Nasal symptoms, including congestion, constantly runny nose or postnasal drip, repetitive sneezing</li><li>Itchy nose, throat and eyes</li><li>Red, puffy watery eyes</li></ul></div>" 55 }, 56 { 57 "x": 60, 58 "y": 15, 59 "Title": "Nasal Polyps", 60 "Message": "<div class='one-column'><ul><li>Nasal symptoms, including congestion, constantly runny nose or postnasal drip, repetitive sneezing</li><li>Decreased or loss of sense of smell</li><li>Snoring</li></ul></div>" 61 }, 62 { 63 "x": 48.1, 64 "y": 39.8, 65 "Title": "EoE", 66 "Message": "<span>Symptoms vary by age:</span><div class='two-column'><div class='left-column'>Infants and children:<br><ul><li>Feeding difficulties</li><li>Failure to thrive</li><li>Irritability </li><li>Spit up or vomit</li></ul></div><div class='right-column'>Adolescents and adults:<br><ul><li>Difficulty swallowing</li><li>Food stuck in esophagus</li><li>Chest pain</li></ul></div></div>" 67 }, 68 { 69 "x": 39.4, 70 "y": 53.3, 71 "Title": "Asthma", 72 "Message": "<div class='one-column'><ul><li>Frequent coughing and/or wheezing, especially at night or during and after exercise</li><li>Trouble breathing</li><li>Chest tightness</li></ul></div>" 73 }, 74 { 75 "x": 44.35, 76 "y": 81.8, 77 "Title": "Food allergies",
78 "Message": "<div class='two-column'><div class='left-column'>Common<ul><li>Hives</li><li>Swelling</li><li>Nausea, vomiting, diarrhea</li><li>Constantly runny nose</li><li>Trouble breathing</li><li>Chest tightness and wheezing</li><li>Dizziness</li></ul></div><div class='right-column'>Severe (Anaphylaxis)<ul><li>Rapid pulse/heart rate</li><li>Low blood pressure</li><li>Shock</li><li>Loss of consciousness</li></ul></div></div>" 79 }, 80 { 81 "x": 76.44, 82 "y": 86.9, 83 "Title": "Eczema", 84 "Message": "<div class='one-column'><ul><li>Skin redness</li><li>Severe itching</li><li>Dry skin, which can crack and bleed</li></ul></div>" 85 }, 86 ], 87 interactivity: "click" 88 }); 89 90 jQuery("#spectrum_of_conditions_mobile_view").on("click", ".HotspotPlugin_Hotspot", function(){ 91 var index = jQuery(this).index(); 92 if(jQuery("#spectrum_of_conditions_mobile_view").find(".HotspotPlugin_Hotspot").length > 6){ 93 index = index - 7; 94 }else{ 95 index = index - 1; 96 } 97 var hotspot_class = "spectrum_of_conditions_mobile_hotspot_" + index; 98 99 jQuery(this).find('div').hide(); 100 jQuery("#spectrum_of_conditions_mobile_view_hotspots > div").removeClass("show"); 101 jQuery("#spectrum_of_conditions_mobile_view_hotspots").find("." + hotspot_class).toggleClass("show"); 102 }); 103 } 104});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.