JS Adaptation of Mega Menu

by RayOkay in Circuits > Computers

26 Views, 1 Favorites, 0 Comments

JS Adaptation of Mega Menu

premium_photo-1666777247293-4c76e99731ee.jpg

Note that I'm currently working on a Node.JS (and GUI if possible) version of this. The original JScript code will no longer be updated. I am only keeping the JScript code for legacy reasons. The reasons for this are mentioned below.


I have made a JScript (JavaScript that runs on Windows) adaptation of Prof. Pickle's Mega Menu.


This took me about a week to finish. To run, paste the code into whatever text editor you like (Notepad, etc.) and save it as a .js file. Now go to the folder the file was saved in, open Command Prompt and type:

cscript //nologo <name of file>.js

I would usually put the code right here, but due to some encoding and file size issues I will have to instead put it as a Google Drive link right here

I have to apparently have a cover image and image in the introduction, so I will put an image of a kangaroo for both of those.


So, why would I switch to Node.JS?

Well, JScript was used by Internet Explorer back in 1996 and has been deprecated in Windows 10. JScript is also only supported by windows, while Node.JS has a thriving ecosystem and is cross platform. JScript also only supports ECMA3 syntax and features. Node.JS doesn't have all of these issues and is just in general better.

Changelog

This project still does not have all the features of the latest Mega Menu (V2.5), suggestions are greatly appreciated from anyone.