Widget:PillIdentifier: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 194: | Line 194: | ||
// index of the .each() loop. | // index of the .each() loop. | ||
// | // | ||
var pillContainer ='<div class="pillResult"> | var pillContainer ='<div class="pillResult">' + | ||
<a href="'+drugNameLink+'"> | '<a href="'+drugNameLink+'">' + | ||
<img src="'+imageDirect+'" alt"'+drugNameShort+'"> | '<img src="'+imageDirect+'" alt"'+drugNameShort+'">' + | ||
</a> | '</a>' + | ||
<div class="pillResult-text"> | ' <div class="pillResult-text">' + | ||
<h1><a href="'+drugNameLink+'">'+drugNameShort+'</a></h1> | '<h1><a href="'+drugNameLink+'">'+drugNameShort+'</a></h1>' + | ||
<h2>'+pillDosage+'</h2> | '<h2>'+pillDosage+'</h2>' + | ||
<p>'+pillShape+', '+pillColor+', '+pillSize+' mm, NDC'+ndc+'</p> | '<p>'+pillShape+', '+pillColor+', '+pillSize+' mm, NDC'+ndc+'</p>'+ | ||
<p>'+pillIngred+'</p> | '<p>'+pillIngred+'</p>' + | ||
</div> | '</div>' + | ||
</div>' | '</div>'; | ||
//Add Values to the cells: | //Add Values to the cells: |