Valhalla Legends Forums Archive | Web Development | html Anchors

AuthorMessageTime
Denial
I know when you Anchor id types it can go to a certain part of the page in a document but i forget if its possible to send a Anchor to a certain part of a page in another document or if they are only the same document ability.


For example  In Test.htm you have A subject and under that subject you have different places for example


Header

Mainsubject      Mainsubject2
Link                  Link
Link                  Link
Link                  Link



Now to click on a link and have to go to another document but not just go to that document but a certain place on that page
June 7, 2007, 10:52 PM
rabbit
As long as there are anchors in the destination, you can just add them on.
ie: <a href="page2.htm#blarg">some link</a> would work, assuming page.htm contains an anchor named "blarg".
June 8, 2007, 12:34 AM
iago
[quote author=rabbit link=topic=16767.msg169876#msg169876 date=1181262880]
As long as there are anchors in the destination, you can just add them on.
ie: <a href="page2.htm#blarg">some link</a> would work, assuming page.htm contains an anchor named "blarg".
[/quote]

And within page2.htm, you have to have an anchor where you want it to jump to -> <a name='blarg' />
June 8, 2007, 1:07 AM
rabbit
[quote author=iago link=topic=16767.msg169877#msg169877 date=1181264868]
[quote author=rabbit link=topic=16767.msg169876#msg169876 date=1181262880]
As long as there are anchors in the destination, you can just add them on.
ie: <a href="page2.htm#blarg">some link</a> would work, assuming page.htm contains an anchor named "blarg".
[/quote]

And within page2.htm, you have to have an anchor where you want it to jump to -> <a name='blarg' />
[/quote]Yeah, I made a typo.  I meant
[quote author=rabbit link=topic=16767.msg169876#msg169876 date=1181262880]
page2.htm ...
[/quote]
June 8, 2007, 3:00 AM
iago
[quote author=rabbit link=topic=16767.msg169881#msg169881 date=1181271610]
[quote author=iago link=topic=16767.msg169877#msg169877 date=1181264868]
[quote author=rabbit link=topic=16767.msg169876#msg169876 date=1181262880]
As long as there are anchors in the destination, you can just add them on.
ie: <a href="page2.htm#blarg">some link</a> would work, assuming page.htm contains an anchor named "blarg".
[/quote]

And within page2.htm, you have to have an anchor where you want it to jump to -> <a name='blarg' />
[/quote]Yeah, I made a typo.  I meant
[quote author=rabbit link=topic=16767.msg169876#msg169876 date=1181262880]
page2.htm ...
[/quote]
[/quote]
Well, I read it the way you intended. But you can't assume he knows how to add an "anchor" to a page, that was half of his question :P
June 8, 2007, 3:44 AM
Denial
I know how to add an anchor to the page i just didn't know if it was possible you can make the anchor relate to another page totally seperate
June 8, 2007, 6:42 AM

Search