WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • direct menu link to an anchor on another page
  • Print
Pages: [1]   Go Down

Author Topic: direct menu link to an anchor on another page  (Read 5935 times)

Offline calvinflash

  • Posts: 14
  • Gender: Male
direct menu link to an anchor on another page
« 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
Logged
Just do it.

Argos

  • Guest
Re: direct menu link to an anchor on another page
« Reply #1 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.
Logged

Offline Hans

  • Posts: 914
  • Gender: Male
Re: direct menu link to an anchor on another page
« Reply #2 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.
Logged
Hans - Nijmegen - The Netherlands

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • direct menu link to an anchor on another page
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2