Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1007 B

  1. <%
  2. function heading(colwidth,thestring,sortstr)
  3. dim writeStr, listSort
  4. listSort = Session("ListSort")
  5. writeStr = "<TD VALIGN='bottom' WIDTH = " & colwidth & " BORDERCOLOR=" & Session("BGCOLOR") & " BORDERCOLORDARK='#FFFFFF' BORDERCOLORLIGHT='#000000'"
  6. if listSort and (sortstr <> "") then
  7. if Session("hasDHTML") then
  8. writeStr = writeStr & " OnCLick=" & quote & "parent.head.sortList('" & sortstr & "');" & quote
  9. writeStr = writeStr & " style='cursor: hand;'"
  10. writeStr = writeStr & ">"
  11. writeStr = writeStr & sFont("","","",True)
  12. writeStr = writeStr & thestring
  13. else
  14. writeStr = writeStr & ">"
  15. writeStr = writeStr & sFont("","","",True)
  16. writeStr = writeStr & "<A HREF = " & quote & "javascript:parent.head.sortList('"& sortstr & "');" & quote & ">" & thestring & "</A>"
  17. end if
  18. else
  19. writeStr = writeStr & ">"
  20. writeStr = writeStr & sFont("","","",True)
  21. writeStr = writeStr & thestring
  22. end if
  23. writeStr = writeStr & "</TD>"
  24. heading = writeStr
  25. end function
  26. %>