Click to See Complete Forum and Search --> : Menu List with Named Anchor link


cecemf
02-18-2008, 01:54 PM
Hello i did create many years ago that page :
http://www.mylenefarmer.co.uk/PassageTV.php

And i use a List Menu to access the different part of the table with Link Anchor and it worked great.

But i started to work on a new version and for some reason i can not make the menu work which i don't understand as it's very straight forward.
But it's always the simple things that i don't see, can you help, please ?

The new version (were it doesn't work)
http://www.mylenefarmer.co.uk/site/television.html

dtm32236
02-18-2008, 03:35 PM
names and IDs can't start with a number... i don't know if this is the cause of the problem - but it's a start (it's the reason you're getting all these errors (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.mylenefarmer.co.uk%2Fsite%2Ftelevision.html))

cecemf
02-18-2008, 10:45 PM
names and IDs can't start with a number... i don't know if this is the cause of the problem - but it's a start (it's the reason you're getting all these errors (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.mylenefarmer.co.uk%2Fsite%2Ftelevision.html))

I corrected this error and replace the number by letters but still the menu doesn't work !

Is it something wrong with the code of the menu ? as if i creat a text link it works whatever you are putting letter or numbers.

I don't remember on how i make it work the first time, i even try to copy paste but the menu still doesn't work. Could that be due to another code blocking this one to work, like a conflict ?

cecemf
02-19-2008, 10:22 AM
can any one as at least an idea of what i can please ? or an advise on what to use instated!

dtm32236
02-19-2008, 10:38 AM
last time i was playing with internal anchor links, I had a lot of trouble too...

but i know that the basic structure is:

<a name="top"></a>

...

<a href="#top">back to top</a>

like i said, last time i tried this, i couldn't get it to work. i have no idea why. hopefully someone else will help you out.

watermelon
02-19-2008, 10:59 AM
Here that I find with the view page source;

<a href="TELECHARGEMENT/PassageTV/MFBC-mylene_pub.divx.zip"><img src="Photo/Download.gif" alt="." width="36" height="37" border="0"></a></font></em><font color="#000000"><em><br>
</em></font></h5></td>
</tr>

dtm32236
02-19-2008, 11:11 AM
<font color="#000000"><em><br></em></font>

huh? that doesn't make any sense.

Death
02-21-2008, 09:48 AM
last time i was playing with internal anchor links, I had a lot of trouble too...

but i know that the basic structure is:

<a name="top"></a>

...

<a href="#top">back to top</a>

like i said, last time i tried this, i couldn't get it to work. i have no idea why. hopefully someone else will help you out.

It didn't work because you didn't have anything between your first anchor.

<p><a name="top">Something at the top of the page</a></p>

<p style="margin-top:800px;"><a href="#top">Click here to to the top of the page</a></p>


Thanks, Death