Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2003, 08:10 AM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do you create anchors programatically?

I have a page in a Web site that posts information under section headings, all from an Access DB, to an ASP page. Does anyone know how to programatically create anchors based on the section headings so that I could internal-link to those headings from the top of the page?

Thanks,

Gary

 
Old August 28th, 2003, 08:35 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Anchors are just another bit of HTML, so all you need to do is
Response.Write("<a name='whatever'></a>") for each section heading.

hth
Phil





Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Programatically xlr8 BOOK: Beginning C# 2005 Databases 1 April 30th, 2007 08:56 AM
please help in anchors diablo17 Dreamweaver (all versions) 1 February 26th, 2007 04:58 PM
linking using anchors debjanib ASP.NET 1.0 and 1.1 Basics 2 November 29th, 2006 01:00 PM
named anchors stekker XSLT 1 November 16th, 2006 05:03 AM
Anchors srotondo Classic ASP Professional 0 February 8th, 2005 07:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.