SolidSnake2003
Coder
Hello
I am currently working on reviving an old fansite of mine. I have finished designing the main site elements across the whole fansite in photoshop, and have begun coding them in HTML. One of the elements I have created is a series of 3 dropdown menus for a quick navigation of the games in the series. Each one represents a different category of games. I have never written javascript before so I am an absolute beginner. The javascript base code I have decided to use comes from this website: https://www.w3schools.com/howto/howto_js_dropdown.asp I have gotten one menu to show, but I am unsure of how to create the other menus. I have tried copying the code, and changing the name of the myfunction and the name of the event function, but no menus show up unless I remove the additional javascript. Do I need to alter more of the code. I thank anyone who reads this.
I am currently working on reviving an old fansite of mine. I have finished designing the main site elements across the whole fansite in photoshop, and have begun coding them in HTML. One of the elements I have created is a series of 3 dropdown menus for a quick navigation of the games in the series. Each one represents a different category of games. I have never written javascript before so I am an absolute beginner. The javascript base code I have decided to use comes from this website: https://www.w3schools.com/howto/howto_js_dropdown.asp I have gotten one menu to show, but I am unsure of how to create the other menus. I have tried copying the code, and changing the name of the myfunction and the name of the event function, but no menus show up unless I remove the additional javascript. Do I need to alter more of the code. I thank anyone who reads this.