Solved

In html is there a ez way to link to a link ?

Posted on 2011-02-13
3
355 Views
Last Modified: 2012-05-11
I have links under subjects
new hire
access forms
admin stuff.

Now I want to make a new subject, top used links.  
favorite link
2nd favorte line
3rd favoite link

Now I do not want multiple places to update if there is a change.  I would like to link the "top used links" to the link in the subjects below.


this is just a run of the mill html page on my local computer.  I dislike the use of favorites links in my browser, really prefer a local html page stating the link, who is in charge of it, the rulles of using the link etc.   I am in a very large complex place :)

0
Comment
Question by:TIMFOX123
3 Comments
 
LVL 20

Expert Comment

by:thehagman
ID: 34882982
Maybe you want to link to an anchor on the same page as follows
<html>
<head><title>Link collection</title></head>
<body>
<h1>Link Collection</h1>
<ul>
<li><a href="#first">first section</a></li>
<li><a href="#second">second section</a></li>
<li><a href="#third">third section</a></li>
</ul>
<h2><a name="first" /> First Section</h2>
<ul>
<li><a href="...">Whatever</a></li>
<li><a href="...">Whatever</a></li>
<li><a href="...">Whatever</a></li>
</ul>
<h2><a name="second" /> Second Section</h2>
<ul>
<li><a href="...">Whatever</a></li>
<li><a href="...">Whatever</a></li>
<li><a href="...">Whatever</a></li>
</ul>
<h2><a name="third" /> Third Section</h2>
<ul>
<li><a href="...">Whatever</a></li>
<li><a href="...">Whatever</a></li>
<li><a href="...">Whatever</a></li>
</ul>

</body>
</html>

Open in new window

0
 
LVL 12

Accepted Solution

by:
Amick earned 500 total points
ID: 34883003
Yes, if I correctly understand what you're trying to do, you can use an id for each, like this (assuming that you're using a list,  but it could be in any element or page)

<ul>
      <li id="fav1"> <a href="http://www.careers.com">new hire</a> </li>
      <li id="fav2"> <a href="http://office.microsoft.com/en-us/access">access forms</a></li>
      <li id="fav3"> <a href="http://admin.com">admin stuff.</a></li>
</ul>

In the favorites page, link to it using code that references the page and id, like this:
This week's favorites:
<ol>
<li><a href="original.html#fav1">Favorite 1</a></li>
<li><a href="original.html#fav2">Favorite 2</a></li>
<li><a href="original.html#fav3">Favorite 3</a></li>
</ol>
0
 

Author Closing Comment

by:TIMFOX123
ID: 34883290
this does it !!
thx
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Fine Tune your automatic Updates for Ubuntu / Debian
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now