Jump to content

babrees

Members
  • Posts

    2
  • Joined

  • Last visited

babrees's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Thank you! That works with that html test, but do you know how I would get it to work in wordpress? I made a separate .js file and called it within my functions.php file, but it wouldn't work; hence trying it out on a simple html page first
  2. First off, my knowledge is only on html and css, definitely not js! I have reproduced the examples as per here: https://www.w3schools.com/howto/howto_js_accordion.asp I eventually want to use it on a wordpress site, however, I am just trying to get it working to start with! I made a simple html file and simply copied and pasted the examples, using the animated accordion, but I cannot get the sections to open! I added the css and js into the header of the html file. Link: http://utterlydogs.com/accordion/
×
×
  • Create New...