W
W
weberer2019-02-14 11:38:02
HTML
weberer, 2019-02-14 11:38:02

Why is the anchor on the page not working in Opencart?

In the "categories" in the description field in the "source" menu, I made an anchor so that by clicking on "show on the map" there was a transition to that part of the article where this very map (Google map) actually exists. And when you click on the link, the transition to the main page of the site goes and not the map. What's the catch ?

<a id="map"></a><iframe...>
<a href="#map">посмотреть на карте</a>

this one is not accepted (I enter, press save and the line disappears).
This one is simply saved but displays on the main page of the site and does not translate to the map:
<a name="map"></a><iframe.....>
<a href="#map">посмотреть на карте</a>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lamer350, 2019-02-14
@lamer350

No need to put a / in front of the anchor, just href="#map"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question