code to jump down page  | |
June 6th, 2004, 01:58 PM
|
#1 (permalink)
| | Member
Join Date: Nov 2001 Location: Florida
Posts: 424
|
I forgot the code to click on a link and it simply jumps to a spot futher down the page.
Thanks,
Naz |
| |
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.
|
| |
June 6th, 2004, 02:30 PM
|
#3 (permalink)
| | 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 |
| |
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 |
| |
June 6th, 2004, 03:05 PM
|
#5 (permalink)
| | 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 |
| |
June 6th, 2004, 04:09 PM
|
#6 (permalink)
| | Ultimate Member
Join Date: Nov 2002 Location: Boise, Idaho
Posts: 2,782
|
<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
|
| |
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> |
| |
June 6th, 2004, 04:37 PM
|
#8 (permalink)
| | 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 |
| |
June 7th, 2004, 03:25 PM
|
#9 (permalink)
| | Ultimate Member
Join Date: Nov 2002 Location: Boise, Idaho
Posts: 2,782
|
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> Tessie's Place </a></span> |
| |
June 7th, 2004, 05:25 PM
|
#10 (permalink)
| | 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 |
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |