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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:20:32+00:00 2026-05-17T00:20:32+00:00

I am using Tabs and CCK Fieldgroup Tabs module to put node GMap CCK

  • 0

I am using Tabs and CCK Fieldgroup Tabs module to put node GMap CCK location map in a tab.
When I put GMap location map in one of the node tabs (Tabs module) other than first one (default), the map view does not centre properly the marker. It slides one width off the screen to the east (right). I need to press “scroll right” arrow once on the map controls to have the marker centred properly.

I have read all the Drupal threads touching this issue and all I found are suggestions to play with resizeMap() function.
Anyone knows where exactly to play with it? Where to apply the change to the code to accomplish the task in the least invasive way?

Attached screenshots:
Screenshot just after switching to the tab with Gmap map

After scrolling once marker is in acceptable position

  • 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-17T00:20:32+00:00Added an answer on May 17, 2026 at 12:20 am

    What solved my problem was to override tabs ccs styles from drupal-tab.css:

    .ui-tabs-hide  {
    left:-15000px;
    position:absolute;
    top:-15000px;
    visibility:hidden;
    }
    

    to:

    .ui-tabs-hide {
    position:absolute;
    visibility:hidden;
    left: 50%;
    top:-15000px;
    }
    

    in my theme css.
    The crucial part is to override left css property of position:absolute.
    Works for firefox, safari and google chrome. Not tested in IE as I am sitting on Mac 😉
    If anyone knows better solution for this map display issue please share.

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

Sidebar

Related Questions

I define a tabs using JQuery <div id=tabs> <ul> <li><a href=#tabs-1>Tab 1</a></li> <li><a href=#tabs-2>Tab
I'm using jQuery tabs. In one of the tabs is a wysiwyg editor that
I have a page that is using jQuery tabs. Within one of my tabs
I'm using jQuery tabs, and I added some spans to the tab headers so
I have installed Location, GMAP, GMAP Location and Location CCK modules. I needed Location
Using tabs users can click around a tabbed interface On each tab results are
I'm currently using tabs with Twitter Bootstrap and want to select the same tab
I am showing two activities, one activitie bigger than the other. I'm doing it
I am using four tabs in my tabBar navigation, the third tab accesses Core
I my application am using four tabs . Each tab contains an acticity. So

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.