1

Anyone use the <details> tag? I'm trying to create a link that takes the user to a details section and opens the previously closed details. Haven't found any solutions that work and aren't 5 years old.

<details><summary id="openThis">This is initially closed</summary>More words and stuff</details>

I'd like to create an anchor like this <a href="#openThis">Open Sesame</a> that also expands the details without the user having to click again. Any ideas welcome.

Toto
  • 86,179
  • 61
  • 85
  • 118
testing123
  • 661
  • 4
  • 12
  • 32
  • Finally found an answer here: [http://stackoverflow.com/questions/37033406/automatically-open-details-element-on-id-call](http://stackoverflow.com/questions/37033406/automatically-open-details-element-on-id-call). – testing123 Mar 24 '17 at 20:08

0 Answers0