RE: Link to a specific section(anchor) ..

by "Keith Casey" <kpcasey(at)ibm.net>

 Date:  Fri, 11 Aug 2000 10:51:44 -0400
 To:  <bhuwan_pandey(at)yahoo.com>,
<hwg-xml(at)hwg.org>
 In-Reply-To:  yahoo
  todo: View Thread, Original
Both answers, when called for, are initially displayed on the "answers" page
therefore, no need to scroll to bring the answer to the top.

If the answer to Question 2 was off the screen when called for, it would
bring it to the top, and make the Answer to Q1 "disappear" above.

--Keith Casey

-----Original Message-----
From: owner-hwg-xml(at)hwg.org [mailto:owner-hwg-xml(at)hwg.org]On Behalf Of
Bhuwan Pandey
Sent: Friday, August 11, 2000 10:09 AM
To: hwg-xml(at)hwg.org
Subject: Link to a specific section(anchor) ..


Hi HTML experts,

I am learning HTML to create my website for some
technical stuff to help others system admin.
My problem is: I have two files question.html and
answer.html. they are look like the given below

question.html
-------------
<a href="answer.html#Q1"> Q1. What are the daemon runs
on SSP?</a></BR>
<a href="answer.html#Q2"> Q2. How to start and stop
SSP process?</a>

answer.html
-----------
<A NAME="Q1"> SSP Daemons </a>
<P>
Following daemons runs on SSP:
cbs - control board server
(cbs is responsible for control board communication)

edd - Event Detector Daemon
(Monitors traffic from control boards)
</P>

<A NAME="Q2"> Process on SSP? </a>
<P>
Ans: The process can be start and stop
# /etc/init.d/ssp stop
# /etc/init.d/ssp start
</P>

The problem is when I click on Q2 it always go to top
of the answer.html file that is Q1. I think it should
bring the Q2 in the answer.html at the top of the
document and hide anything before that. But it always
goto Q1 only.

So could some help me to find out the mistake here.


thanks very much / BPANDEY

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

HWG hwg-xml mailing list archives, maintained by Webmasters