Skip to content

Using zero-md inside a dynamic menu possible? #99

Answered by zerodevx
mi-hol asked this question in Q&A
Discussion options

You must be logged in to vote

The original html file is referenced by:
menu1.addItem("Alt. Parts 0", "./01_General/05_AltParts/AltParts.html");

Leave this part as it is, then replace AltParts.html with:

<HTML>
<HEAD>
<TITLE>Links to Alternative Parts</TITLE>
<link rel="shortcut icon" href="../../EngeniaIcon.ico">

<script
  type="module"
  src="https://cdn.jsdelivr.net/gh/zerodevx/zero-md@2/dist/zero-md.min.js"
></script>

</HEAD>
<BODY BGCOLOR=FFFFFF TEXT=000000 LINK=0000FF VLINK=800080>

<zero-md src="./AltParts.md" />

</BODY>
</HTML>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mi-hol
Comment options

Answer selected by mi-hol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants