themenu.left -= 10 else if (window.drawit) { themenu.left = leftboundary clearInterval(drawit) } }</script>In the above script you can see on startup we have declared the height, width and other features for the dynamic menu div then using the document.write method we wrote the div tag and below that we are creating the hyperlink using simple <a href/> as our menu items.