hi

i m harry  i need help in handling the gmap  infowindow  tab

my problem

i m using Tabbed Max InfoWindow    for  display database information

the link for scipt is 
http://gmaps-utility-library.googlecode.com/svn/trunk/tabbedmaxcontent/1.0/examples/maxtabs.html

in tabs  i can able to print the normal html text  but not able to
call external link or page url using  these tabs

could any body tell me how to call   url or page in tab info window
 this is the code i musing


 <-----------------------script type='text/
javascript'--------------------------------------- >
          if (GBrowserIsCompatible()) {
                var map = new GMap2(document.getElementById('map'));
                var pt = new GLatLng(<?php echo $this->MapLatitude; ?
>,<?php echo $this->MapLongitude; ?>);
                map.setCenter(pt,<?php echo $this->MapZoom; ?>);
                map.setUIToDefault();
                                //map.addControl(new GLargeMapControl());
                // map example
                GEvent.addListener(map, 'click', function(ov, latlng,
ovll) {
                  if (!ov && latlng) {
                    var min = 'regular map info:' + latlng;
                    var sum = '<p>summary map info:<br/><br/>' + latlng
+ Math.random()+'</p>';
                    var tabs = [
                     new MaxContentTab('map tab0', 'map content0'),
                     new MaxContentTab('map tab1', 'map content1'),
                     new MaxContentTab('map tab2', 'map content2'),
                     new MaxContentTab('map tab3', 'map content3')];
                    map.openMaxContentTabsHtml(latlng, min, sum, tabs,
{

                                          maxTitle: 'More Map Info'
                    });
                  }
                });

                // marker example
                var marker = new GMarker(pt);
                map.addOverlay(marker);
                GEvent.addListener(marker, 'click', function(latlng){
                    var min = 'regular marker info:' + latlng;
                    var sum = '<p>summary marker info:' + latlng+
Math.random()+'</p>';
                    var tabs = [
                     new MaxContentTab('Text 1', '<table><tr><td><?php
echo "<a href=\"http://code.google.com/search/#p=maps&q=InfoWindow
\">hello</a>";?></td><td><?php echo "Amit";?></td><tr></table>'),
                     new MaxContentTab('Text 2','hello to me'),
                     new MaxContentTab('Text 3', 'marker content2'),
                     new MaxContentTab('Text 4', 'marker content3')];
                    marker.openMaxContentTabsHtml(map, min, sum,tabs,
{
                      maxTitle: 'More Marker Info'
                    });
                });

                          }


        </scrip---------------------------------------t>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to