944,124 Members | Top Members by Rank

Ad:
Aug 8th, 2006
0

Linking Help Needed!

Expand Post »
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


Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ratchison is offline Offline
2 posts
since Aug 2006
Aug 8th, 2006
0

Re: Linking Help Needed!

You mean like

[html]
<a href="page.html#bookmark>named anchor on new page</a>
[/html]
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Aug 8th, 2006
0

Re: Linking Help Needed!

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.

Reputation Points: 10
Solved Threads: 0
Newbie Poster
ratchison is offline Offline
2 posts
since Aug 2006
Aug 8th, 2006
0

Re: Linking Help Needed!

Add this as your link in the html document:
[html]
<a href="javascript:open1()">Click Here</a>
[/html]

Add this code to a .js file:
HTML and CSS Syntax (Toggle Plain Text)
  1. function open1() {
  2. window.open('page.html#link1');
  3. window.open('page.html#link2');
  4. window.open('page.html#link3');
  5. }
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Table with CSS
Next Thread in HTML and CSS Forum Timeline: expanding site content with css





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC