Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

ASP Include Hyperlink contents
Welcome, Guest. Please login or register.
December 02, 2008, 07:45:13 PM
11304 Posts in 1248 Topics by 498 Members
Latest Member: katCheeme
Experts Round Table Network  |  Serverside Technology  |  ASP  |  ASP Include Hyperlink contents « previous next »
Pages: [1]
Author Topic: ASP Include Hyperlink contents  (Read 730 times)
dz67

Offline Offline

Posts: 1


« on: March 27, 2006, 05:21:03 AM »

Hello,

I'm looking for some help on developing a hyperlink table of contents.

What I would like to do is place an 'asp include' within a hyperlink to a table of contents which holds the suitable bookmarked hyperlink for the links e.g:-

<a href"<include virtual="/toc.asp#link1"> target="_blank">GoTo Page 3</a>

- 'toc.asp' would be the document holding all the links.
- '#link1' is the bookmarked hyperlink within toc.asp.

Is this possible or are there any other alternative ways of doing it?

Any help would be much appreciated.

Cheers.
Logged
COBOLdinosaur
ERT.com Admin

Offline Offline

Posts: 481



WWW
« Reply #1 on: March 27, 2006, 05:48:58 AM »

<a href"<include virtual="/toc.asp#link1"> target="_blank">
would not produce any kind of valid generation.

If you are trying to bring in the page and hit the link you want:

<a href="/toc.asp#link1" target="_blank">

I'm not sure I understand what you are trying to accomplish.

I don't believe you can use an include to generate the value for a tag attribute.

BTW, Welcome to Experts Round Table.

 :^)

Cd&
Logged
VGR
Mentor

Offline Offline

Posts: 682



WWW
« Reply #2 on: March 27, 2006, 01:45:41 PM »

I suggest to include your links file, and then do a loop in ASP (sorry, I meant in VBS ;-) to display the A HREFs with the links.

no other solution
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
Pages: [1]
« previous next »
    Jump to: