Add [+] plus [-] minus to collapsible tab

Hi,
I think this is an easy one, but I have searched high and low to find out how to accomplish this task .
I want to add a small [+] symbol to the collapsable panel tab to give a visual aid showing the tab can be clicked to expand it.  Then, (and this is the bit that requires the code) once expanded, the symbol should change to a [-] to close the collapsible panel.  Other than the symbol, there will be some title text.
You've seen and used it everywhere these days, but I don't know how to add it to my css or js.
Can someone please point me in the right direction?
There must be a resource out there, maybe I'm just using the wrong search criteria when looking.  You don't want to know the permutations I've tried on Google and on here.
Thanks!

Thanks Beth,
That is a useful tutorial.
However, I had since found some information on this and made my css as follows.  Instead of using padding, I used text-intent.  I also put most of the code in the CollapsiblePanelTab to save duplicating.  Does that follow standards?
.CollapsiblePanelTab {
    font: bold 0.7em sans-serif;
    background-color: #DDD;
    border-bottom: solid 1px #CCC;
    margin: 0px;
    padding: 2px;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    text-indent:22px; /* to ensure the text does not overlap the image in .CollapsiblePanelOpen .CollapsiblePanelTab below */
    background-repeat: no-repeat;   /* refers to the image in .CollapsiblePanelOpen .CollapsiblePanelTab below */
    background-position: 8px center; /* position the image in .CollapsiblePanelOpen .CollapsiblePanelTab below */
.CollapsiblePanelOpen .CollapsiblePanelTab {
    background-color: #EEE;
    background-image: url(../../images/b_minus.png);
.CollapsiblePanelClosed .CollapsiblePanelTab {
    background-color: #EFEFEF;
    background-image: url(../../images/b_plus.png);
You can see the result in the Collapsible Panel at http://yabbox.com/spry.php

Similar Messages

  • Discover Plus - Export to Text Tab delimited is not exporting all the rows

    Hi gurus,
    I am trying to export a large data report which has 1 million plus rows to text tab delimited. The export takes 9 plus hours to export and the data is not more than 100000.
    My question is
    1. How can I make the discoverer to export it quicker or rather faster to tab delimited.
    2. Where can I change the number of rows to be exported.
    Any help, suggestions is appreciated.
    Thanks,
    SAI

    Hi Rod,
    Yes. The text tab delimited export is taking lot of time. The total rows for this report are nearly 1 million. If I break down the report with condition and export it I was able to export it ( three files exported with 212000, 103000 and 687000 rows respectively).
    But I m still having problems exporting it in one shot. Is there any way I could resolve this? Please let me know.
    Thanks,
    SAI

  • Plus/Minus Squares in .chm file

    Hi Everyone...
    Two questions, thanks in advance for the help.  FYI:  Using RoboHelp HTML, ver 8 with a project that has multiple folders and topics; also using it in a shared environment with multiple users, using RoboSource for version control.
    1.  Any ideas as to how I can enable the "Plus/Minus Squares" option in HTML Help - Advanced Settings?  I want to generate a .chm file that has the plus and minus signs next to the book icons.  I found the settings in the HTML Help Options - Microsoft HTML Help but they're grayed out.  Trying to figure out how I can enable them so I can generate the .chm with the signs in help file output.
    2.  I have two topics that "disappear" everytime I go out of RoboHelp and come back in.  I need to import them each time I open the project.  I can see them in RoboSource.  I can't find any way to unhide them -- I swear there was a way to just "unhide" them from RoboSource that I've used in the past but can't remember how I did it (senior moment, that won't end....).
    Thanks!!

    Hi there
    I'm not sure exactly why, but this goes back to the eHelp days. In their infinite wisdom, the developers decided that you would never ever want Plus Minus Squares unless you FIRST wanted Lines From Root!
    So enable the Lines From Root and the Plus Minus squares should become enabled.
    On the topics you don't see, I'm wondering if at some point you saw a message about files being outside the project and therefore not being shown in RoboHelp. If so, there was a dialog with a check box you could select that says "Don't show me this again". And sure enough, you aren't seeing the message that alerts you there are missing files.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • JTree not showing plus/minus signs

    Hi,
    I'm having a strange problem with JTree when implementing my own DefaultTreeCellRenderer: the renderer is shown correctly, but the plus and minus signs are gone!
    My getTreeCellRendererComponent implementation actually creates a new JPanel and returns it instead of the default one. Can that be the problem? How can I make these plus/minus signs come back?
    Thanks, U

    I have seen something a little different on my CustomCellRenderer where the plus minus sign is replaced with some default arrow icon and where it comes from I have no clue. I basically have a 3 level deep tree and its at the B level where this icon appears.
    http://www.matthewscorp.com/images/JTreeError.jpg
    For the life of me I can't figure this one out. I have tried all ideas like set all the renderer icons or the LAF properties icons and still this blue arrow appears. Any ideas would help on both mine and the original poster.

  • In Firefox 10, is there a way to add two "Open a new tab" buttons like in Firefox 3.6?

    In Firefox 10, is there a way to add two "Open a new tab" buttons like in Firefox 3.6?

    This UI change is really stupid and useless. People got used to some specified menu items order. Changing this order could only annoy and anger.
    Also the reload button has been relocated. This is another example of stupid Firefox 4 UI change. The good news is that it could easily be relocated to its original place.
    It looks like the Firefox developers are suffering from idleness and boredom.
    CHANGE IT BACK ASAP!!!

  • Opensource ATI can't switch video modes with CTRL+ALT+plus/minus

    Hi,
    I've updated my system to the new xorg-server and video driver.
    The new video driver (xf86-video-ati-6.7.195-1) can't switch video modes with the CTRL+ALT+plus/minus key combination. I use this key combination a lot and before I upgraded to the new driver this worked :-(
    Anybody else having this problem?
    I know I can use xrandr to change the video mode, but it doesn't exactly do what I want. Xrandr changes the video mode, but also changes the resolution of the screen, while CTRL+ALT+plus/minus keeps the resolution intact (the screensize is bigger than what is seen on the monitor, you can scroll the screen by moving the mouse "out" of the monitor)
    Is there a fix/patch that I can try?

    It looks like this is the result of the new opensource ati drivers use the new xrandr.
    One of the changes is that it will treat the screen section in xorg.conf differently. Browsing through video modes, using the CTRL+ALT+plus/minus key combination, that are defined in the screen section in xorg.conf is not possible anymore.

  • How to add custom field in Documents Tab of PO Header ?

    Dear SRM Friends,
      This is a challenging task as an ABAPer to confront to..
      We are in the midst of a requirement where we have to add a custom field in the PO Header. But the requirement is to add the field in Documents Tab in PO Header Data as found in the following path of SRM Webpage  :
    Operational Purchaser > Purchase Orders > Process Purchase Order > Select a PO > Header Data > Documents.
      As guided by "Note 672960 - User-defined fields 2" , on executing all the steps of the note the field is getting added, but in the Basic Data Tab of the PO. But this doesnt meet the client requirement.
      Anybody having some solution to this, shall be greatly awarded.
    Thanks in advance,
    Vikas.

    Hi Vikas,
    You can define a Text ID in Header data with F4 help. But the list of values will be fixed, but configurable. This will exactly solve your problem. This will be quite simple and straight forward solution with no custom developments.
    Please Navigate to
    SAP Implementation Guide -> Supplier Relationship Management -> SRM Server
    -> Cross-Application Basic Settings -> Text Schema
    1. Define Text Types
    Select BBP_PD and double click text id. Add a new text id here.
    2. Define Text Schema
    Select PO and add the newly created text id and set required parameters.
    3. Define Fixed Values for Texts
    Select your PO transaction type and maintain the required values for F4 help / drop down.
    Hope this would solve your problem.
    Regards
    Kathirvel

  • Requirement to add new field in Location Tab of Service order

    We have a requirement in which it is needed to add anew field in Location Tab of Equipment and Service order. For Equipment part , we have added the field via Enhancement ITOB0001 and activating the field via "Set View Profile for Technical Objects".
    But for Service order part, we are not able to add the new field in the Location tab , please suggest how can we achieve this.

    Hi Deepika,
    If you are not particular about having it in Location tab use Screen-Exit provided in the Enhancement IWO10018 to add an additional tab to host your custom fields. as under:
    ABAPer will be able to readily follow these steps
    Steps will be,
    1. Create a Data type to capture the your custom values. (SE11)
    2. Include your Zfield (with this datatype) through in the include structure CI_AUFK of the Order Header table (AUFK)
    3. Create a project with Tcode CMOD and assign the enhancement above (IWO10018)
    4. Go to Components and Click on Screen Exit
    5. Here Go to Screen-painter (Blue Arrow named Layout) , Create your Field screen-box, field Text field and field Input field. In the field input field Name you should use the above Zfield details (table-field)
    6.Activate the project CMOD and come-out.
    Run IW31, you will see an additional tab like shown above. But here the field is nothing.
    We haven''t told the system what is to be filled here.
    For this in continuation to the above steps between 5 and 6, insert this step.
    5a. Write your code in Function Exits : EXIT_SAPLCOIH_018 and  EXIT_SAPLCOIH_019  of the same enhancement (IWO10018.)
    Code to be written in exit 18:
    move-corresponding COCI_AUFK_IMP to AUFK.
    Code to be written in exit 19:
    move-corresponding aufk to COCI_AUFK_exp.
    After this exercise your Z-field will be visible in the Enhancement Tab as shown in the picture in the beginning. Now your values will be saving to AUFK table.
    So, this is completely an ABAPer job.
    Hope this information helps you.
    Jogeswara Rao K

  • Need an add on that changes the tabs like pages of an book

    need an "add on" that changes the tabs like pages of an book. I had this years ago, but dont remember the name and how to find it. Thanks

    Maybe this extension or one of the others mentioned has that feature:
    Tab Utilities: https://addons.mozilla.org/firefox/addon/59961

  • Is this possible to add one page under 2 tabs conditionally in Oracle 10g

    Hello All,
    Is this possible to add one page under 2 tabs conditionally.
    Lets say i have created one page "Page 1" under "Tab 1". Now i want the same page to be displayed fom another tab also.i.e. from "Tab 2" from the same application.I want to avoid creating copy of this page.
    Such that when i am in Tab 1 and going to this page ,the newly created page should show tab as Tab1.Similarly if i am going to Page 1 from Tab 2 ,the newly created page should show tab as Tab2.
    What can i do for this.
    Thanks
    Swapna

    Swapna,
    For Tab1 and Tab2, set the 'tab page' as 1 under 'current for pages' while you edit the tabs. This would add page 1 under two tabs, tab1 and tab2.
    Regards,
    Hari

  • Add checkbox on header level Tab Org.data

    Dear All,
    My requirement is I need to add checkbox on header level Tab Org.data in ME21n or ME21.
    And if checkbox is checked in the tab Org.data, it should display Terms and Conditions in the print preview.
    Please suggest how to write code? Is there any user exit for transactions ME21N or ME21.
    Thanks,
    Rana.

    hi praveen,
    search this forum on how to implement a badi if you haven't done one before. also, go to transation SE18 and read the documentation on badi_fdcb_subbas01 which clearly says that its used for FB60... see the example how they have used it by going to menubar Implementation->Overview then choose FI_FDCB_SUBBAS01_EX (Example for Screen Enhancement 1 on FDCB Basic Data Screen)...you should look at the method PUT_DATA_TO_SCREEN_OBJECT and tab Subscreens where the screen exits are available to use.
    In FB60, if you go to menubar System->Status and check the Program (Subscreen) and Screen Number, you'll see it'll match the program name and screen no. provided in the Subscreen tab of the BADI.
    Hope this helps.
    Cheers,
    Sougata.

  • Incorrect plus/minus sign in MB51

    Hi All,
    In MB51 report we are getting an incorrect minus sign in the display. When I run the report for mvt type 102 the quantities are displayed in RED color but the minus sign after it is missing. The sustem is considering it as plus.
    What could be the problem?
    Regards,
    V S

    check SAP notes.
    e.g. OSS note 1317700 Incorrect plus/minus signs in display for transaction MB51
    and  Note 1319863 - Incorrect plus/minus signs in display for transaction MB51
    if you cant find any that fits to your system, then open an incident at SAP yourself

  • Expand collapsible tabbed spry to fill div..

    I currently have a div with width 700px and height 500px and i have inserted several collapsible sprys 1 above the other with the dimension of tab being 150x700px and the content 350x700px. When i click the tab of the first collapsible spry the content drops down to fill the div but with the second and so on the spys are half off the screen. Is there way so that when you click any of the collapsible spry they all expand centrally within the div?

    Hi thanks here is a link to my site you will notice a scrolling div with 2 collapsible spys in it.
    the first spry expands and fills the div
    the second spry is off the bottom you have to scroll down
    is there a way to make all sprys expand to fill the div??
    David
    From: altruistic gramps
    Sent: Tuesday, March 08, 2011 11:34 PM
    To: david phoenix
    Subject: expand collapsible tabbed spry to fill div..
    Please supply a link to your site/page
    Gramps

  • How do you add websites to "Most Visited" tab?

    I am accustomed to using IE and Favorites for quick access. Most Visited is similar to what I want to do. How can I add websites to "Most Visited" tab?

    "Most Visited" and "Recently Bookmarked" are examples of the so called [[Smart Bookmarks folders]] and are not real existing folders.<br />
    Such smart folders show a list created by a query of the places.sqlite database that stores the bookmarks and the history in Firefox.<br />
    "Most Visited" shows a list of websites that have the highest visit count, so if you want sites to appear in that list then you need to visit a site often enough to make it match the visit count of other sites in that list.<br />
    You can see the visit count in the Library if you make that column visible (View > Show Columns).<br />
    It may be easier to create your own folder with favorite sites and place a copy of a bookmark in that folder.<br />
    That will also allow you to sort them as you like.
    *http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    *https://support.mozilla.org/kb/Bookmark+folders

  • Help,add button to contracts overview tab and the HEADER tab

    Hello,
    I would like add button to contracts overview tab and the HEADER tab .
    Do you want to change the standard procedure?
    /SAPSRM/WDC_CTR_DOFC_OV_H?
    Are there any other way?

    Hi,
    You can create a enchancement implemenation for /SAPSRM/WDC_CTR_DOFC_OV_H  and /SAPSRM/WDC_CTR_DODC_H_BD  by clicking on 'snail icon' .
    Creating button as per requirment. coding in  method on action of that button.
    Regards,
    Neelima

Maybe you are looking for

  • I have one problem whit my iPhone 4 about the speaker

    only i wanna know if apple can fix my iphone 4 because the speakers is broken.

  • How to deploy obiee 11g RPD in unix environment

    Hi, We have installed OBIEE 11g in UNIX env,and we need to deploy new RPD. pls..could any one share the process and the list of commands that we wil use in while trouble shooting

  • An error occurred saving the images to the chosen file location

    I am trying to save the scans from my HP Officejet 6500.  I receive the following error message: An error occurred saving the images to the chosen file location. I have Win 7. I can scan and save if I choose to use the picture option but I can't use

  • Webcenter Startup for first time throwing lot of exceptions

    Hi , I have done a fresh Installation of a linux 64 bit machine with 12GB RAM. When I start the Webcenter using the *./startManagedWebLogic.sh WC_Spaces "http://localhost:7001"* I get the follwoing exceptions. When I try to access the webcenter URL,

  • Rotate Net and Bus names

    1. Is there a way to rotate the net names and/or bus names to follow the wire if it runs vertically? The command shift/R does not work. (Version 10.1 Power Pro). 2. Can the names be placed off grid? There is no reason to snap a name to the grid. Ther