[Chameleon] tabs

Julien-Samuel Lacroix jlacroix at mapgears.com
Fri Jun 2 09:19:18 EDT 2006


Hi,
What is the widget definition of your new Tab buttons? In the 
sample_enhance sample, the tab buttons are defined like that:
<cwc2 type="Link" linktype="javascript" jsfunction="ShowROIToolsLayer" 
styleresource="Tabs" Image="icons/icon_tab_roi.png" ImageTip="Region of 
Interest Tools" toolset="TopTabs">
     <image state="normal"/>
     <image state="hover"/>
     <image state="selected"/>
</cwc2>

The 3 <image state=...> tags are defining the color change when hovering 
and selecting

Best regards,
Julien

Tim Badtke wrote:
> I'm developing a historical photo viewing application and have a 
> question.  I based it off the sample enhanced jsapi template and made 
> some custom tab icons.  My problem is these tab icons don't change 
> colors or borders when hovering over or selecting.  They all use the 
> Tabs shared resource.  Is there something special I need to do to make 
> this happen?  The ones that came in the sample work fine, but none of 
> the ones I made do.  Can anyone clue me in to what I'm doing wrong?
>  
> Thanks,
> Tim
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list