Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
360
Splitter button used in sample
posted

I am trying to replicate the behavior used in the sample for the splitter, "Nested Panes & More".  I want to use the same behavior and so I copied the ig_splitter.css to my project and referenced each specific css class as below.

My question is, how does the collpased button get displayed.  It is not referenced in the class igspl_CollapseSplitBarButton, so I added the collapse left image there, but how do I get it to display the right expand image after its collapsed?  How does the sample do this?  Is there some magic behind the scenes using the FeatureBrowser style? I am using 2008 volume 3.

 

<SplitterBar

ThicknessCssClass="igspl_VSplitBarWidth"

CssClass="igspl_VSplitBar" HoverCssClass="igspl_VSplitBarHover"

ShadowCssClass="igspl_VSplitBarShadow" ShadowLimitCssClass="igspl_VSplitBarShadowLimit"

PressedCssClass="igspl_VSplitBarPressed" CollapseButtonCssClass="igspl_CollapseSplitBarButton"

>

</SplitterBar>

Parents
  • 360
    posted

    As a follow up, you can add this node to the <SplitterBar> node:

    <CollapsePreviousPaneButton CollapseImageHoverUrl="../images/ig/igspl_CollapseLeftHover.gif"

    ExpandImageUrl="../images/ig/igspl_ExpandRight.gif" ExpandImageHoverUrl="../images/ig/igspl_ExpandRightHover.gif"></CollapsePreviousPaneButton>

    The paths are specific to my environment.

    But I'm still curious how the sample works?  Is there some magic built in there somewhere?  It would be nice if the samples were easier to use.  I've just been guessing how to make it look like the sample without using styling, the help provides very little on this subject.

     Tom

Reply Children
No Data