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 7723993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:34:59+00:00 2026-06-01T04:34:59+00:00

I am using the jQuery Zoomable maps Plugin for a WordPress site with two

  • 0

I am using the jQuery Zoomable maps Plugin for a WordPress site with two types of maps and legends. Under maintenance mode right now as it is not open to the public as of yet. I love its zoom in and out functionality. I even added a trigger to the legend to make links in the legend trigger zoom ins and outs on the maps which works with this extra code:

jQuery(document).ready(function ($) {
$(‘#area-one-button’).click(function() {
$(‘#area-one’).click();
});
});

But I have been having issues. After several zoom ins and outs sometimes zooming no longer works until I refresh the page or wait for a few minutes. When I click the zoom out button in the legend I can no longer click on zoomable fields on the map as it somehow does not know I zoomed out. That is the issue. But how to solve this?

Link to all code files is here: http://javascript.pastebin.com/qpEHcDts (could only add one link)

  • 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-06-01T04:35:00+00:00Added an answer on June 1, 2026 at 4:35 am

    With the help of a JavaScript developer I have managed to optimize the code based on the jQuery plugin as found here: http://www.gethifi.com/blog/a-jquery-plugin-for-zoomable-interactive-maps somewhat. Here is the code in legend.js used to make certain areas clickable and to improve zoomability without delays.

    jQuery(document).ready(function ($) {
        $('#1-coast-button').click(function() {
        $('#1-coast').click();  
            });
        $('#island-1-button').click(function() {
         $('#island-1').click();
        });
        $('#water-button').click(function() {
         $('#water').click();
        });
        $('#2-coast-button').click(function() {
         $('#2-coast').click();
        });
        });
    

    The basic code loaded on one map page itself is rather large, but here is one of the pop-ups loaded by code on one .html map page:

    <a href="javascript:void(0)" id="dean-smith" class="bullet" rel="441-342">&nbsp;</a> 
        <div class="popup" id="dean-smith-box"> 
            <h3>Royal X Resort</h3> 
            <div class="popupcontent"> 
                <p>Text</p> 
            </div>
            <a class="close" href="javascript:void(0)"></a> 
        </div> 
    

    Maps do load better now and customer is pretty satisfied.

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

Sidebar

Related Questions

Using jQuery, what's the best way to automatically initialize a plugin on all current
Using jQuery UI , I have a tabs plugin and within tab 1 gets
Using jQuery validation plugin but it has no CSV validation. I have made an
Using jQuery version 1.4.2 and Validation plugin version 1.8.1 I have a textbox that
Using jquery alerts dialog plugin , how do I send a value in a
Using jQuery and the jQuery URL plugin. I have the following code: $('#secondary-nav >
Using jQuery , how can I dynamically set the size attribute of a select
Using jQuery, how do you bind a click event to a table cell (below,
Using jQuery, how do you check if there is an option selected in a
Using jquery how do I focus the first element (edit field, text area, dropdown

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.