how to follow anchors made with id attributes?
Replies (2)
(1-2/2)
Added by Аз Есмь 10 months ago
hello,
say, a page contains an HTML element with an id attribute. for instance, <H2 id="section2">Section Two</H2>. how to scroll the page to the element?
thank you
How does <a href="#section2">scroll to section2</a> not work?
BR,
Wim.
well, the problem was that i needed to do that with a WText or WPushButton, and not WAnchor or "a" element. it didn't occured to me that i could add any WWidget to WAnchor to make it a hyperlink. thank you for the hint, Wim :-)
(1-2/2)