Solved

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

Posted on 2011-02-13
3
360 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
output in HTML in Powershell 5 60
linux convert text file to PDF 7 71
Error Handler 8 42
Wordpress website with Centos 7 CWP 4 33
This article discusses four methods for overlaying images in a container on a web page
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

739 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