Maptitude - http://research.umbc.edu/~roswell/maptitude.html

Tip #2: Editing an Info window in MT4W

It will fall to anyone who wants to make a real application look good 
to sort through all the ASP code, HTML, javascript, etc, and make
modifications.

I found that I made 3 changes in the 2426-line file "gislib.asp" towards a
more friendly Info tool. (I've made additional edits to other files, as
well, but this is the first step in documenting them.)

------- My changes in gislib.asp -----------
Line 584:  Provide a more app-friendly message when you don't click on a
           geographic region.
Line 2383  Provide a friendlier table heading
Line 2387: Change the table row alignment (not always necessary,
           but helpful for numeric tables)


Details below, if you ever want to sort through them.



Compare: (<)D:\Inetpub\wwwroot\Original\include\gislib.asp 
   with: (>)D:\Inetpub\wwwroot\Changes\include\gislib.asp 

584c584
<    Response.Write("<p><h4> Cannot locate nearest record. <br> " &
Page.ErrorMessage & "</h4><p>")
---
>    Response.Write("<p><h4> Please click on a county. <br> " &
Page.ErrorMessage & "</h4><p>")

2383c2383
<         Response.Write("<TR BGCOLOR=""" & Page.TableColor &
"""  FGCOLOR=""" & Page.TextColor & """><TD COLSPAN=""2"" ALIGN=""LEFT"">
<FONT size=-1> <B> " & Page.SiteLayer & " Information </B> </FONT> </TD>
</TR>" & vbCr)
---
>         Response.Write("<TR BGCOLOR=""" & Page.TableColor &
"""  FGCOLOR=""" & Page.TextColor & """><TD
COLSPAN=""2"" ALIGN=""center""> <FONT size=-1> <B> " & "MCO Information
</B> </FONT> </TD> </TR>" & vbCr)

2387c2387
<                Response.Write("<TR BGCOLOR=""" & row_color &
"""><TD><FONT size=-1><B>" & field_name & "</B></FONT></TD>" & vbCr)
---
>                Response.Write("<TR ALIGN=""right"" BGCOLOR=""" &
row_color & """><TD><FONT size=-1><B>" & field_name & "</B></FONT></TD>" &
vbCr)


_________________________________________________________
            Marjorie Roswell, Spatial Analyst
UMBC Center for Health Program Development and Management
1000 Hilltop Circle                     Fx: (410)455-6850
Baltimore, MD 21250                   E: [EMAIL PROTECTED]
Ph: (410)455-6802    http://umbc.edu/~roswell/mipage.html
_________________________________________________________


______________________________________________________________________
To unsubscribe, write to [EMAIL PROTECTED]

Start Your Own FREE Email List at http://www.listbot.com/links/joinlb

Reply via email to