Anchor does not work

3
Hi All, Does anyone have a working example of anchors in a Mendix page? I added two HTML snippets to my form. The first one has the following HTML code <a href="#tasks">More...</a>. The second one has the following HTML code <h3 id="tasks">Tasks</h3>. When I click on the More... link the URL is filled with http://localhost:8081/index3.html#tasks and it seems that a reload of the new URL is done. This results in a white page. The anchor does not seem to work (tested with multiple browser types and versions). Also changing the id tag to "name" in the h3 tag will not work. Any ideas are welcome. Thanks in advance Wouter
asked
3 answers
0

Anyone any ideas?

answered
0

I don't think this would work, because the mxclient opens your form and doesn't use the anchor in your url to reload that part. Can't you use a deeplink in order to open your anchored part in a pop-up or something like that?

answered
0

Samet,

Thanks for the answer.

My anchor is actually a collapsible panel (group box) that I want to have the focus on. It is on the same page as the html snippet that calls the anchor. The HTML code is working on a regular HTML page, but apparently not on a Mendix page. Again, thanks for the answer and I will try to think of another solution (indeed via a pop-up or something like that). If I can think of a better solution I will post it here.

answered