Providing an "open/close" text for the accordionPanelTab

I have the accordion working just fine but in the
"AccordionPanelTab" I want to have a "dummy" link (dummy since the
onclick event happens to the <div>, not the text I'm putting
in) that when the "AccordionPanelContent" is closed will say
"More>>" and when open the dummy link will say "<<
Close". I'm sure this can be done but I'm not sure how. I think I
would attach something to the code in the SpryAccordion.js file to
change some innerHTML when open or closed.
Any suggestions on where to start?

You can do this with CSS so there is no need to modify the
SpryAccordion.js file:
<script src="../SpryAssets/SpryAccordion.js"
type="text/javascript"></script>
<link href="../SpryAssets/SpryAccordion.css"
rel="stylesheet" type="text/css" />
<style>
.AccordionPanelTab .closed, .AccordionPanelTab .more {
display: none;
.AccordionPanelClosed .AccordionPanelTab .closed,
.AccordionPanelOpen .AccordionPanelTab .more
display: inline;
</style>
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 1 <span
class="more">More &gt;&gt;</span><span
class="closed">&lt;&lt; Closed</span></div>
<div class="AccordionPanelContent">Content
1</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 2 <span
class="more">More &gt;&gt;</span><span
class="closed">&lt;&lt; Closed</span></div>
<div class="AccordionPanelContent">Content
2</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 3 <span
class="more">More &gt;&gt;</span><span
class="closed">&lt;&lt; Closed</span></div>
<div class="AccordionPanelContent">Content
3</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Label 4 <span
class="more">More &gt;&gt;</span><span
class="closed">&lt;&lt; Closed</span></div>
<div class="AccordionPanelContent">Content
4</div>
</div>
</div>
<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
//-->
</script>
--== Kin ==--

Similar Messages

  • How do I change the size of the tools and the text for the menus in Photoshop?  I need a magnifying glass in order to make out what they are.

    How do I change the size of the tools and the text for the menus in Photoshop?  I need a magnifying glass in order to make out what they are.

    Okay, I've figured it out, so I'm going to answer my own question in hopes that it may help anyone else that would like to actually be able to see what they're doing when using Photoshop CC 2014 on a high resolution screen.
    1.  Open Photoshop.
    2.  Select Preferences from the Edit Menu, then select General.
    3.  Change the HUD Color Picker to Hue Strip (Medium).
    4.  Select Interface from the Preferences menu on the left side of the dialog box.
    5.  Change the UI Font Size to Large in the Text area of the Preferences dialog box.
    6.  Select Experimental Features from the Preferences menu on the left side of the dialog box.
    7.  Select Scale UI 200% for high-density displays (Windows only).
    8.  Click on OK, then Exit/Quit Photoshop.
    9.  Open Photoshop and everything should be readable.

  • Where do i find open source code for the FF Sync capability ?

    Where can i find the open source code for the FoxFire capability "Sync" (bookmarks)....
    That capability should be extended to allow one or more (selectable) arbitrary sync servers; I want to look into providing such capability, with enhancements.

    Sign in, activation, or connection errors | CS5.5 and later
    Redemption Code Help
    Mylenium

  • HOW TO STOP you are opening this program for the first time

    I continue to get the warning "you are opening this program for the first time".  I don't want that warning to ever appear again for any program.  How to permanently get this warning to never again appear?
    Best regards,
    Steve Schulte
    Wednesday 21 November 2012

    Thomas,
    The reason I don't want these warnings (especially for programs that I have had on my Mac for years!) is because I now use ecamm's "Printopia" to send items from my iPad3 running iOS 6.0.1 to my MacBook Pro-13 (mid-2010) running Mountain Lion 10.8.2 -- and in order to do this:
    1.  Both my iPad and Mac have to be on the same WiFi network.
    2.  The Mac has to be awake, cannot be in the "sleep" mode
    OK but in order to wake my Mac, I've found that using the app "Remote" on my iPad to open iTunes AND PLAY A SONG will "waken" my Mac*.
    So now, for example, I send a .jpg file to my Mac.  I have it set so that GraphicConverter opens when a .jpg file is to be opened.  OK but if this warning appears (and even though I have had GraphicConverter on the Mac since the beginning of time…) I sometimes (like today) get this warning.  Of course I am not at my Mac and yet when I eventually go to my Mac-- there is that dialog box sitting there and until I click OK the photo doesn't open (and on my iPad I don't get a confirmation that it has been sent, because it hasn't until I click OK on the Mac).
    This could happen for other types of files, too - text files or Word documents etc.
    It seems to happen when I UPDATE a program, like when GC went from 8.3 to 8.3.1 for example.
    Thanks for any additional comments.
    *Perhaps there is a better / faster / easier way to "waken" my Mac from my iPad?  This is the only way I have found so far…

  • Is there a place to see the "Marker Text" for the entire index and make changes?

    I know how to make individual changes in "marker text" for the Index.
    Is there a place to see the "Marker Text" for the entire index and make changes there?
    I am indexing a book that uses quotes from scripture.
    As an example, I want to change listings from
    Colossians 3:10-11
    to
    Colossians 3 verses 10-11
    I would appreciate any help.
    If this is not the correct venue for this question, please disregard.

    You didn't mention which version of FM that you're using. In FM9, this can now be done in the Marker Pod.
    There are third-party utilities that also let you see all marker content.
    In the freebie category is MarkerWorker from Cudspan at: http://www.cudspan.net/plugins/
    In the paid plug-in category are:
    IXgen: http://www.fsatools.com/ixmid.html
    MarkerTools : http://www.leximation.com/tools/info/markertools.php
    emDex: http://www.emdex.ca/
    Indexing add-ons:
    IndexTools (helpful for formatting and other Index layout tricks): http://www.siliconprairiesoftware.com/Products.html
    In the DIY category, you can create a List of Markers for the Index (with hypertext enabled), open the Marker window (Special > Marker...) and then use ctrl+alt click on the entry to make a hypertext link to the location and see it in the marker window for editing. [Note: you can also do the same thing from the Index itself]

  • Itunes has encountered a problem and needs to close, sorry for the inconvience., itunes has encountered a problem and needs to close, sorry for the inconvience.

    iTunes always quit with the error message "
    itunes has encountered a problem and needs to close, sorry for the inconvience. " Uninstalled and re-installed many times, but the issue still persists.

    Generate another of those error messages and click the "Click here" link in the error message box. What modname and modver are showing for the error? (Precise spelling please.)
    If the error is a BEX and thus doesn't show an modname or modver, let us know what P1 through P9 items are showing for you instead.

  • How user can get a Sales Text for the any Line Item in the Billing?

    Salute Masters ! !
    How user can get a Sales Text for the any Line Item in the Billing?
    It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
    Where I can configure in system for all.
    Rgds
    Srivastav
    09973504950

    Hi,
    Sales text can be copied from customer to order , order to delivery and delivery to billing .
    Check the T-code : VOTXN , do the customization as per your requirement.
    check the below link :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm

  • How to create clean text for the web in Photoshop/Illustrator

    I am puzzled to death on how in the world to get clean text for the web in Photoshop/Illustrator, particularly white text. I want my text to turn out exactly like the text at this website: thepainteddoor.org
    If you scroll down to the bottom of that page, notice the titles "Featured Media", "Social Networking", and "Contact Information". They are all .gif images. I have tried to replicate what these images look like for about 3 hours now to no avail. Can anyone tell me how to do this? It just looks like a simple outline or drop shadow, but I can't get it to show up like that. If someone could help me replicate that effect with text (aka make it show up clean as an image), I would graciously give them money through PayPal*.
    * = I will only give cash if it will replicate it exactly (and I mean exactly)..and it won't be too much..I'm a poor college student. :-P
    Thanks in advance!
    Thomas

    You would do it the way I created it:
    Select the Text tool in Photoshop and set the font and parameters as I have listed.  Then enter whatever text you like.  It will be rendered over the top of the lower layers you may have in the document.  Save as an image of the appropriate type and you're there.
    Note that "lower layers you may have in the document" could conceivably be none at all (i.e., you render the text over a transparent document).  You could imagine saving that as a .png with transparency and get light text in an image that could then be put over the top of anything else.  The alpha mixing will see to it that the edges smoothly blend with the background.  I haven't actually tried this (I usually do try my own suggestions) because of lack of time right now.
    -Noel
    Edit:  Markerline and I seem to be on the same crystal-controlled wavelength. 

  • How to get the text for the new query

    Hi all...
    we have created a new query by copy of existing query. iwe have changed only the sales area in the filter.
    when we run the original query in japan language, getting japan text for the material where as for the new query it is not getting japan text.
    we have extracted text masterdata for sales area but when we run the query it is not displaying material description in japan language.
    how to get text for the material in the new query?
    thanks

    hi,
    What is the output for text filed you are getting as of now?
    Check the properties of the material in old query?
    Generate the query in tcode RSRT and execute and check.
    Check if the Display as properties is selected as "Key and Text".
    try to replace it back(sales area) in filters and check in new query - if u are getting the desired output or not.
    Regards
    KP

  • WHY DOES IT ACT LIKE I AM OPENING ITUNES UP FOR THE FIRST TIME

    WHY DOES IT ACT LIKE I AM OPENING ITUNES UP FOR THE FIRST TIME

    dewin1or wrote:
    I want to extend the length of the song by repeating the first 28 measures.
    split the region at the 28th measure
    http://www.bulletsandbones.com/GB/GBFAQ.html#split
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    then select only the first region and option-drag it to the end of the song

  • Error in e-commerece The text for the sales document TA RU lacking in langu

    Hi GUYS,
    I am having a e commerce scenario.
    I have done all the settings related to it. When I login with a user in EN language, and try creating a sales order ,I am able to create in e commerce.
    I have created another user with login in russian language.When I try to create a order in front end I am getting the error:
    The text for the sales document TA RU lacking in language.
    Please suggest if I have to maintain any setting specific to RU language in R/3.
    Thanks and regards,
    Nilesh

    Hi
    Please maintain the language for that sales document type using the following path...
    IMG(SPRO) - Sales and Distribution - Sales - Sales Documents - Sales Document Header - Convert Language for each Sales document type - execute and maintain the entries using 'New Entries' tab.
    Thanks,
    Ravi

  • Library Update rqstd on Aperture 3.2; now won't open get msg "error opening data base for the library "~/Pictures/Aperture Library.aplibrary"   TIme machine won't load backup "error code -8003"

    Aperture working on OS 10.6.8 then Library Update rqstd on Aperture 3.2; said yes;
    now Aperture won't open,  get msg "error opening data base for the library "~/Pictures/Aperture Library.aplibrary"  
    TIme machine won't load backup "error code -8003"
    Tried reloading Aperture 3.2 but get same result.

    You’re running an outdated copy of Safari on your Desktop. That won’t work.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A to open the Applications folder. Check that the Safari application is in that folder. If it is, use it, and delete the copy on your Desktop. Never move or copy built-in applications.
    If you've deleted Safari from the Applications folder, back up all data, then reinstall OS X. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.

  • I keep getting a message pop up the first time I open Photoshop CC for the day, "we sorry, we can't connect to adobe server at this time...I followed instructions to turn off my antivirus and firewall, then open it. But the problem still remains. What can

    I keep getting a message pop up the first time I open Photoshop CC for the day, "we sorry, we can't connect to adobe server at this time...I followed instructions to turn off my antivirus and firewall, then open it. But the problem still remains. What can be done?

    Moving this discussion to the Creative Cloud Download & Install forum.
    R.O.B. please see Sign in, activation, or connection errors | CC, CS6, CS5.5 - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html for information on how to resolve the connection error between the computer and our activation server.

  • Can someone provide a number or email for The USA or The UK support team please?!

    Can someone provide a number or email for The USA or The UK support team please?!

    I had started my service in February of 2013. February of 2014, I was told that I would be getting my deposit back around May 2014. I was good with that, I added 2 more lines to my plan for that ONE reason, that I was getting it back or credited to my account. Around April 27-28th, not sure of exact date, I spoke to someone in financial services department and I was told that my deposit should be applied around May 7,2014. She then set up a payment arrangement for May 7, for my bill. On May 9, I called and spoke to someone else in financial services, where I was told my deposit got pushed back to August 2014 because of a returned check, which is ACTUALLY A CANCELLED PAYMENT MADE BY ME, because the amount that was scheduled was smaller than the actual amount. The next 2 days I made payments for the GREATER amount. I requested to speak to someone in the treasury department, and was told there is NOT a direct line to them, they can only be contacted by email, which I could NEVER find an email for them or for the corporate office to speak to someone higher up. I called AGAIN this morning to get a number or email and I was given the number to ANOTHER CALL CENTER, and was NOT able to get anything resolved!! I am fed up, and DONE WITH VERIZON WIRELESS. I HAVE ALREADY PLACED AN ORDER WITH ANOTHER CARRIER, AND I AM TERMINATING MY CONTRACT WITH VERIZON. I CAN'T EVEN SPEAK TO SOMEONE IN THE CORPORATE OFFICE, WHICH I BELIEVE IS HORRIBLE CUSTOMER SERVICE!!!!  #NOMOREVERIZONWIRELESSPROBLEMS#

  • "you are opening application "xyz" for the first time are you sure you want

    When working in Tiger or Panther if I click on a document eg: word, illustrator, photoshop, indesign. and the application that is supposed to open this document is not open already. You get a warning message. that says "you are opening application "xyz" for the first time are you sure you want to open it. " Even though this is not the first time the application has been launched. However if you launch the application from the applications folder or from the dock the warning does not appear.
    How do you disable this warning or at least correctly inform the OS that the application has been opened before.application
    This happens from clean installs and those that have their launch services database cleared the link from document to application survives a logout but not a restart. I know it is a security feature and not a bug but it would be nice to know where this cache/.plist is and why it is suffering from amnesia.
    Textedit does not exhibit this behavior across installs but any other app does I get the warning whether it is a user with a l

    Michael,
    This could be related to the Side effects of System cache cleaning.
    ;~)

Maybe you are looking for