Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Spyware and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Important Announcement: We have two terrific contests running on the site that I wanted all our members and guests to know about.

The first contest is the HP Magic Giveaway, which is underway as of November 28th. More information can be found at this topic, which will be updated very soon with further information.

The second contests, is for the chance to win two Seagate FreeAgent external hard drives. More information about this contest can be found here.

These are both amazing contests and I suggest everyone submit an entry for them.

- BleepingComputer Management
 
Reply to this topicStart new topic
> How Do I Send A Link To A Webpage Deep In The Page, Like if I want to send them to a certain word in the page
Martel
post Mar 8 2008, 11:49 PM
Post #1


Forum Regular
***

Group: Members
Posts: 254
Joined: 5-January 07
From: North Carolina and Wakayama, Japan
Member No.: 104,807



I am wondering how to set a hyperlink that will take the reader to a pre destined place on a web page.

Like down on page three or maybe page fourty seven of a web page.

Am I making sense here?


For example if I wanted somebody to find the term Command Line Editing
It is located at the bottom of this web page.


Mod Edit: Topic moved to more appropriate forum~ TMacK

This post has been edited by TMacK: Mar 9 2008, 01:41 PM


--------------------


Go to the top of the page
 
+Quote Post
Wysi Free
post Mar 10 2008, 08:54 PM
Post #2


Member
**

Group: Members
Posts: 15
Joined: 21-February 08
From: USA
Member No.: 191,706



Yes. You are making sense and that is a good thing to do -- link to a precise place in a page.

I haven't done that yet but here are some links that will show you the way.
http://www.w3schools.com/html/html_links.asp
http://www.w3.org/TR/html401/struct/links.html
http://www.echoecho.com/htmllinks08.htm

It is one of those things on my list of things to learn. I haven't learned it yet but one day I want to send people to a specific term or place on the page. That would be an anchor.

Wysi
cool.gif


--------------------
Go to the top of the page
 
+Quote Post
Martel
post Mar 10 2008, 10:13 PM
Post #3


Forum Regular
***

Group: Members
Posts: 254
Joined: 5-January 07
From: North Carolina and Wakayama, Japan
Member No.: 104,807



Those are informative HTML tutorials
I am still missing something...

I understand the wording and linking but the anchoring is fuzzy

say you wanted to link to

Table 8-1
Operating System Commands
located at
http://www.drdos.com/dosdoc/usergeng/08ugch8.htm
<A><Table Border="3">
<caption><a name="530">
Table 8-1 <br>Operating System Commands<p>
</a>

I am either missing the big picture or the little picture.

Also, it is what you do when you have a long page with a table of contents and you link the contents to places in the document.

EDITED because my brain is about two minutes time delayed with my hands typing

This post has been edited by Martel: Mar 10 2008, 10:16 PM


--------------------


Go to the top of the page
 
+Quote Post
Noot
post Mar 12 2008, 10:22 AM
Post #4


Member
**

Group: Members
Posts: 97
Joined: 14-July 07
From: Central New York
Member No.: 143,655



If you are asking whether or not you can link to an anchor on another page, you can. You just have to make sure all anchors are set up and you're linking to them correctly.

But to answer your question, yes, it is often used to in essence break up a very long page in certain sections to help viewers find the information they want quicker, without having to search the whole page for one certain section.

Now, to your anchors are fuzzy, what do you mean? I've used them often in some times I've done, so I can help explain it to you better if necessary. smile.gif



--------------------


"I would feel more optimistic about a bright future for man if he spent less time proving
that he can outwit Nature and more time tasting her sweetness and respecting her seniority."
E. B. White (1899 - 1985)
Go to the top of the page
 
+Quote Post
Amazing Andrew
post Mar 12 2008, 03:00 PM
Post #5


Bleepin' Night Watchman
******

Group: BC Advisor
Posts: 1,767
Joined: 5-December 05
From: The City of Saint Francis, by the western sea
Member No.: 43,307



Quick and Dirty Tutorial on Anchors:


HTML
<a name="section1"></a>

Placing the above code at the beginning of section 1 of your document will create an anchor to that exact spot.

HTML
<a href="#section1">Go To Section 1</a>

This code points to the anchor you just made. Notice the # symbol, that's a must.

So, let's say you wanted to create a table of contents for your page. You would do something like this:


HTML
Table of Contents:
<a href="#section1">Section 1</a>
<a href="#section2">Section 2</a>
<a href="#section3">Section 3</a>

<a name="section1"></a>Welcome To Section 1!
...
...
...
<a name="section2"></a>Welcome To Section 2!
...
...
...
<a name="section3"></a>Welcome To Section 3!


It's really easy once you nail it down.

This post has been edited by Amazing Andrew: Mar 12 2008, 03:06 PM


--------------------
root@bleepingcomputer>./sig_file
Signature Not Found.

Go to the top of the page
 
+Quote Post
Amazing Andrew
post Mar 12 2008, 03:03 PM
Post #6


Bleepin' Night Watchman
******

Group: BC Advisor
Posts: 1,767
Joined: 5-December 05
From: The City of Saint Francis, by the western sea
Member No.: 43,307



Also, for the specific page/section you mentioned in you post, the hyperlink to it would be: http://www.drdos.com/dosdoc/usergeng/08ugch8.htm#279

Note how the #279 is added to the end of the regular address.


--------------------
root@bleepingcomputer>./sig_file
Signature Not Found.

Go to the top of the page
 
+Quote Post
Martel
post Mar 12 2008, 08:14 PM
Post #7


Forum Regular
***

Group: Members
Posts: 254
Joined: 5-January 07
From: North Carolina and Wakayama, Japan
Member No.: 104,807



That is Amazing Andrew.

How did you know to use the 279

Oh wait
</a><a name="279">
<h3> Extended Command Line Editing</h3>

This post has been edited by Martel: Mar 12 2008, 08:28 PM


--------------------


Go to the top of the page
 
+Quote Post
Amazing Andrew
post Mar 13 2008, 03:17 PM
Post #8


Bleepin' Night Watchman
******

Group: BC Advisor
Posts: 1,767
Joined: 5-December 05
From: The City of Saint Francis, by the western sea
Member No.: 43,307



Exactly!

Here's a little trick to find the anchors in a page:

Create a new bookmark in your browser.
Paste this into the bookmark's location field (the URL part):

CODE
java script:(function(){var atags,i,name,a; anchs = document.anchors; for(i=0; i<anchs.length; ++i) { a = anchs[i]; name = a.name; a.appendChild(document.createTextNode(%22#%22 + name)); a.style.border = %221px solid%22; a.href = %22#%22 + name; } })();


Note: Remove the space between "java" and "script" in the above code. The forum software adds it for security purposes. Also, the code should all be on one line, but it wraps around here.

Now save the bookmark.

Now you can use that bookmark on any page and it will turn all the anchors on the page into visible links!

This post has been edited by Amazing Andrew: Mar 13 2008, 03:20 PM


--------------------
root@bleepingcomputer>./sig_file
Signature Not Found.

Go to the top of the page
 
+Quote Post
Martel
post Mar 18 2008, 09:05 PM
Post #9


Forum Regular
***

Group: Members
Posts: 254
Joined: 5-January 07
From: North Carolina and Wakayama, Japan
Member No.: 104,807



Thank you for the information.

Sorry it took so long for me to get back here.

I have been struggling with a hard drive trying to rescue files, ..to no avail. (arrg)


--------------------


Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2nd December 2008 - 02:42 AM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Malware Removal Guides

© 2003-2008 All Rights Reserved Bleeping Computer LLC.