WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: calvinflash on August 24, 2011, 09:15:46 PM

Title: direct menu link to an anchor on another page
Post by: calvinflash on August 24, 2011, 09:15:46 PM
Can this be achieved in any way with show_menu2?

1. Create anchor on Page A pointing to "here" on page B
<a href="PageB.html#Here">Go to Here on Page B</a>


2. Place a named anchor on PageB.html
<a name="here">Here</a>

I thought I could concatenate #pageAnchor somehow to the [url].

Any help appreciated.

Regards
Title: Re: direct menu link to an anchor on another page
Post by: Argos on August 28, 2011, 11:26:43 PM
That's a built-in feature of WB (at least version 2.8.2, I don't know about other versions).

Create a "page" of type Menu Link, and link that to the wanted page and anchor.
Title: Re: direct menu link to an anchor on another page
Post by: Hans on August 28, 2011, 11:33:03 PM
To place an anchor make an (internal) link first, save the page and then edit the link by adding #anchor to it. Save again.