[Zope] HTML anchor using DTML?

Herianto Tan htan@gmx.de
Tue, 8 Apr 2003 16:23:56 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_00C2_01C2FDEB.408253A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I'm designing a static HTML pages using DTML.
Basically each page is divided into 2 sections, the header and the =
content.
such as:
<dtml-var services-navig.htm>
<dtml-var services-cont.htm>

In some pages, the content is too long, and they are divided into some =
sub-content which is linked through sub-header.
The website is:

http://www.gem.com.sg/services.htm

For the above examples, there are 3 subheaders: 'Laboratory', =
'consultation' and 'onsite'
If I click on the subheading, I want it to display immediately on top of =
the page.
I can use 'Anchor' if I use the HTML FRAME=20

But how to do this in DTML?

regards,
Heri
------=_NextPart_000_00C2_01C2FDEB.408253A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm designing a static HTML pages using =

DTML.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Basically each page is divided into 2 =
sections, the=20
header and the content.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>such as:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;dtml-var =
services-navig.htm&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;dtml-var =
services-cont.htm&gt;<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In some pages, the content is too long, =
and they=20
are divided into some sub-content which is linked through=20
sub-header.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The website is:</FONT></DIV>
<DIV><FONT face=3DArial color=3D#800080 =
size=3D2><U></U></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.gem.com.sg/services.htm">http://www.gem.com.sg/service=
s.htm</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>For the above examples, t</FONT><FONT =
face=3DArial=20
size=3D2>here are 3 subheaders: 'Laboratory', 'consultation' and=20
'onsite'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If I click on the subheading, I want it =
to display=20
immediately on top of the page.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I can use 'Anchor' if I use the HTML =
FRAME=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>But how to do this in =
DTML?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>regards,<BR>Heri</FONT></DIV></BODY></HTML>

------=_NextPart_000_00C2_01C2FDEB.408253A0--