I created this which is designed to fill the entire available window
with the plugin box:
http://footstepsofthebuddha.googlepages.com/ge_plugin_popout.html
The inner div in each balloon seems to have broken positioning and I
can't quite figure out why. Perhaps this is a bug related to the way I
have the plugin box positioned?
Another issue is that I was unable to place the box with the buttons
over the plugin box using absolute positioning no matter what I had
the z-axis set to. Instead I ended up leaving some space at the top to
expose the buttons.
BTW, it might be nice if the balloon divs had classes associated with
them so that you could fix the styles with CSS. If you happen to have
a page that does something nasty with CSS (like style h3) it may be
useful to force the style for the balloon elements back to something
reasonable. Notice the balloon style issues on this page:
http://footstepsofthebuddha.googlepages.com/footstepsofthebuddha2
(In this case the h3 style is coming from the googlepages template,
and I'm not even sure exactly why the text is centered. I know
googlepages doesn't realy support this properly and using this there
is a bit of a hack anyway.)
I realize that a workaround is to build the balloon text from scratch
something like this:
balloon = ge.createHtmlStringBalloon('');
balloon.setFeature(fc);
balloon.setMaxWidth(300);
balloon.setMaxHeight(400);
balloon.setContentString(
'<div class="balloon"><h3>'+fc.getName()+'</h3>'
+fc.getDescription()+'</div>');
ge.setBalloon(balloon);
Then define css for class 'balloon' and children.