Hello all, Sorry, but I need some help again please. I want to implement optional 2-tabbed infowindows. I've looked at several tutorials, many posted queries and quite a few working examples, but the approaches found are invariably so different to my starting point that anything I try falls apart! However, my version two link is the closest I've got to something that works - but that's not saying much!
Version two attempt at employing tabs. [Tabs and conditional statement missing] http://tinyurl.com/38pehl6 What's happening currently is that the infowindow is displaying the XML "tabs" value, which means, looking at it positively, that the XML is working and to some extent, so is the code! However, my attempts at defining the variable tabs and setting up a conditional statement have all failed miserably. 1. Defining the variable tabs? 2. I'm assuming that a conditional statement will determine whether tabs are displayed: if tabs = "2" content 1 [current var html], content 2 [xml 'content2'], tab1 ["info"], tab 2 ["details"] else content 1 [current var html], [no tab] How and where does this go? Clearly I'm out of my depth here - I feel like one of those inappropriately dressed walkers, trapped at the top of a mountain, wearing flipflops and trying to make fire in driving rain. Help! Existing, working, no-tabs version: http://tinyurl.com/357vts7 -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
