Print Page | Close Window

how do I add links

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=9479
Printed Date: 01 April 2026 at 2:32am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: how do I add links
Posted By: Lucent
Subject: how do I add links
Date Posted: 02 February 2004 at 3:09pm

How do I add links to scripts like this

function HomeNav()
 %>
 About <%=DOMAIN_NAME%> |
 Tour |
 FAQ |
 Privacy Policy |
 Contact Us
 <%
end function




Replies:
Posted By: dpyers
Date Posted: 02 February 2004 at 7:09pm

%>

response.write "<a href='htttp://www.linktoAboutPage.htm'>About " & <%=DOMAIN_NAME%> & "</a> |<br/>"

response.write "<a href='htttp://www.linktoTourPage.htm'>Tour</a> |<br/>"

response.write "<a href='htttp://www.linktoFAQPage.htm'>FAQ</a> |<br/>"



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: Lucent
Date Posted: 03 February 2004 at 10:26am
thank you


Posted By: Scotty32
Date Posted: 05 February 2004 at 7:59am

urr the above wont work

try

<%
function HomeNav()

response.write "<a href='htttp://www.linktoAboutPage.htm'>About " & DOMAIN_NAME & "</a> |<br/>"

response.write "<a href='htttp://www.linktoTourPage.htm'>Tour</a> |<br/>"

response.write "<a href='htttp://www.linktoFAQPage.htm'>FAQ</a> |<br/>"
end function
%>

you cant do
         <% Response.Write("hello <%=user%> ")%>
it has to be
         <% Response.Write("hello " & user & " ")%>



-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net