disable a jQuery .toggle() method
<p>I am looking for a way to disable a <code>.toggle()</code> attached to a div</p>

<pre><code>if (condition) {
    $("#div").toggle(
        function() {
            do this
        },
        function() {
            do that
        }
    );
}
else {

    // How do I achieve this?
    $("#div").disableToggle(

    );
}
</code></pre>

<p>More explanation: </p>

<p>This is a map application. The <code>toggle</code> in question is bound to an image button. The map loads at zoom level 4. The user zooms in, and the button in question becomes active only when the user is zoomed in more than zoom level 6. Once the user zooms out to less than level 6, I want the toggle button to become inactive again.</p>
