Accordian panel with plus and minus signs to indicate state of panel

I want the text to show [+] next to the title of the panel when it is collapsed and [-] when it is expanded
just like http://www.reddit.com/r/indesign/comments/1jewqq/custom_kerning_applied_to_a_single_charac ter/
the comments on this page can be expanded or collapsed by clicking the plus or minus sign
how do i do this?

I've started filling the accordion with my content and the
cookie works fine. But I see some things I'd like to have changed
if possible?
a) When I load the page all accordion panels flips open at
the same time and they stay open until the page has loaded. It's
probably not visible in the demo because it's only a few bytes to
load there. After the page has loaded the cookied panel stays open
and the rest of the panels close. Is it possible to hide the
loading of the panels somehow? This is kinda messy right now.
b) I'd like to use the cookie to control the panels but only
during the current session. When a new session occurs I'd like to
start with all panels closed a) (or use the script that states
default panel). The standard accordion use a small script to set
the default open panel. I tried modifying this script but it looks
like the accordion is following the laws of the cookie and is now
ignoring this script.
Panel 4 set to be default (0, 1, 2, 3):
<script type="text/javascript">
var Accordion1 = new
Spry.Widget.Accordion.prototype("Accordion3");
</script>

Similar Messages

  • How will Numbers recognize number with plus and exponential sign in it?

    For example, I have data in number such as "+1E9" which stands for 1 billion. But Numbers does not recognize it as a number. What can I do to use these as numbers?

    Hi lisai,
    "I guess I will use excel instead, a little bit slow but works fine."
    Wow! First time I heard that complaint directed at Excel when comparing it to Numbers!  ;-)
    Thanks for the day-brightener.
    Regards,
    Barry

  • Plus and minus keys on wireless keyboard?

    hi there everyone. i've got a new aluminum wireless keyboard and i love it to bits. gorgeous bit of design and elegance. on the previous apple keyboard however there was a couple of handy keys next to the numeric pad for 'plus' and 'minus'. Does anyone know how i can find these on the wireless keyboard? these were particularly handy when hit with the 'command' key to increase or decrease the size of text in safari.

    excellent, thank you, i'd obviously not looked at my keyboard closely enough! cheers...

  • Plus and minus DVD format on new g5's..... Can I upgrade?

    I see on the new g5's that they list plus and minus format dvd burning cabability. Can I upgrade to that ability? The current drive is very picky about media. Memorex 8x won't work. Tdk 8x will. Tdk 16x won't . I find it very annoying. It looks like there is a multiformat drive already in my g5's. How can I make them burn both plus and minus? I am running 0s 10.4.6 Is there a better drive that is not so picky? Thanks

    What software are you using to burn with?
    If you're using software that allows you to select the burn speed (e.g. Toast), what speed are you burning at?
    Can you describe what happens when the burns don't work? Do you get an error message, does the burn just stop partway through, etc.?
    From my experience, the Pioneer is less finicky, but this is just from anecdotal evidence as I've only used Pioneer drives, with the exception of the burner in my PowerBook which is a Matsushita.
    I'm reluctant to suggest buying a new drive. Is there any particular reason that +R burning is necessary? If the students bought them and the drive doesn't like them, maybe they can exchange the unused discs. Or, it might be helpful to try several different brands (I know you've already tried Memorex and TDK). Maybe try some Maxell and Verbatim.
    The Pioneer drives can be found for between $40 and $50. One of the best things about the Pioneers is that they periodically release firmware updates to the drives to enable new media to be used and to improve burn reliability. I believe OSX 10.4.6 is the first to provide native support for a non-OEM DVR-110.

  • The plus(+) and minus(-) keys to increment or decrement the date

    Hi All,
    I have a date field in which I would like to have the + and - keys to increment or decrement the date as in some windows programs.
    Thank you, Bill

    Hi Chad, Yes I know the Date Picker... that is what it has now.
    My users are keyboard users... hitting the plus or minus sign in the Num Pad is much quicker if the date is only 2-3 day plus or minus...
    We desire to have the Date Picker and have maybe a onkey event call. I was hoping to find someone that has used "onkey" for a specific element/field so it doesn't look at every key stroke in the document but just the one date element onkeyup etc......
    Thanks for the response.
    Bill

  • My plus and minus volume control doesn't work.. Is there any way of turning them on or off? Or is my phone faulty?

    My plus and minus volume control doesn't seem to work.
    Can I switch the volume on?

    Hi Timjazzhair,
    Go to Settings ==> Sounds and in 'Ringer and Alert' set 'Change with Buttons' to YES.
    Woops! Meg beat me to it!

  • The plus and minus button on my headphones aren't working

    The plus and minus button on my i phone 5 headphones aren't working

    I think there are a lot of us having the same problem. Siri also doesn't work. The only thing I can use the earbuds for is turning the iPod off and on.....

  • Where are the plus and minus keys on a Pavilion dv6-3150us Entertainment Notebook?

    Where are the plus and minus keys on a Pavilion dv6-3150us Entertainment Notebook?  Joe
    Joe B.

    Its on the keyboard somewhere on top center close to the number keys. To be straight, its just below F12 key. 
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • If I buy a ipad mini with cellular, and not sign up for cellular service, can I use the onboard GPS, or does it depend on the cell signal since it is aGPS

    If I buy a ipad mini with cellular, and not sign up for cellular service, can I use the onboard GPS, or does it depend on the cell signal since it is aGPS?

    Right. But as I understand it, the aGPS is a function that speeds location using cell signals, but isn't necessary for the GPS signal. I can buy a plugin device that is a real GPS that I can use with my iPad mini. However, I would need an app for maps. I was wondering if anyone had used one of these.

  • I installed Adobe over a month ago when prompted that my trial was expired.  We pay 19.99 a month, and when signed in it states our next payment is due Feb 5, 2015.  Yesterday I got a prompt that my trial was expired and I couldn't open any pdf files anym

    I installed Adobe over a month ago when prompted that my trial was expired.  We pay 19.99 a month, and when signed in it states our next payment is due Feb 5, 2015.  Yesterday I got a prompt that my trial was expired and I couldn't open any pdf files anymore. I uninstalled and reinstalled and it worked all morning until just now, now it is prompting me that the trial is expired AGAIN.  What do I do to fix this permanently??

    You installed Adobe what?  Assuming that perhaps you have a subscription for Acrobat XI Pro, I will move your post to the appropriate forum.  You could also try to Contact Customer Care.
    [topic moved to Acrobat.com Services forum]

  • Plus and minus instead of mouse pointer

    http://www.rwphotographic.com/#/recent/pbs
    On the site above, the designer has managed to replace the mouse pointer with a plus (+) or minus (-) depending on where the mouse pointer is (either the left hand side of the screen or the right).
    I'd like to know how I could achieve this via AS3, if this is a possibility.
    It will still need to work when the browser is resized however.
    Thanks if you can help.

    This code shows either plus or minus depending over which half of green rectangle mouse is:
    import flash.events.MouseEvent;
    import flash.ui.Mouse;
    var plus:Shape = makePlus();
    var minus:Shape = makeMinus();
    var sprite:Sprite = new Sprite();
    var g:Graphics = sprite.graphics;
    g.beginFill(0x008040);
    g.drawRect(0, 0, 200, 200);
    g.endFill();
    addChild(sprite);
    sprite.x = sprite.y = 50;
    var spritVerticalCenter:Number = sprite.x + sprite.width * .5;
    sprite.addEventListener(MouseEvent.MOUSE_OVER, onSpriteOver);
    sprite.addEventListener(MouseEvent.MOUSE_OUT, onSpriteOut);
    onSpriteOut();
    function onSpriteOut(e:MouseEvent = null):void
         Mouse.show();
         plus.visible = false;
         minus.visible = false;
         stage.removeEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
    function onSpriteOver(e:MouseEvent):void
         Mouse.hide();
         addChild(plus);
         addChild(minus);
         stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
         onMouseMove();
    function onMouseMove(e:MouseEvent = null):void
         plus.x = minus.x = mouseX;
         plus.y = minus.y = mouseY;
         plus.visible = mouseX > spritVerticalCenter;
         minus.visible = mouseX < spritVerticalCenter;
    function makePlus():Shape {
         var s:Shape = new Shape();
         var g:Graphics = s.graphics;
         g.lineStyle(4, 0xff0000);
         g.moveTo( -8, 0);
         g.lineTo(8, 0);
         g.moveTo(0, -8);
         g.lineTo(0, 8);
         return s;
    function makeMinus():Shape {
         var s:Shape = new Shape();
         var g:Graphics = s.graphics;
         g.lineStyle(4, 0xff0000);
         g.moveTo( -8, 0);
         g.lineTo(8, 0);
         return s;

  • HT1399 How can I find an album as there is no screen in this version of the ipod,in the eraler model there is a viewing screen, this shuffle is solid just start arrows, arrows for forwarding or reversing and a plus or minus sign for changing the volume.

    I have a new ipod shuffle but can't see where I can see what album I am playing as it doesn't have a viewing screen, it has a solid front and back with a circle with the various forward and back and volume controls.I am missing something!

    What you see is what you get. The shuffle is a compact unit designed to play tracks at random from the selection you put on it. It isn't possible to search out and play specific tracks, nor get visual feedback of what is currently playing. You can have the device give feedback by VoiceOver if that is of any use to you.
    tt2

  • Powershell Issue with Variable and Equal Signs

    I should have been using $line.grade, but your syntax worked so thanks!

    I've been running a powershell script to create active directory accounts at our school from a csv file. I'm needing to have users placed in a specific OU based on what grade level they are in, which is a field in the csv file and I have passed into the description field in AD. To keep from writing a bunch of if statements, I thought I might could pass the description variable into my organizational unit path, but I'm having syntax issues.Here is the specific line I have issues with.Powershell'ou' = "OU=$line.description, OU=LESStudents,OU=LES,DC=school,DC=k12,DC=state,DC=us"I've tried the single quote, double quotes, escaping the equal sign and some other methods I've seen online, but haven't quite gotten it right. It just isn't recognizing OU=$line.description as a variable.
    Disclaimer - I'm not a programmer and most of this was built...
    This topic first appeared in the Spiceworks Community

  • Format numbers with commas and dollar signs

    I've searched documentation and I do not see how to add a $ (dollar sign) to a number and how to add a comma after 3 digits.
    for example  $32,000.00
    Thanks in advance

    Hello ..
    In PLD is this possible, but also about the issue of setting up your database. If you set the currency as $ Dollar then you will see it as such in print. The same with the insert.
    If the dollar had another name, then you can concatenate a text field indicating $ with a formula field to extract the coin value you wish to view.
    Hope this helps
    Yours sincerely,

  • TS3824 imac g4 (2002) stuck on grey screen with apple and loading sign

    my apple imac g4 2002 wont load up it stays on the gray screen with apple on the front with loading sign underneath.  ive tried almost every way ive seen online to try to factory reset it but nothing works. i got it as a gift a few years back and really need it now. can someone help? please, thanks. Mark

    churpchurp22,
    You are posting on the wrong forum, this forum is for Intel based iMacs. A 2002 G4 would be a PowerPC machine, please post on the correct forum. My guess though is the HD has packed up and crashed. 

Maybe you are looking for

  • Issue with how Mail displays sender and recipient names in message list

    Hi everyone! I've been looking for a solution but had no luck so far. Here's the issue: In Mail, the sender email address or the recipient name would sometimes be displayed twice between chevrons. For example, sometimes in my sent folder, in the "To"

  • Strange behaviour on Store procedure when calling from VB6 application

    Hi, I have a SP (thanks for the one who helped me out in this forum) Declare @Temp Table (sensorname varchar(20),reading float,Date_Reading DatetIme,SAP float,SAN float) Insert @Temp select sensorname, reading, date_reading,(select alert_positive fro

  • Audio Volume

    A lot of times I find the audio volume on the MBA to be too low. It's fine when I'm using earphones, but sometimes I don't want to do that, and I find it hard to hear things sometimes. Maybe I'm just old and I've heard too much loud music, but has an

  • Ical Filemaker Sync or integration

    Hello, I'm searching to "sync" iCal and Filemaker. Exporting events from iCal to FM is my main goal. Real synchronization would be great. Any idea ? Tks Patrick Leonard

  • Full System Back Up

    Hi, How do I perform a full back up of my OS 10.4.11 mac that can be used to completly restore my computer to how it is now at a later date? I've tried searching but the only how to guides seem to involve 10.5 and time machine. I'm sure I've see some