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

  • Home
  • SEARCH
  • 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 4589204
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:01:57+00:00 2026-05-21T22:01:57+00:00

So on Friday I asked this question and it wasn’t well written, let me

  • 0

So on Friday I asked this question and it wasn’t well written, let me explain this in better detail:

So this might sound remedial, but I have this container that I include a mousedown event and all I want to do is toggle it without destroying the properties of it.

If it do :

 $("#div").unbind("mousedown")  // This will just destroy the event.

I was thinking I could move the event to a dom element that isn’t being used? And then just switch it back when I’m done…

So this is whats happening : I have a plugin lets just call it Vinny for now

  $("#div").vinny(settings);

vinny has a mousedown event that I want to enable/disable via a trigger.

I was thinking I would have a $fn.disableMouseDown function that could disable it, but was curious if theirs a way to unbind a mouseDown on the dom but not destroy it?

If you know of a quick way of doing it help me out! Thanks, Vinny

  • 1 1 Answer
  • 0 Views
  • 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. Editorial Team
    Editorial Team
    2026-05-21T22:01:58+00:00Added an answer on May 21, 2026 at 10:01 pm

    Hey guys thanks for all the ideas, but I kinda did a hacky way of approaching this.

    I explainz:

    So this plugin on the mousedown is binded in the plugin.init() and in their i defined a local function checks disableValue and in their I just check the dom for a or do a bool return and run that against the other function that was already present in exiting the mousedown event.

    Make sense? I hope so too

    Thanks,

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

Sidebar

Related Questions

Happy Friday! I assume somebody out there has a simple answer to this question
So.. I thought I knew mssql fairly well but this one query asked of
First of all, i know this question has been sort of asked/sort-of answered here:
I have spent all Friday and Saturday on this and I am running out
Hope you're having a good Friday and stuff... okay, so here's my question: All
It's late on a Friday and I'm scratching my head on this one. I'm
Well, it's Friday, and I just got an error message in MS-Outlook. Then it
Friday afternoon and all but hope that different timezones will help me with this...
I thought I had fixed this on Friday through a type correction, but I
A fun question for a Friday afternoon, no? As the question states, is it

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.