On Jun 22, 2:26 pm, "[email protected]" <[email protected]>
wrote:
> On Jun 22, 1:45 pm, GNP <[email protected]> wrote:
>
> >http://www.novoprint.com/GoogleTests/gmap/Currentmap.html
>
> > I have a sidebar menu that is populated by an XML file.
> > The sidebar menu has a categorial structure.
> > I want to have the category headings (AUTOMOTIVE, FINANCE, etc.),
> > stand out from the other items listed in the menu. I can't figure out
> > a way to do this with CSS. As it is now, I'm using CSS to style the
> > active and hover states of the links. Is there a way to be selective
> > about styling specific items in the menu?
>
> You should change the way you do your processing.  Currently each of
> your headings cause a "marker" to be created with lat=NaN and lng=NaN,
> which IE doesn't like at all.
>
> If you create the headings differently, you can style them
> differently.  One way would be to store them as a property of the
> markers, then when you get a new category as you are processing the
> sidebar, emit the category heading with its special style, then
> continue on.

Here is a version of what I am talking about (modified from the
original "categories" example in Mike Williams' tutorial, but with a
slightly modified version of your xml):
http://www.geocodezip.com/MW_example_categories_headings.html

   -- Larry


>
>
>
>
> > Do I need to look into using XLM or XSLT for this or is there a
> > simpler method that anyone can suggest?
>
> > I don't think Pseudo-classes will work because the menu is not
> > developed from a list that I could target.- Hide quoted text -
>
> - Show quoted text -

-- 
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