Click to See Complete Forum and Search --> : a name tag


pelegk1
06-11-2003, 06:29 AM
i have a name tag which i want to jump to by code!
how do i do that?
is it possible?
thanks in advance
Peleg

gil davis
06-11-2003, 06:32 AM
window.location.hash = "aTagName";

pelegk1
06-11-2003, 06:35 AM
if i have a table do i need to put the a name tage in a tr or just where ever i want to?

gil davis
06-11-2003, 01:00 PM
I thought you could put a "name" in any HTML tag and use it as a named anchor. Did that get depricated, or do I need some memory juice?

Charles
06-11-2003, 02:19 PM
The ability to use the "id" attribute of any element as an anchor was added by 1999. See http://www.w3.org/TR/html4/struct/links.html#h-12.2.3.