Handle internal page links (anchors)
Permalink Browser Info Environment
Is it possible to add internal page links (anchors)?
Type: | Pre-Sale |
---|---|
Status: | Resolved |
Sorry, but I can't see it. :)
I mean anchor links (http://www.w3.org/TR/html401/struct/links.html#h-12.2.1).
Something like that:
<a href="#anchor-link">Anchor Link</a>
...
<a name="anchor-link"></a>
I mean anchor links (http://www.w3.org/TR/html401/struct/links.html#h-12.2.1).
Something like that:
<a href="#anchor-link">Anchor Link</a>
...
<a name="anchor-link"></a>
Oh, that's what you mean. No, that's not possible. I can make this if you want?
But what does the last one do? This one does not output text, only HTML? Then you can use other blocks I guess?
But what does the last one do? This one does not output text, only HTML? Then you can use other blocks I guess?
And... is this a whole new list item type, or should this be placed after a page URL. So you select a page and you want to add #anchor-link behind it?
So
List item: page
Page: Home
Title:
Anchor: #anchor-link
This will output:
<a href="www.url.com/home#anchor-link>Home</a>
Like this?
So
List item: page
Page: Home
Title:
Anchor: #anchor-link
This will output:
<a href="www.url.com/home#anchor-link>Home</a>
Like this?
Both would be great - Adding anchor (http://example.com#test) to a internal/external page or to the current page (#test). With an anchor you can jump to a defined area on the page.
The area can be defined with <a name="test"></a>. Now, if you define a link with <a href="#test">Test</a> you can jump (scroll) to this area.
The area can be defined with <a name="test"></a>. Now, if you define a link with <a href="#test">Test</a> you can jump (scroll) to this area.
Hi there,
You can now add an anchor for both "Page" and "External URL". Entering no URL for "External URL" will result in only adding the #some-anchor to the href attribute, which will give you the current page as you requested (to jump to an area on the same page). And page obviously adds it after the anchor of the page :)
Updated the add-on in the store, so you're ready to download this latest version!
Kind regards,
Ramon
You can now add an anchor for both "Page" and "External URL". Entering no URL for "External URL" will result in only adding the #some-anchor to the href attribute, which will give you the current page as you requested (to jump to an area on the same page). And page obviously adds it after the anchor of the page :)
Updated the add-on in the store, so you're ready to download this latest version!
Kind regards,
Ramon
Thank you very much!
Great work!
Best regards
Stefan
Great work!
Best regards
Stefan
Yes, that's possible. You can see it here in action:
https://www.youtube.com/watch?v=IYHGZNWILwI&feature=youtu.be&...
Does that answer your question? :)
As you can see, internal or external links both work!
Kind regards,
Ramon