Scroll bar in infoWin

  • fs_sot
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 4 months ago #948 by fs_sot
Scroll bar in infoWin was created by fs_sot
all of my infoWin include at the bottom a scroll-bar, anyone knows how can I remove it ?

Thank you in advance! and thank you again for this awesome component!

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago - 12 years 4 months ago #949 by Dima
Replied by Dima on topic Re: Scroll bar in infoWin
Hi.
You should modify your template css styles, and set for map divs, for example
Code:
overflow:auto;

You can check current styles in firebug, and fix it.

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 12 years 4 months ago by Dima.

Please Log in or Create an account to join the conversation.

  • fs_sot
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 4 months ago #1047 by fs_sot
Replied by fs_sot on topic Re: Scroll bar in infoWin
Thank you very much for your help!

Please Log in or Create an account to join the conversation.

  • fs_sot
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 4 months ago #1081 by fs_sot
Replied by fs_sot on topic Re: Scroll bar in infoWin
hello! I have checked the infoWin using Firebug and it seems that if I change the following

<div style="overflow: hidden; "><div id="placemarkContent11"><h1 id="headContent11" class="placemarkHead">Park Building</h1><div id="bodyContent11" class="placemarkBody"></div></div></div>

to overflow:hidden the scroll bar disappears. The problem is its an inline element. Any ideas how this can be changed ?

Thank you!

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago - 12 years 4 months ago #1084 by Dima
Replied by Dima on topic Re: Scroll bar in infoWin
I'm not well on css.
May be you can do like this:
I create main map div with special ID. As for component ID=GMapsID
There fore you can try to override properties for nested divs in map div.

For example, you can try add into your template css:
Code:
#GMapsID div { overflow:auto; }

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 12 years 4 months ago by Dima.

Please Log in or Create an account to join the conversation.

  • fs_sot
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 4 months ago #1087 by fs_sot
Replied by fs_sot on topic Re: Scroll bar in infoWin
Thank you for your reply, but problem solved! I had to add
#placemarkContent{
overflow:hidden;
}

for each placemark, time-consuming but now its fine! :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.229 seconds
Powered by Kunena Forum