link code not working, cannot get menu links to jump to different sections of same page |
link code not working, cannot get menu links to jump to different sections of same page |
Dick Roose |
Aug 16 2010, 12:12 AM
Post
#1
|
Newbie Group: Members Posts: 11 Joined: 11-April 09 Member No.: 8,289 |
Hi All,
I have got my first problem solved but had to learn a lot more than I wanted to. Although the attached code looks correct to me, it doesn't work. Can anyone tell me why? Thanks The single most important criteria for all human decisions is ... "Is it good for Earth's children?" Dick Roose This post has been edited by Dick Roose: Aug 16 2010, 12:21 AM Attached File(s) link_test.htm ( 1.13k ) Number of downloads: 327 |
Frederiek |
Aug 16 2010, 05:08 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Which links don't work? They seem to work for me. I didn't click them all, but quite a few.
You still have that problem with the TOC not being in the right place and not scrolling with the content. Change <p class="rvps2"> to <div id="toc">, get rid of the associated closing </p> and close the div after the closing div of the list (which has class="toc", so you'll have two closing div's there. So it will look like this: CODE <div id="toc"><span class="rvts6">Table of Contents<br> </span> <div class="toc"> <ul>...your list here...</ul> </div> </div> Then style the new div: CODE #toc { position:fixed; top:30px; } |
Dick Roose |
Aug 16 2010, 05:17 AM
Post
#3
|
Newbie Group: Members Posts: 11 Joined: 11-April 09 Member No.: 8,289 |
Which links don't work? They seem to work for me. I didn't click them all, but quite a few. Do you mean that you unzipped the mainpage file, ran it in a browser and all the links you tried worked. Could you try it at (http://realityfound.org), it is the same code! Thanks The single most important criteria for all human decisions is ... "Is it good for Earth's children?" Dick Roose |
Dick Roose |
Aug 16 2010, 05:33 AM
Post
#4
|
Newbie Group: Members Posts: 11 Joined: 11-April 09 Member No.: 8,289 |
[quote name='Dick Roose' date='Aug 16 2010, 05:17 AM' post='50228']
[quote name='Frederiek' post='50227' date='Aug 16 2010, 05:08 AM'] Which links don't work? They seem to work for me. I didn't click them all, but quite a few. [/quote] Hi Frederiek, I am quite excited that the menu worked for you and I would like to know what you are doing differently. If you will send me an email with your phone number I will give you a call; or perhaps we can chat via email? dcroose@comcast.net Thanks "Is it good for Earth's children?" Dick Roose |
Lo-Fi Version | Time is now: 18th April 2024 - 07:12 AM |