Re: CSS/ASP help needed

by "Doug Dossett" <hwg(at)miscsites.com>

 Date:  Wed, 15 Aug 2001 14:02:51 -0700
 To:  hwg-techniques(at)hwg.org,
Mark Johnson <johnsonm(at)issaquah.wednet.edu>,
hwg(at)miscsites.com
 References:  wednet
  todo: View Thread, Original
Oops, misinterpreted.  That should have been:

response.write "<a href=""/schools/directions.asp?school=" & 
strSchool & """ class=""school"">Driving directions</a><br>"

Doug


On 15 Aug 2001, at 13:03, Doug Dossett wrote:

> Hello,
> 
> In your response.write, do this:
> 
> response.write "<a href=""/schools/directions.asp?school=" & 
> strSchool & "&class=school"">Driving directions</a><br>"
> 
> Regards,
> 
> Doug Dossett
> MiscSites.com
> 
> 
> On 15 Aug 2001, at 11:26, Mark Johnson wrote:
> 
> > The right hand menu on
> > http://164.116.92.246/schools/school.asp?school=sunny looks funny in
> > netscape, but looks good with IE.  The text formatting is determined
> > by linked css file.  Some of the menu items are built via asp, and
> > others are straight html.  It's the asp developed menu items that
> > are giving me fits.
> > 
> > Relevant code snip from school.asp:
> > 
> > <%
> > If strDirections = "none" Then
> >    response.write ""
> > Else
> >    response.write "<a href='/schools/directions.asp?school=" &
> >    strSchool
> > & "' class='school''>Driving directions</a><br>"
> > End If
> > %>
> > <.a href="https://hwg.org/schools/apollo.asp" class="School">Emergency
> > information</a><br>
> > 
> > HTML sent to the browser
> > 
> > <a href='/schools/reports/2001Sunny.pdf' class='school''>2001 Report
> > Card</a><br><a href='/schools/directions.asp?school=Sunny'
> > class='school''>Driving directions</a><br> <a
> > href="https://hwg.org/schools/apollo.asp" class="School">Emergency
> > information</a><br>
> > 
> > I think the problem is created by the transition between ' and " .
> > Suggestions on how to best work around this?
> > 
> > Thanks! Mark
> > 
> > 
> > 
> 
> 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.