home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

code to jump down page

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2713
Discussions: 200,966, Posts: 2,379,638, Members: 246,332
Old June 6th, 2004, 01:58 PM   Digg it!   #1 (permalink)
Naz
Member
 
Join Date: Nov 2001
Location: Florida
Posts: 424
code to jump down page

I forgot the code to click on a link and it simply jumps to a spot futher down the page.

Thanks,
Naz
Naz is offline   Reply With Quote
Old June 6th, 2004, 02:03 PM     #2 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,395
Code:
Say you want to add a "Go Back to Top" option on the bottom of your page.

First, go to the top of the page and add this code:
<a name="top"></a>
(This says "anchor a name for this part of the page and call it's name 'top'.")

Then go to the bottom of your page and add a link to the top:
Enter the usual <a href> link code but add #top to the URL address without skipping a space!
For example:
<a href="URLaddressOFpage.html#top">Go Back to Top</a>
(This says, "when the reader clicks on whatever text or picture I inserted here, send them to the place I named 'top'.") No, I didn't really add a link here because we've been there and done that.
"Anchor" tag in html
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
vass0922 is online now   Reply With Quote
Old June 6th, 2004, 02:30 PM     #3 (permalink)
Naz
Member
 
Join Date: Nov 2001
Location: Florida
Posts: 424
well, I want to make the page jump from the top to a spot at the bottom.
I tried to insert the code in reverse but couldn't get it to work.

code at top
<a href=www.naz.bizhosting.html#P"> Bottom of page </a>

code at bottom
<a name="P"></a>

need corrections to this code

Naz
Naz is offline   Reply With Quote
Old June 6th, 2004, 02:39 PM     #4 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,395
<a name="P"></a>This link IS the anchor --- Put this in the destination of the desired anchor link


<a href="URLaddressOFpage.html#top">This link will take you to the anchor</a> This one is where you put the hotlink to get you there.



www.naz.bizhosting.html <--- not a valid link
It should be something like www.naz.biz/hosting.html
vass0922 is online now   Reply With Quote
Old June 6th, 2004, 03:05 PM     #5 (permalink)
Naz
Member
 
Join Date: Nov 2001
Location: Florida
Posts: 424
I guess I'm a dummy!
I assingned this link at the top of page
<a href="www.naz.biz/hosting.html#top> link </a>

I put this at destination point
<a name="p"></a>

It don't work

Where is my html for dummies book

Naz
Naz is offline   Reply With Quote
Old June 6th, 2004, 04:09 PM     #6 (permalink)
Ultimate Member
 
PyroSama's Avatar
 
Join Date: Nov 2002
Location: Boise, Idaho
Posts: 2,782
Send a message via ICQ to PyroSama Send a message via MSN to PyroSama
<a href="www.naz.biz/hosting.html#top"> Link </a> (Put where ever in the page for ppl to click on)

Lalalalalalal
lalalalalalala

<a name="top"></a> (This goes wehre you want the above link to jump to)

The word after the # has to be the same as the word after name.


PyroSama
__________________
JOIN [FaD] | TEAM NUMBER 2037 | http://www.techimo.com/forum/t121132.html
PyroSama is offline   Reply With Quote
Old June 6th, 2004, 04:13 PM     #7 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,395
<a href="www.naz.biz/hosting.html#top> link </a>

I put this at destination point
<a name="p"></a>

Note: The BOLD areas MUST match for it to work.


Correct links
<a href="www.naz.biz/hosting.html#top> link </a>

I put this at destination point
<a name="top"></a>
vass0922 is online now   Reply With Quote
Old June 6th, 2004, 04:37 PM     #8 (permalink)
Naz
Member
 
Join Date: Nov 2001
Location: Florida
Posts: 424
okay, I thought I'm dummy. Now I know I'm a complete idiot.

I built a site for my favorites and started to add my girlfrieds favorites to the bottom.
Please look at the code and tell my what is going on with this.
I did it just as you said and it's not working.
www.naz.bizhosting.com

Thanks
Naz
Naz is offline   Reply With Quote
Old June 7th, 2004, 03:25 PM     #9 (permalink)
Ultimate Member
 
PyroSama's Avatar
 
Join Date: Nov 2002
Location: Boise, Idaho
Posts: 2,782
Send a message via ICQ to PyroSama Send a message via MSN to PyroSama
For the <a name="tes"></a> Link you need to have text bettween the tags.

IE: <span style="font-weight: 700; background-color: #000000"><a name="tes>&nbsp;Tessie's Place </a></span>
PyroSama is offline   Reply With Quote
Old June 7th, 2004, 05:25 PM     #10 (permalink)
Naz
Member
 
Join Date: Nov 2001
Location: Florida
Posts: 424
I know it's not that hard. Thanks PyroSama that makes sense to have the text between the tags.
I made the corrections uploaded and get bizhosting web site

Naz
Naz is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
link to go to a particular part..... shawshank62 Webmastering and Programming 4 January 1st, 2004 09:15 PM
Started Morrowind Guide VHockey86 General Gaming Discussion 10 June 26th, 2003 12:58 PM
site vs page nerdgirl Webmastering and Programming 7 October 18th, 2002 04:21 AM
HTML QUESTION ClubMed Webmastering and Programming 12 October 4th, 2002 08:19 PM
More website help please... Martoch Technical Support 2 September 24th, 2002 11:54 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3014)
Forty-six years ago today (7)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
Internet Lost (5)
windows 7 problem (7)
windows vista security holes (15)
Point and Shoot Camera Suggestions. (6)
Is the PSU I received dead? (13)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Recent Discussions
windows vista security holes (15)
Help getting around port 80 for camer.. (4)
Laptop with wireless problem. (12)
Open With ..... Win7 (2)
Internet Lost (5)
Skillsoft Network+ Study Software Que.. (9)
virus blocking exe. files (1)
Point and Shoot Camera Suggestions. (6)
CPU fan stops spinning randomly (11)
Nvidia GTX 260 problem (1)
Modern Warfare 2: Who Bought It? (65)
Is the PSU I received dead? (13)
Print spooler problem (16)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
webcam (0)
upgrade for hp a6101 (0)
tv not turn on-makes clicking sound (2)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Ideal cheap graph card for PC-Gaming? (18)


All times are GMT -4. The time now is 02:53 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28