I need a little help, I'm not sure that it can be done, but it should be doable.

Does anyone know how to create a link on a page to a bookmark that is on another page?

:o


Recommended Answers

All 3 Replies

You mean like

<a href="page.html#bookmark>named anchor on new page</a>

Thanks, my html skills have gotten a little rusty over the years. This should be of some help, I'll test it right away to see if it fits my site layout.
:)

Also do you or anyone know of a Java Script that can do the same, but able to handle more than one link.

:twisted:

Add this as your link in the html document:

<a href="javascript:open1()">Click Here</a>

Add this code to a .js file:

function open1() {
  window.open('page.html#link1');
  window.open('page.html#link2');
  window.open('page.html#link3');
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.