|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: |
java script
function getElementsByClassName(strClass, strTag, objContElm) {
strTag = strTag || "*";
objContElm = objContElm || document;
var objColl = objContElm.getElementsByTagName(strTag);
if (!objColl.length && strTag == "*" && objContElm.all) objColl = objContElm.all;
var arr = new Array();
var delim = strClass.indexOf('|') != -1 ? '|' : ' ';
var arrClass = strClass.split(delim);
for (var i = 0, j = objColl.length; i < j; i++) {
var arrObjClass = objColl[i].className.split(' ');
if (delim == ' ' && arrClass.length > arrObjClass.length) continue;
var c = 0;
comparisonLoop:
for (var k = 0, l = arrObjClass.length; k < l; k++) {
for (var m = 0, n = arrClass.length; m < n; m++) {
if (arrClass[m] == arrObjClass[k]) c++;
if ((delim == '|' && c == 1) || (delim == ' ' && c == arrClass.length)) {
arr.push(objColl[i]);
break comparisonLoop;
}
}
}
}
return arr;
}
function testing(strClass)
{
var myObjColl = getElementsByClassName(strClass);
for (var i = 0, j = myObjColl.length; i < j; i++) {
myObjColl[i].className = myObjColl[i].className + ' commomshow';
}
}
function showMe (strClass,strClass1, box) {
var vis = (box.checked);
var myObjColl = getElementsByClassName(strClass);
var myObjCol2 = getElementsByClassName(strClass1);
if(vis==true)
{
for (var i = 0, j = myObjColl.length; i < j; i++) {
myObjColl[i].className = myObjColl[i].className + 'commomshow';
myObjCol2[i].className = myObjCol2[i].className + 'commomshow';
}
}
else{
for (var i = 0, j = myObjColl.length; i < j; i++) {
myObjColl[i].className = myObjColl[i].className + 'display:none';
myObjCol2[i].className = myObjCol2[i].className + 'display:none';
}
}
}
display tag code
here is the code
<display:table id="data2" class="displaytag" name="otherData" requestURI="/Other.action" export="true" style="font-family: Arial;" sort="external">
<%-- <display:column property="clinicianid" title="Clinician<br/>Id" sortable="true" style="font-family: Arial;width:100px" />
<display:column property="clinicianname" title="Clinician<br/>Name" sortable="true" style="font-family: Arial;width:100px"/> --%>
<display:column title="MRN" sortable="true" style="font-family: Arial;width:100px" media="html" sortProperty="clientid"><a href="/org.kp.psychoutcomes.toolkit/graph.action?client_id=<c:out value="${data2.clientid}"/>" target="_blank"> <c:out value="${data2.clientid}"/> </a></display:column>
<display:column property="nickname" title="Patient<br/>Name" sortable="true" media="html" style="font-family: Arial;width:100px"/>
<display:column property="recentdate" title="Recent<br/>GDS</br>Date" sortable="true" media="html" style="font-family: Arial;width:100px" format="{0,date,MM-dd-yyyy}" />
<%-- <display:column property="gdsscore" title="Most<br/>Recent<br/>GDS" sortable="true" media="html" style="font-family: Arial;width:100px" format="{0,number,0.00}" /> --%>
<display:column title="Most<br/>Recent<br/>GDS" sortable="true" style="font-family: Arial;width:100px" sortProperty="gdsscore">
<c:choose>
<c:when test="${data2.gdsscore>= 2.5}"><b><font color="red"><c:out value="${data2.gdsscore}" /></font> </b></c:when>
<c:when test="${data2.gdsscore<= 1.6}"><b><font color="green"><c:out value="${data2.gdsscore}"/></font> </b></c:when>
<c:otherwise><b><font color="black"><c:out value="${data2.gdsscore}"/></font></b></c:otherwise>
</c:choose>
</display:column>
<display:column property="symptoms" title="Symptoms" sortable="true" maxLength="40" media="html" class="sym" headerClass="sym" style="font-family: Arial;width:100px" format="{0,number,0.00}" />
<display:column property="harm" title="Harm</br>Risk" sortable="true" maxLength="40" media="html" class="harm" headerClass="harm" style="font-family: Arial;width:100px" format="{0,number,0.00}" />
<display:column property="function1" title="Work<br/>Functioning" sortable="true" media="html" maxLength="40" class="function123" headerClass="function123" style="font-family: Arial;width:100px" format="{0,number,0.00}" />
<display:column property="social" title="Social</br>Functioning" sortable="true" media="html" maxLength="40" class="social" headerClass="social" style="font-family: Arial;width:100px" format="{0,number,0.00}" />
<display:column property="sa" title="Substance<br/>Abuse" sortable="true" media="html" maxLength="40" class="sa" headerClass="sa" style="font-family: Arial;width:100px" format="{0,number,0.00}" />
<display:column property="alliance" title="Goodness<br/>of<br/>Fit" media="html" sortable="true" maxLength="40" style="font-family: Arial;width:100px" format="{0,number,0.00}" />
<%-- <display:column property="gdsassessnum1" title="First<br/>GDS" sortable="true" maxLength="40" class="gdsaccess" headerClass="gdsaccess" style="font-family: Arial;width:100px" format="{0,number,0.00}" /> --%>
<display:column property="assessnum" title="Assessment<br/>Number" media="html" sortable="true" maxLength="40" class="assessnum" headerClass="assessnum" style="font-family: Arial;width:100px"/>
<display:column property="changescore" title="Change<br/>Score" media="html" sortable="true" maxLength="40" class="cs" headerClass="cs" style="font-family: Arial;width:100px" format="{0,number,0.00}" />
<display:column property="gdstarget" title="GDS<br/>Target" media="html" sortable="true" class="gt" headerClass="gt" style="font-family: Arial;width:100px" format="{0,number,0.00}" />
<%-- <display:column title="Status of Current</br>Treatment Episode" sortable="true" media="html" style="font-family: Arial;width:100px"> <s:a href="javascript:void(0);" onmouseover="return overlib('This is popup demo on the tag element<br>' +'The display is',TEXTFONTCLASS,'oltxt',FGCOLOR,'#bbddff',TEXTPADDING,6, WRAP,BASE,2,CENTER,VAUTO,OFFSETY,18,STATUS,' ');"
onmouseout="nd();"><c:out value="${data2.status}"/></s:a> </display:column> --%>
<c:url value="/login/popupnarrative.jsp" var="displayURL">
<c:param name="patient_id" value="${data2.clientid}" />
<c:param name="gdssore" value="${data2.gdsscore}"/>
</c:url>
<display:column title="Status of Current</br>Treatment Episode" sortable="true" style="font-family: Arial;width:100px" media="html" sortName="status"><a href="javascript:void(0);" onmouseover="return OLgetAJAX('<c:out value="${displayURL}"/>', OLcmdExT1,0,'ovfl1');" onmouseout="OLclearAJAX();nd(1);"> <c:out value="${data2.status}"/> </a></display:column>
</display:table>
|
Advertisement
| Hall of Fame |