How to add dropdown menu from one file to all the pages

  • 1
  • Question
  • Updated 6 years ago
  • Answered
I am developing a website using html.I am placing drop down menu items at the top of the page.It is common to every page.I don't want to paste the same code in all the pages.Is it possible to import this drop down menu code in all the common pages by placing it in one separate file.

i tried ifame concept.But all the drop down menu are not properly displaying. The drop down menu within the height of iframe are only displaying.

Is there any other method.Please let me know
Photo of krishna.21century


  • 1 Post
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of diane


  • 1238 Posts
  • 121 Reply Likes
Hi, Krishna,

If you have Silver, you can upload the .html file and link to it in the head by clicking on Site >> Site Settings >> Site Tracking Code. The Head code area is on the right side. Click on All Settings to save the changes. Please note: adding code to this area is at your own risk so please try it on a test site first.