Spry Collapsible content working only on one instance

Hoping someone can give me some direction on how to fix this issue. I am using the Spry Collapsible to hide job requirements on my employment page. My employment page gets its data from my database. It can have 0 to 25 entries showing at any given time. I am using the collapsible to save on space. With in each collapsible is also grabbing information from my database. The very first widget that appears comes up just fine. The rest all stay open. I was trying to insert my code for viewing, but it kept coming up showing the table instead of the code. Thanks in advance for any help you can give me.

If you have a look at this example, you will notice that there are 6 collapsible panels each with a unique ID, and there are also 6 constructors, one for each panel.
This is in contrast to what you have got where you have given the same ID to each of your panels as in
<div id="CollapsiblePanel1" class="CollapsiblePanel">
and have a twice repeated constructor as in
var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:false, enableAnimation:false});
What the constructor does in this instance is target the first occurrance of CollapsiblePanel1
Judging form a repeated error in your markup, I assume that you have a repeat area driven by data from a database of sorts.We need to assign each reapeated area a unique ID with matching constructors.
Within the repeated region, the markup will look like
<div id="CollapsiblePanel<?php echo $recordID; ?>" class="CollapsiblePanel">
where $recordID is the field name of the unique ID of the database record.
The constructors will need to be placed at the bottom of (but within) each repeated region and will look like
var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel<?php echo $recordID; ?>", {contentIsOpen:false, enableAnimation:false});
The repeated error is the non-closure of the TD element as in
</tr>
      <td rowspan="6" align="left" valign="top" class="supertext">
</tr>
Being an empty element, you could probably delete all of the above.

Similar Messages

  • EM DB console works only from one node?

    In my 2 node RAC the enterprise manager database console works only from one node i.e the url shows login page only from one node.
    http://NODE2:5500/em------>WORKS, SHOWS LOGIN PAGE AND CAN MANAGE ALL INSTANCES FROM HERE
    http://NODE1:5500/em------>DOES NOT WORK, DOES NOT SHOW THE LOGIN PAGE.
    Please clarify.
    Kadhim

    I have to guess ... (because you tell neither OS nor database version). Assuming it's 10gR2 or higher, that's expected behaviour, dbconsole runs on one node only, the so-called master node. You can change that, see the documentation or this metalink note:
    How to manage DB Control 10.2 for RAC Database with emca
    Doc ID: NOTE:395162.1
    Werner

  • I have loaded Lion on my MacBook and the new trackpad functions work only on one ordinary account or user and not on the admin account. The trackpad preferences are well set. What can I do?

    I have loaded Lion on my MacBook and the new trackpad functions work only on one ordinary account or user and not on the admin account. The trackpad preferences are well set. What can I do?

    iCloud should still help you reduce some hard drive space. Just select "optimize" in the icloud tab in Mac Photo App preferences.
    Granted, not the same as completely offloading your library to a back-up drive at your location.
    Good Luck!

  • Ichat video not working only to one person

    I've read most of the post on "i chat not working"; but has anyone had it to not work only to one individual. This is my case. I can video i chat with my son in FWB FL. with no problem. He has an Apple also. I can take my laptop to his location and video i chat with my sister-in-law in Jefferson Ga. But, I cannot video i chat with my sister-in-law from my location, Valrico, Fl. to her location in Jefferson Ga. I have had a 3 way phone conversation going with Apple, My internet provider and her internet provider and no one can solve the problem. Does anyone have any assistance they can provide. I'm not computer savy; so be patient and go slow and detail with me; thanks. Norm

    More often than not this is about the way a modem or router or combo at either end use NAT.
    NAT is Network Address Translation.
    It is the way a device shares an Internet connection with several devices/computers.
    However NAT means different things to different devices and not all devices therefore are doing what is called NAT the same way.
    See here for further mind boggling
    So what you may have is a device at either end that does not or will not play nicely with another device.
    This can be particularly the case if the device has to use Port Forwarding or Port Triggering or is using the DMZ to open ports.
    Using UPnP reduces the problem in many cases.
    http://www.ralphjohns.co.uk/page15.html#CertainBuddy
    Telling us what devices in the way of Modems and routers each end is using may help us pint to what can be changed.
    Makes and models please with what they are doing to open the ports for iChat.
    As Defcom has pointed out with certain connection it can be the Speed difference in the Internet connection both up and down that can be a factor.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    9:58 PM Monday; April 28, 2008

  • Link to tabs in spry collapsible panel work in IE-8; not Firefox or Safari

    I have little experience with Spry. I've asked my question on the user forum in Dreamweaver several times with no response. I am hoping that someone somewhere in the Adobe community can help me resolve this issue.
    I created links from the top of a page to the tabs of a spry collapsible panel underneath.
    In IE-8, on one page, with a small collapsiable panel, clicking the link creates a rollover effect on the appropriate panel. This effect works wonderfully for my purposes.On another page, with a long collapsible panel, clicking the link jumps the user to the panel AND creates a rollover effect. Perfect.
    In Firefox and Safari, clicking the link does nothing. If I right-click the link in Firefox, I create a duplicate of the page.
    I am using Windows XP and Dreamweaver CS4
    http://www.judydiamondstone.net/Writing.html
    click any of the links in the first section of the page
    Thanks.

    Arnout, Thank you so much for the guidance!
    My code now looks like this:
    (Click the first tab
    below to open; click to close.)
    but it still doesn't work
    (I still like the error effect in IE!)
    Do I need to add to the CSS or JS script that comes with the spry widget?
    I am accessing all the tutorials I can find, including a very clear
    explanation of event handlers in a Safari online search but I'm obviously
    missing one or more basic concepts.
    Page with new code on the
    elements:
    http://www.judydiamondstone.net/Writing.html

  • Spry Collapsible panel works in Safari, Firefox but not in IE 7 and 8

    Revising a page and wish to have the Spry Collapsible Panel load "closed". Never used Spry before but is works ok as mentioned but when page is opened in IE the panel is open and stays open. Clicking does not close it.
    The panel tab reads "CLICK To See Matched Rail & Stile Set-Up Blocks".
    Did I mention I am not a programmer? Thanks for the help.
    http://www.mlcswoodworking.com/shopsite_sc/store/html/smarthtml/pages/set_3pc_roundover_co ve.htm

    jonholcombe wrote:
    Did I mention I am not a programmer? Thanks for the help.
    Jon,
    Not a good way to start. You need to have some basic skills to work on websites. OK, if you want to build a bridge for your toy cars to cross a model railway line, you could probably cope, but to build a bridge in the real world, you need  real knowledge.
    Having said that, I have pulled all of the relevant code from your page to re-construct the collapsible panel and, although the markup would not be the one I would have gone for, the widget works in all browsers, see the code below. This means that the problem lies elsewhere.
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="http://www.mlcswoodworking.com/SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <link href="http://www.mlcswoodworking.com/SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css">
    <style>
    #collapsiblepaneltab {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 13px;
         height: 18px;
         width: 645px;
         color: #512b05;
         text-align: center;
         margin-top: 0px;
         padding-top: 0px;
         line-height: 21px;
         font-weight: normal;
    </style>
    </head>
    <body>
    <table width="645" border="0">
    <tr>
        <td><div id="CollapsiblePanel3pcset" class="CollapsiblePanel">
      <div class="CollapsiblePanelTab" id="collapsiblepaneltab" tabindex="0"><img src="http://www.mlcswoodworking.com/shopsite_sc/store/html/smarthtml/graphics4/collapsiblepanelarrow102.gif" alt="" width="8" height="8" border="0" /> CLICK To See Matched Rail &amp; Stile Set-Up Blocks</div>
      <div class="CollapsiblePanelContent"><table border="1" cellpadding="0" cellspacing="0" width="645">
      <tr>
        <td colspan="4" align="center" valign="middle" bgcolor=""><font size="1"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="2" color="black"><strong>SET-UP BLOCKS FOR MATCHED RAIL AND STILE BITS</strong></font></td>
      </tr>
      <tr>
        <td align="center" valign="middle" bgcolor="#cccc99" width="55"><font size="1"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><font color="black"><strong>Item</strong></font></font></font></td>
        <td align="center" valign="middle" bgcolor="#cccc99"><font size="1"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><font size="2" color="black"><strong>Set-Up Block Profile</strong></font></font></font></td>
        <td align="center" valign="middle" bgcolor="#cccc99" width="55"><font size="1"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><font color="black"><strong>Price</strong></font></font></font></td>
        <td align="center" valign="middle" bgcolor="#cccc99" width="58"></td>
      </tr>
      <tr>
        <td align="center" valign="middle" width="55"><font size="1"><font size="2" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" color="black"><strong>#9745</strong></font></font></td>
        <td align="center" valign="middle"><font size="2" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Set-Up Block for round over matched rail &amp; stile  bits</font></td>
        <td align="center" valign="middle" width="55"><font size="1"><font size="2" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" color="black"><strong>$9.95</strong></font></font></td>
        <td align="center" valign="middle" width="58"><a href="http://www.mlcswoodworking.com/cgi-mlcswoodworking/sb/order.cgi?storeid=*16f8a8beab2fd058071ebc4eb5&amp;dbname=products&amp;sku=%239745&amp;function=add"><font size="2"><img src="../graphics/orderbut.gif" alt="" width="58" height="17" border="0" /></font></a></td>
      </tr>
    </table>
    <script type="text/javascript">
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel3pcset", {contentIsOpen:false});
    </script>
    </body>
    </html>
    To help you any further would take me way outside the scope of this forum, but if you were to employ me to untangle the mess, I would start afresh.
    Gramps

  • How do you use only one plugin in Logic for multiple guitar tracks? I want to only use one instance of Pod Farm and run all my guitar tracks through that one instance.

    I want to be able to use only one instance of Pod Farm for my guitars, and have all of my guitar tracks run through it while I'm recording.

    What he said. Or here is a similar approach with a picture.
    1. Press the SEND button on every stereo (or mono) guitar track you want to send through the effect. Then select a free bus.
    2. Make sure you turn up the amount of send (in db). Holding alt while leftclicking on this circle sets the send level to 0 db wich is good.
    3. Open the mixer (Cmd+2). Please see that I here have turned the output off from the stereo guitar track. That way the only output will be the BUS, in your case the AmpTrack bus where all your guitars will pass through. If you want both the original guitar sound AND the Ampfarm effect then just set all outputs on your guitar tracks to Stereo Out, like the AmpF Bus track is set in my picture.
    4. Insert your AmpFarm plugin here. I don´t have that plug so I inserted Waves Renes Axe for demo purpose.
    Adjust the volume/effect of every guitartrack by turning the circle input shown as 2. in my picture.
    I now see that you mentioned Pod Farm, not AmpFarm. But I guess it´s the same trick.
    Have fun.
    Heyclown.
    Message was edited by: WizardSongs - Typhoos

  • Only letting one instance of my application run

    hi guys,
    My application will allow the user to interact with the database. The database will be stored on a local machine, and not on a network, so that only one person can access it at a time.
    The problem is, I believe a user can launch two instances of my application simultaneously, and therefore there are potential problems.
    So I want the user to only ever be able to launch one instance of the JFrame through which all interactions to the DB are made.
    So MyApp.java contains
    class MyApp
    public void main (String[] args)
    MyFrame mF = new MyFrame();
    }Now, is it the right idea of mine to make mF singleton? Or is it the wrong approach?
    But what is confusing me is...if at the java prompt I type
    java MyApp
    and then I type, once again
    java MyApp
    will these two be treated as two completely different running of programs? Say I had mF as a singleton. Does this mean there can exist one instance of mF in each of my two different runnings of MyApp, or are the two somehow connected, which means that if I ran MyApp a second time theer'll be some sort of error cos mF already exists and cos it is a singleton, it can't exist twice?
    Sorry if I havent made myself clear. I'm very confused myself.
    Thanks.
    AU

    My application will allow the user to interact with
    the database. The database will be stored on a local
    machine, and not on a network, so that only one
    person can access it at a time.If using jdbc then local or remote only really effect your database driver choice not your code.
    The problem is, I believe a user can launch two
    instances of my application simultaneously,Yes.
    and therefore there are potential problems. Potential but not that difficult to avoid.
    So I want the user to only ever be able to launch one
    instance of the JFrame through which all interactions
    to the DB are made.If you think about responsibilities, then data integrity is not the responsibility of the UI, its the responsibility of the DBMS.
    Now, is it the right idea of mine to make mF
    singleton? Or is it the wrong approach?A Singleton will only ensure that a jre has a single instance. If you start multiple instances of the jre then there can be one instance of the application in each.
    The best solution is to use your databases normal locking process through the JDBC api
    The simplest solution is for your program to lock either the database, the table or the record you are interested in. You can do this by creating a lock record on a seperate table. If the insert fails to create the record, somebody else is already using the dataset. If it succeeds then is available. You will need a way to forcible clear the lock if your application stops unexpectedly.

  • "ORA-00928: missing SELECT keyword" only on one instance in RAC

    I am using oracle 9i RAC.When I run a query in one instance it is working fine but in another instance of RAC it is giving "ORA-00928: missing SELECT keyword".
    I am wondering why it happening in the same RAC.Please suggest me where is the problem.
    Thanks

    STAR_TRANSFORMATION_ENABLED=true in both instances
    My query lools like
    SELECT * FROM
         (SELECT coulmn1,col2
                   FROM tab1 wh full OUTER JOIN tab2 stg on wh.row_id = stg.row_id
                   WHERE wh.MODIFICATION_NUM IS NULL
                   OR stg.MODIFICATION_NUM IS NULL
                        OR wh.MODIFICATION_NUM <> stg.MODIFICATION_NUM) WHERE REC_STA <>'D';
    Please suggest
    Thanks

  • Authorization will not work only have one computer.

    I have 100 songs that no matter how many times I try to authorize, my itunes will not play the song even though after I put my password in it comes back machine authorization was succesful. Then nothing happens. Also only have one computer that I have always had with itunes. Need Help.

    Try getting rid of the SC Info folder mentioned in this article
    http://support.apple.com/kb/TS1389
    If that doesn't work, try DLing the free single of the week. You might need to agree to the new Apple store license agreement.

  • Ichat video and audio is not working only with one friend

    Hi there,
    i used to video-chat with my best friend every other day. We both have OSX 10.5.8. Maybe 4 weeks ago suddenly we always get an errorcode when calling each other. Sometimes it says the other one doesnt anwer but he gets an error message. He and me can still video chat with all our other friends!
    Only in between us it doesn't work. Both ways don't work (who ever calls). We both have an iMac 21.' with intel prozessor.
    Text-chat works!!
    If another friend calls both of us, we can chat the 3 of us together!
    Any suggestions?
    desperatly Mike

    Hi,
    This has been an issue now and then for all versions of iChat
    http://www.ralphjohns.co.uk/page15.html#CertainBuddy
    The most common reason is setting Port Forwarding in a router to open the ports and leaving On the DHCP Server.
    This means that now and then the Computer IP may change and the Port Forwarding may require you "point It" at one IP - which the computer no longer has meaning the ports are not open.
    The next is the way some devices actually Do NAT (Network address Translation).
    There are 4 main ways with cross over between them as well.
    This may raise it's head if you or your Buddy have updated the Firmware to your router.
    I would check System Preferences > Quicktime > Streaming is at 1.5Mbps at both ends.
    I would double check the routing settings at both ends.
    UPnP if you have it is "Better" is that it allows Multiple computers (IPs) to use the same Ports so you don't have to turn Off the DHCP Server in the router.
    Thomson-Alcatel can have symptoms like this due to the way they handle SIP data.
    9:18 PM Wednesday; October 6, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Can a CR work only for one aggregation level and not other ?

    Hi Experts,
    I have a real time infocube (RTIC) over which there is a multiprovider, on top of which I have built 2 aggregation levels.
    There are sequence of 2 characteristic relationships (CR's based on exit class) defined for the same RTIC.
    Is it possible that the CR's be functional for one aggregation level and not in case of second aggregation level ?
    Thanks and Regards,
    Pankaj

    Additionally let me explain the scenario in more detail:
    The difference between 2 mentioned aggr levels is that of 0CALMONTH which is checked in second aggr level.
    0CALMONTH is assigned as target char in first CR, hence both the CRu2019s work for input ready report built on first aggregation level and do not function with input ready report built over second aggregation level.
    Therefore I wish to skip the complete execution of CRu2019s for I-R reports based on 2nd aggregation level.
    As CR of type with derivation is functional only if the target char selected is not present in the aggregation level.
    Please let me know if any more details are required.
    Thanks,
    Pankaj

  • Avaya IP Office 500 V2 R9 SCN Trunk Call Works only in one direction.

    I'd check your NAT rules at the gateway on each end to verify all traffic is allowed on the necessary ports.  

    Hi, 
    I have a problem with the Avaya platform IP Office, the issue is establish an SCN Trunk but the calls only works in one direction, I recreate the SCN twice but the result are the same. any advice for troubleshooting?
    This topic first appeared in the Spiceworks Community

  • Threads: I only want one instance.

    I am starting a daemon thread from a servlet that gets loaded on startup (Tomcat 5.5). The servlet's init() method creates a thread that optimizes my Lucene indexes every 2 hours.
    This is what's in the servlet's init method:
    Thread optimizer = new Thread(new LuceneIndexOptimizer(conf), "Lucene Index Optimizer");
    optimizer.setDaemon(true);
    optimizer.setPriority(Thread.MIN_PRIORITY);
    optimizer.start();     The thread looks like this:
    public class LuceneIndexOptimizer implements Runnable {
         private Config conf = null;
         public LuceneIndexOptimizer(Config conf) {
              this.conf = conf;
         public void run(){
              while (true) {
                   LuceneFuncs.optimize(this.conf);
                   try{
                        Thread.sleep(7200000); // 2 Hours.
                   catch(InterruptedException ex){
                       ex.printStackTrace();
    }Now the problem is that whenever the context is reloaded, that servlet is re-initialized and a new thread gets started without the old one ever going away.
    How do I make sure that only one of these threads is running at a given point in time?

    Again, good information. Thanks.
    At any rate, I ended up going with the ServletContextListener interface as I think it is cleaner.
    How it works:
    In my web.xml I have this entry:
    <!--  Context Listener for Application Initialization -->
    <listener>
         <listener-class>
              com.r10.rp.context.RPInit
         </listener-class>
    </listener>The RPInit class:
    public class RPInit implements ServletContextListener {
         public static final long serialVersionUID = 10;
         private LuceneIndexOptimizer indxOpt = null;
         public void contextInitialized(ServletContextEvent event) {
              // Set application specific config variables.
              System.out.println("com.r10.rp.config.RPConfig INFO: Setting Application Config Variables");          
              ServletContext ctx = event.getServletContext();
              RPConfig.createConfig(ctx);
              RPConfig conf = (RPConfig) ctx.getAttribute("RPConfig");          
              // Start Lucene Optimizer
              System.out.println("com.r10.rp.config.RPConfig INFO: Initializing Lucene Index Optimizer");
              this.indxOpt = new LuceneIndexOptimizer(conf);
              Thread optimizer = new Thread(this.indxOpt, "Lucene Index Optimizer");
              this.indxOpt.setOptimizer(optimizer);
              optimizer.setDaemon(true);
              optimizer.setPriority(Thread.MIN_PRIORITY);
              optimizer.start();                    
         public void contextDestroyed(ServletContextEvent event){
              this.indxOpt.stop();
    }The IndexOptimizer thread:
    public class LuceneIndexOptimizer implements Runnable {
         private RPConfig conf = null;
         private volatile Thread optimizer;
         public LuceneIndexOptimizer(RPConfig conf) {
              this.conf = conf;
         public void run() {
              Thread thisThread = Thread.currentThread();
              while (thisThread == this.optimizer) {
                   LuceneFuncs.optimize(this.conf);
                   try{
                        Thread.sleep(7200000); // 2 Hours.
                   catch(InterruptedException ex){
                       ex.printStackTrace();
         public void stop() {
              Thread blah = this.optimizer;
            this.optimizer = null;
            blah.interrupt();
          * @param optimizer The optimizer to set.
         public void setOptimizer(Thread optimizer) {
              this.optimizer = optimizer;
    }

  • Satellite T110-11U - WiFi works only in one room

    Wifi on my LP used to work perfectly in each room of the house, but since I've installed Norton Antivirus it only works in my bedroom (where the router is) and nowhere else.
    However, other laptops work ok in the other rooms. I thought is was because of Norton Antivirus and I reinstalled it, but this didn't help. It's already 3 months since then and my LP only gets the signal in my bedroom. So it's got a problem of getting signal even in about 3 meter distance. I've already checked the wireless router with the supplier and there is no problem with it. The problem is in my laptop. I updated drivers but no luck. I've got Toshiba Satellite T110-11U, Windows 7 Home Premium.
    If anyone can give me any advice regarding this would be highly appreciated!

    Hi buddy,
    Maybe there are still some registry keys of Norton Antivirus stored in Windows registry I would try a registry cleaner like CCleaner. This is really nice freeware tool to clean the registry.
    What WLAN card driver is installed at the moment? Newest WLAN drivers can be downloaded here:
    http://aps2.toshiba-tro.de/wlan/

Maybe you are looking for

  • ITunes 7 Keeps Opening itself without my launching it!

    OK, the wierdest thing keeps happening now, I close iTunes, it closes, then, a few minutes later it re-launches it self! I'm rather paranoid about my music and my data so once a week I do a full backup to an extrnal hard drive of my documents, my mus

  • Apex_item not found

    I am using apex_item in a select, but when submit page the result is one error "ORA-01403:no data found". put in the select plus and presents data. My select: SELECT APEX_ITEM.HIDDEN(1,ID) ID, APEX_ITEM.TEXT(2,ID) ID_DISPLAY, APEX_ITEM.TEXT(3,SESSAO_

  • Sales order posing without Customer

    Hi All, Sales oder data is sent by the third party system to production without customer ( sold-to-Party / Ship-to-Party ) data, it still creates the sales order in Production environment. The Basic type is ORDERS05 and the message type is ORDERS and

  • UGA and sort area

    Hi, What happens in UGA when we issue a query 1) SELECT * FROM emp ORDER BY sal Assume that no blocks in Block Buffer I/O from disk to Block Buffer then fetched into PGA and get sorted (if needed Temp seg used) and submit back to requested user sessi

  • Where does it say what applications are open?

    Just updated to os x maverick. before I was able to swipe and see what applications i had running even if I closed the window. How do i do that now? If I close safari but it's still running in the background how can I tell? thanks!