Fun....

The Google Maps module does NOT seem to work with this enabled. I believe there is a conflict in the multiple javascript files used in the Google Maps Module and the Resize code.
But I want to have my cake and eat it too!
My first instict was to go back to my pre-resize template. You keep backups, don't you? and assign it to just the pages that call the maps module. No go.
So, time to hack away. You'll need to fix your template.
When com_googlemaps is active, we need to make sure the resize script is turned off, because they conflict.
Assuming some other hapless soul will have the same problem I did, here is my temporary solution until somebody comes up with something better.
I took the cue from the Google Maps module code itself and did the following.
Fixed my HTML tag to the following:
Code:
<html xmlns="http://www.w3.org/1999/xhtml"; xmlns:v="urn:schemas-microsoft-com:vml" <?php if ($option=='com_google_maps') { echo " style=\"font-size:76%;\""; } ?> />
Reason: When the javascript to resize is turned off, the text size is set to the largest possible. Not pretty. The php if statement checks whether the com_google_maps is active, and if it is, outputs a style on the html tag.
Fixed my call to the resize javascript to:
Code:
<?php if ($option=='com_google_maps') { echo ""; } else { echo
"<script type=\"text/javascript\" language=\"javascript\" src=\"" . $mosConfig_live_site . "/templates/" . $mainframe->getTemplate() . "/js/md_stylechanger.js\"></script>"; } ?>
Reason: The code is not called, there is no conflict with the javascript from the google maps module. The php code checks if com_google_maps is active, and then chooses NOT to print out the call to the javascript. The user's browser does not see, does not attempt to load it, and there is no conflict.
Extend this last bit of code to include your buttons, remember to escape the quote characters... Better they don't show if you are not going to be able to use them on that page anyway. I didn't want to make this example too long.
Mileage may vary...
Suggestions for better code welcome.