Maybe you could post a link to demo page so we can see your solution in
action.
Ralph
On 08/09/2011 14:26, Roman wrote:
We have find out solution how to finally always show correct size of
infowindow with jquery tabs, without annoying scrollbars or
anything :)
The trick is that you have to create element and inside that element
you have to apply tabs() function!! And then result set like a content
of infowindow.. maybe you also want to get tab with longest height
and set it to the first tab(which is used to set height of infowindow)
Here is the important part of code:
var contentString //your code usable for creating jquery tabs
google.maps.event.addListener(marker, 'click', function() {
var div = document.createElement('div');
div.innerHTML = contentString;
$(div).tabs();
infowindow.setContent(div);
...
});
--
You received this message because you are subscribed to the Google Groups "Google
Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.