Click to See Complete Forum and Search --> : creating a menu page


cns187
04-17-2006, 04:02 PM
Hi I need help creating a menu that contains links to other pages on the site. Therefore making this page conduit to other pages on the site..thank you any help is greatly appreciated
:)

candelbc
04-17-2006, 04:17 PM
Do you have a database of the links?

cns187
04-17-2006, 04:20 PM
no not yet just in general how would i create something like this

lmf232s
04-17-2006, 05:24 PM
This could be considered a menu.
<a href="Page1.asp">Page1</a><br>
<a href="Page2.asp">Page2</a><br>
<a href="Page3.asp">Page3</a><br>
<a href="Page4.asp">Page4</a><br>

From a database (depending on the values you have in your DB)

sSQL = "select Path, Name From Menu"
Do While Not oRS1.EOF
Response.write "<a href="" & oRS1("Path") & "">" & oRS1("Name") & "</a><br>"
oRS1.MoveNext
Loop