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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:32:41+00:00 2026-06-16T15:32:41+00:00

Ok I have a sliding panel on my website (http://www.security-vacancies.net/index.php) when the link view

  • 0

Ok I have a sliding panel on my website (http://www.security-vacancies.net/index.php) when the link view map is pressed the sliding panel opens to show a Google map.

The problem i have is that the CSS map element has the following

 Display: none 

With this in place when the web page loads the panel is closed and when i open the sliding panel the map doesn’t show correctly and shows just a little segment. Now i have read some other threads on this website that explained that the map doesn’t show because display says none.

When i remove the display element the the map shows perfectly, but when the page loads the sliding panel is in the open position. I have tried several different things to find a solution but i am having no luck and wondered if anybody knew how i could resolve this problem.

Thanks

  • 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-16T15:32:44+00:00Added an answer on June 16, 2026 at 3:32 pm

    I have encountered this problem many times. It loads the map in this way because you initiate it while it has “display: none;” and gmap initiates with canvas size 0:0.

    There are two ways to solve it:

    1) Load the map with the website (do not use “display: none;” on load) and onready() simulate the click on a trigger (“View Job Map”) which hides the map. It will be visually visible that the map loads and then hides.

    2) Do not initiate the map on load. Initiate your map after you click “View Job Map” for the first time. Remember to save somewhere that the map is initiated and check it afterwards to avoid initiating every time you trigger “View Job Map”.

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

Sidebar

Related Questions

I have some content sliding here. http://www.smallsharptools.com/downloads/jQuery/Slider/slider.html The HTML structure is simple. There is
I am using the following sliding div script: http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html Currently, the slidetoggle function is
Here's my situation. I have a sliding jquery menu like this: http://tympanus.net/codrops/2011/07/03/sliding-background-image-menu . The
I have a Silverlight clickable map and a sliding panel (jquery) that drops down.
I have this jquery sliding text animator. If you look at the example( http://blog.waiyanlin.net/2008/12/17/jquery-flying-text-with-fade-effect/
I have a sliding JS menu that opens when you click the noty_menu link,
I wrote a sliding list for a project. Here it is: http://study-wise.appspot.com/test/left_right.html I have
I have a one-page website with sliding panels, some of which have external links.
Have been doing a codeacademy course http://www.codecademy.com/ru/courses/javascript-lesson-951/0?curriculum_id=4fc3018f74258b0003001f0f#!/exercises/6 - making a vertical sliding pannel. The
I have a webpage that needs to show a sliding panel when you hover

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.