Forums
This topic is locked
page marker?
Posted 14 Jun 2004 07:47:15
1
has voted
14 Jun 2004 07:47:15 Scott Taylor posted:
I am trying to find out how to set up a "page marker" so that a link is clicked, it will take you to a certain part of a page and top/center on a heading or title. I'm trying to do this in HTML within DMX 2004. Thanks
Scott
Replies
Replied 14 Jun 2004 15:52:12
14 Jun 2004 15:52:12 Dave Thomas replied:
CTRL + ALT + A is the default hotkey which will insert an "Anchor" for you.
that's what it's called by the way.
so insert an anchor to take you to the top of the page
<pre id=code><font face=courier size=2 id=code><a name="top" id="top"></a></font id=code></pre id=code> // writes the anchor
<pre id=code><font face=courier size=2 id=code><a href="#top"></a></font id=code></pre id=code> // to use the link
so if we now wanted one for say menu1 table header it would be...
<pre id=code><font face=courier size=2 id=code><a name="menu1" id="menu1"></a></font id=code></pre id=code> // writes the anchor
<pre id=code><font face=courier size=2 id=code><a href="#menu1"></a></font id=code></pre id=code> // to use the link
you write the anchor where you want the page to 'jump' to, you call the anchor as a link as normal but using #anchorname.
you can use any name you want for the anchors, top and menu1 were examples.
Regards,
Dave
<img src="www.nova-cs.co.uk/DmxAvatar.jpg" border="0">
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
that's what it's called by the way.
so insert an anchor to take you to the top of the page
<pre id=code><font face=courier size=2 id=code><a name="top" id="top"></a></font id=code></pre id=code> // writes the anchor
<pre id=code><font face=courier size=2 id=code><a href="#top"></a></font id=code></pre id=code> // to use the link
so if we now wanted one for say menu1 table header it would be...
<pre id=code><font face=courier size=2 id=code><a name="menu1" id="menu1"></a></font id=code></pre id=code> // writes the anchor
<pre id=code><font face=courier size=2 id=code><a href="#menu1"></a></font id=code></pre id=code> // to use the link
you write the anchor where you want the page to 'jump' to, you call the anchor as a link as normal but using #anchorname.
you can use any name you want for the anchors, top and menu1 were examples.
Regards,
Dave
<img src="www.nova-cs.co.uk/DmxAvatar.jpg" border="0">
[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]