Please forgive the untidiness of this code but I have to deal with fitting
code into FrontPage ...... (Yuk)

The idea is that there is an a-z across the top with the schoolnames
grouped beneath..

a b c d e f g h i j k l m n o p q r s t u v w x y z

Albert School
Alan School
----------------------------------------------------
Brenda School
_____________________________
Charlie School



etc etc.....

When the user clicks C it jumps to C if they click f it jumps to F. etc
etc. I have this working fine in static HTML but I thin kI am messing up
somewhere with this escaping the #.  When I click any letter it always
jumps to the same place (which happens to be C).

Can anyone see the error


<!--- A- Z Reference across the top --->

                  <cfparam name="url.letter" default="b">

              <cfquery name="select_az" datasource="schoolsBudget">
      SELECT schoolName, dfesNo, LEFT(schoolName,1) AS firstletter
      FROM "table$"
      ORDER BY SchoolName
</cfquery>


                  <table border="0" width="100%" cellspacing="0"
cellpadding="0">
                        <tr>
                    <td valign="top" align="left" width="1">
                              </td>
                              <cfoutput query="select_az" group
="firstletter">
                    <td valign="top" align="left" width="22">
                                    <font face="arial, Arial,
Helvetica"><b>
                                    <font face="Arial" size="2" color="
##000080">

<a href="###firstLetter#" target=_self>#firstLetter#</a>

                                    </font></b></font>
                              </td>
                    </cfoutput>
                    <td valign="top" align="left" width="19">
                                    <!--mstheme--><font face="arial, Arial,
Helvetica"><!--mstheme--></font>
                              </td>
                </tr>
              </table>

              <!--- End of A-Z Refereence --->

                  <!--- Info between two blue lines --->
              <div align="left">
                <!--mstheme--></font><table border="0" cellpadding="0"
cellspacing="0" width="100%"
                style="padding-left: 1; padding-right: 1; padding-top: 0;
padding-bottom: 0">
                  <tr>
                    <td valign="top" align="left"><!--mstheme--><font face
="arial, Arial, Helvetica"><font
                      face="Arial" size="2"><b><img
                      border="0" src="images/bline546.gif" width="546"
height="13"></b></font><!--mstheme--></font></td>
                    <td valign="top" align="right"><!--mstheme--><font face
="arial, Arial, Helvetica"><!--mstheme--></font></td>
                  </tr>
                  <tr>
                    <td valign="top" align="left"><!--mstheme--><font face
="arial, Arial, Helvetica"><font face="Arial"
                      size="2">Click any school name to view its individual
                      Budget Share, Standards Fund and Notional SEN.</font>
<!--mstheme--></font></td>
                    <td valign="top" align="right"><!--mstheme--><font face
="arial, Arial, Helvetica"><!--mstheme--></font></td>
                  </tr>
                          <tr>
                    <td valign="top" align="left"><!--mstheme--><font face
="arial, Arial, Helvetica"><img
                      border="0" src="images/bline546.gif" width="546"
height="14"></a><!--mstheme--></font></td>
                    <td valign="top" align="right"><!--mstheme--><font face
="arial, Arial, Helvetica"><img border="0"
                      src="images/z027x004.gif" width="27" height="4"><!
--mstheme--></font></td>
                  </tr>
                          <!--- end of info between blue lines --->


                          <cfoutput query="select_az" group="firstletter">




                              <cfoutput>
                                    <tr>
                    <td valign="top" align="left">
                                    <!--mstheme-->
                                    <font face="arial, Arial, Helvetica">
                                    <font class="featureblack">
                                    <a href="choose.htm" target="_self"><b>
                                    <font face="Arial" size="2">
#select_az.schoolName# </font></b></a><b>
                                    <font face="Arial" size="2"><br>
                        </font></b></font><!--mstheme--></font>
                              </td>
                    <td valign="top" align="right"><!--mstheme--><font face
="arial, Arial, Helvetica"><!--mstheme--></font></td>
                  </tr>
                              </cfoutput>


                                    <tr>
                    <td valign="top" align="left"><!--mstheme-->
                              <font face="arial, Arial, Helvetica">
                              <font size="2" face="Arial"><b>
                                <a name="###select_az.firstletter#"><img
                      border="0" src="images/bline546.gif" width="546"
height="14"></a></b></font><!--mstheme--></font></td>
                    <td valign="top" align="right"><!--mstheme--><font face
="arial, Arial, Helvetica">
                              <a href="##top" target="_self">
                              <img border="0" src="images/toparrow.gif"
width="25" height="14"></a><!--mstheme--></font></td>
                  </tr>

                        </cfoutput>




*************************************************************************************************
The information contained within this e-mail (and any attachment) sent by Birmingham 
City Council is confidential and may be legally privileged. It is intended only for 
the named recipient or entity to whom it is addressed. If you are not the intended 
recipient please accept our apologies and notify the sender immediately, or telephone 
+(44) 121 303 6666. Unauthorised access, use, disclosure, storage or copying is not 
permitted and may be unlawful. Any e-mail including its content may be monitored and 
used by Birmingham City Council for reasons of security and for monitoring internal 
compliance with the office policy on staff use. E-mail blocking software may also be 
used. Any views or opinions presented are solely those of the originator and do not 
necessarily represent those of Birmingham City Council. We cannot guarantee that this 
message or any attachment is virus free or has not been intercepted and amended.

*************************************************************************************************


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to