[Chameleon] tabs

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


I made a quick test by simply copying/paste the ROI tab widget 
definition and changing only the image. It worked well for me.
Do you have any Javascript error?

Julien

Tim Badtke wrote:
> I left the definitions alone, just replaced the Image. Do I need to
> specify the color change in the image states themselves? I thought that
> they should be able to come from the styleresource?
> 
> Thanks for the help,
> Tim
> 
> -----Original Message-----
> From: Julien-Samuel Lacroix [mailto:jlacroix at mapgears.com] 
> Sent: Friday, June 02, 2006 8:19 AM
> To: Tim Badtke
> Cc: chameleon at lists.maptools.org
> Subject: Re: [Chameleon] tabs
> 
> 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/
> 
> 

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


More information about the Chameleon mailing list