Raw Data Interactivity Test

In this example below you will see how to do a Raw Data Interactivity Test with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by TVR, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright TVR ©
  • HTML
  • CSS
  • JavaScript
    <p>
<span class="field" title="MSH-x Field Name">MSH</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">^~\&</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">PYXIS</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">PYXIS</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">HOSTAPPL</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">HOSTFACILITY</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">20160321200322</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">&nbsp;</span><span class="pipe">|</span><span class="field problem" title="MSH-x Field Name">1234</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">EVM^03212016200322</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">P</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">2.3</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">&nbsp;</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">&nbsp;</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">&nbsp;</span><span class="pipe">|</span><span class="field problem" title="MSH-x Field Name">&lt;EMPTY&gt;</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">&nbsp;</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">&nbsp;</span><span class="pipe">|</span><span class="field" title="MSH-x Field Name">&nbsp;</span>
</p>

/*Downloaded from https://www.codeseek.co/TVR/raw-data-interactivity-test-dpobpo */
    body {
  font-family: verdana;
  font-size: 12px;
}
p {
  cursor: default;
}
.field:hover {
  background: #ddd;
}
.pipe {
  color:  #ddd;
}
.problem,
.problem:hover {
  color: white;
  background: red;
}


/*Downloaded from https://www.codeseek.co/TVR/raw-data-interactivity-test-dpobpo */
    

Comments