Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 142921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:00:49+00:00 2026-05-11T08:00:49+00:00

Google maps is an impressive display of what you can do with JavaScript and

  • 0

Google maps is an impressive display of what you can do with JavaScript and Ajaxy-goodness. Even my mouse scroll wheel and right-click works to provide specific functionality.

In the standard HTML spec, I don’t see an onmouserightclick event or similar basic JavaScript handling for the mouse wheel. Maybe I am looking in the wrong places.

I presume these events are browser and platform-specific (or "sensitive" instead of specific). And am wondering what the basic, plain HTML and JavaScript are needed to exploit these events, in ALL browsers.

Naturally, when designing a site these features have to be extra since some people still use the one-button mouse.

How to I use events with the mouse wheel and right-click? I’m looking for sample code.

EDIT: Thanks for the jQuery code guys! The system-developer in me still has questions and doubts though. Mainly I’m concerned about platform-limitations that would seem to apply here. Is there a browser that some of these features don’t work in? Does the mouse wheel up and down events also allow for mouse wheel click events? I would just expect there to be some limitation out there and am wondering if it’s officially documented. I want to know how it works at a low level. I am glad to see it is easy in jQuery, another reason for me to get into it.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T08:00:49+00:00Added an answer on May 11, 2026 at 8:00 am

    Mouse Wheel:
    ol’ no-jquery-or-prototype-library method: here

    Prototype method: Here

    JQuery method: Here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 249k
  • Answers 250k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The string passed to the selector is the one you… May 13, 2026 at 9:11 am
  • Editorial Team
    Editorial Team added an answer Well you can do: public static bool IsAllAscii(string text) {… May 13, 2026 at 9:11 am
  • Editorial Team
    Editorial Team added an answer you can get the exact command used by Eclipse like… May 13, 2026 at 9:11 am

Related Questions

I have been developing (for the last 3 hours) a small project I'm doing
Do you suggest Mapstraction (library) as a layer to access Google maps? Is it
The following is an example of how to greate a polygon in the google
In the Google Maps API, multiple calls to google.maps.ClientGeocoder.getLatLng(address, callback) are not guaranteed to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.