Skip to main content

How do I create an accordion drop-down menu and add it into an existing basic HTML page?

I should mention first that I inherited the pre-existing website and have no training in NB. I want to create a basic accordion style drop-down menu that would allow me to click on a person's name and reveal a picture and bio. If you click the space again, the information retracts. I know this isn't hard, I've done it before. I have zero idea how to do this in NB.

The biggest issue I have is: how to I link a CSS or Javascript sheet to a single HTML page?

Official response from

Hi Geoffrey - looks like Brian answered you via email - I'm copying his response here for reference:

Very cool. The best way to include CSS or Javascript on individual HTML pages within your website is to put it directly into the page template itself. CSS should be inside a set of <style> </style> tags and JavaScript should be inside a set of <script type="text/javascript> </script> tags.

The template for each page can be found by navigating to that page in your control panel and clicking the tab called "Template".

Share this post

Showing 1 reaction

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.