One link to open/close all _accordion_ panels
I am aware that collapsible panels have group feature and you can open and close all panels by wrapping the individual panels within a group.
Is there a way to open all panels in an accordion widget?
Open all, no.
Close all, yes (set panel to -1, with the useFixedHeights:false option)
Similar Messages
-
Globally open and close all accordion panels
Is there a way to globally open and close all accordion
panels? For example, it would be nice to have an "Expand all" and
"Collapse all" link at the top of the page, before the accordion,
that has this functionality.Hi FM_n_DC,
Accordions can only ever have a single panel open. If you
want individual control over which panels are open you probably
want to use a CollapsiblePanelGroup. This sample shows how to open
all and close all of the panels of the CollapsiblePanelGroup:
http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/CollapsiblePanelGroupSamp le.html
--== Kin ==-- -
How can I get one link to open two different PDFs?
Even though I'm only the hardware support guy where I work, I've been asked to maintain the web site. The latest request is that they want to get one link to open two PDFs. I know you can do something like that with web pages, but I'm not sure if you can do the same with PDFs. I only know the basics of Dreamweaver, so, if it can be done, please explain it to me like I'm a 5-year-old. However, I'm not afraid of code. Thanks, in advance, for any assistance.
Hi
You can do this by using the javascript onClick event to load the 2 pdf's, but if I was to see such action when clicking a link I would suspect that it was trying to open multiple pages, (as per spam sites) and immediately close the tabs/windows and never visit the site again.
If you do require two pdf's then merge both pdf files into one, and link to the single file as normal.
PZ -
Is there a way to easily open and close all of the bins in the project panel with one keystroke?
Thanks.glorius. You just saved me from hours of clicking, and probably carpel tunnel.
-
Hi,
By default when I use spray accordion the first panel is
always open. Is it possible to have all Accordion panels closed?
thank youthis does not work in FireFox for mac. it starts with all
panels closed for sure, BUT when you open one, it opens but (1) not
all the way showing all of the panels content and (2) nor does it
give you a scroll bar to see all of the content and (3) if you open
a panel it pushed lower panels down so low you cannot see them any
longer.
in Safari it opens the panel and 'sometimes' just elongates
your page so no scroll bar needed, but all the content is there IF
you designed a page that can grow. but sometimes it does not grow
and exhibits same above behavior.
so, not so sure this is a solid cross browser method to
achieve. -
Open/close all sequence keyboard shortcut
Hi,
Does Anyone know the keyboard shortcut (if there is one) for opening/closing multiple sequences? Thanks!No keyboard shortcut for either of these, I'm afraid. (and neither one is a mappable function either)
Jim's way to close all sequences is pretty clever though. -
Multiple HideShow Regions - Open/Close All
Using Oracle 10g, Apex 3.1.0
I have a page with multiple hideshow regions.
The customer would like to be able to open or close all of them with one or two ('OPEN ALL','CLOSE ALL') buttons but still have the standard open & close ability (one at a time).
Possible?
Bobcheck this out
http://apex.oracle.com/pls/otn/f?p=35250:6:3551482161152928::NO
I hope it helps!
Sam
Please reward good answers by marking them correct or helpful! -
How I can go back to same location on the page without firfox make me go to top.
Like open souq.com and navigate to deal and offer page then select any product the go back to deal and offer page it is going up to top of the page and popup the keyboard .The site sets a no-cache header when sending the main page of the site so we need to re-fetch the page from the server. We don't store scroll position in this case because the page is likely to have changed.
-
Collapse panels - close all button
I am trying to use the Collapsible Panels widget for a FAQ
page. Each Q/A is in its own CollapsablePanel group, so there are
about 30 of them. I just created unique IDs for each -
ID="CollapsiblePanel1", ID="CollapsiblePanel2", etc.
Any idea how to create buttons to open/close all the panels
at once? I am not that good with Javascript, so any input would be
great and helpful.
ThanksHi MiloZ69,
30 panels? Yikes!!! One of the widgets I have on my plate is
a CollapsiblePanelGroup, which is basically the same markup as an
accordion but it allows you to open/close *any* panel. Sounds like
you could sure use that widget right now since it only requires a
single constructor call and object to control all panels.
Until then, you'll have to manage this manually. Make sure
all your collapsible panels have a predictable id like "cp1",
"cp2", etc., then try using this:
<script language="JavaScript" type="text/javascript">
function PanelGroup(idPrefixStr, startIndex, lastIndex,
options)
this.idPrefixStr = idPrefixStr;
this.startIndex = startIndex;
this.lastIndex = lastIndex;
for (i = this.startIndex; i <= this.lastIndex; i++)
var id = this.idPrefixStr + i;
var ele = $(id);
// Call the CP constructor and store the object
// on the element itself so we can retrieve it later.
if (ele)
ele.spryCP = new Spry.Widget.CollapsiblePanel(id, options);
PanelGroup.prototype.getWidget = function(panelIndex)
var widget = null;
var ele = $(this.idPrefixStr + panelIndex);
if (ele)
widget = ele.spryCP;
return widget;
PanelGroup.prototype.openPanel = function(panelIndex)
var w = this.getWidget(panelIndex);
if (w)
w.open();
PanelGroup.prototype.closePanel = function(panelIndex)
var w = this.getWidget(panelIndex);
if (w)
w.close();
PanelGroup.prototype.openAllPanels = function()
for (var i = this.startIndex; i < this.lastIndex; i++)
this.openPanel(i);
PanelGroup.prototype.closeAllPanels = function()
for (var i = this.startIndex; i < this.lastIndex; i++)
this.closePanel(i);
</script>
Instead of calling a constructor for each collapsible panel,
you can then use the PanelGroup constructor which will
automatically call the constructor for each one:
<script language="JavaScript" type="text/javascript">
var cpg = new PanelGroup("cp", 1, 30, { contentIsOpen: false
</script>
Then add your buttons to trigger the appropriate function:
<input type="button" value="Open"
onclick="cpg.openPanel(3);" />
<input type="button" value="Close"
onclick="cpg.closePanel(3);" />
<input type="button" value="Open All"
onclick="cpg.openAllPanels();" />
<input type="button" value="Close All"
onclick="cpg.closeAllPanels();" />
--== Kin ==-- -
I want to design a menu for one user who is responsible for open/close all ebs periods.
I have 2 Set of Books means 2 periods for GL.
I have 2 each operating units and inventory orgs means 4 each for purchasing/inventory/ap/ar
I have designed menu but its not working.
I have created a 4 menus with responsibilities assigned OU Wise from system profile option but its not working.
Yours help required.I am not a functional expert, but several profile options (MO Operating Unit, GL Set of Books etc) will have to be set at the responsibility level for each responsibility in order for them to pick up the correct SOB. I believe this is documented in the GL Manuals at http://download.oracle.com/docs/cd/B25516_18/current/html/docset.html
HTH
Srini -
Collapsible Panels - Links to open one, and close others
Hi,
I am new to Dreamweaver and have been creating my site by
learning as I go along. I have already read through all the other
related topics associated with Collapsible Panels on this blog and
have still not found an answer. I have been able to open and close
Collapsible Panels by using links - but unfortunately, I need more
than just opening and closing.
On my site i have approximately 5 pages, all with the same
header and Menu bar. The Information (that i have presented in
numerous Collapsible Panels) does however vary from page to page.
What I need to try and figure out is:
How can I open one collapsible panel and close all others? I
have seen the one example which leads to my next question:
How can I group Panels? Some examples of how to open one and
close all others use this grouping. Is there any other way of
opening one and closing all others without grouping?
Lastly, is it possible to set up a link that can be viewed on
one page which when clicked opens the relevant page and collapsible
panel? i.e. on my About Us page there is a link (using the Menu
bar) for one of my several services on the services drop down menu
(but services is on a different page with the same setup). When a
viewer clicks on the specific service, is it possible to get the
site to open the services page, and open the relevant collapsible
panel (with all other Panels closed)?
Any assistance would be greatly appreciated - I have been
searching for days now and cannot seem to find any
answers/directions in laymans terms.
Kind regards,
Johnwlsjoh013 wrote:
> Hi,
>
> I am new to Dreamweaver and have been creating my site
by learning as I go
> along. I have already read through all the other related
topics associated
> with Collapsible Panels on this blog and have still not
found an answer. I
> have been able to open and close Collapsible Panels by
using links - but
> unfortunately, I need more than just opening and
closing.
>
> On my site i have approximately 5 pages, all with the
same header and Menu
> bar. The Information (that i have presented in numerous
Collapsible Panels)
> does however vary from page to page. What I need to try
and figure out is:
>
> How can I open one collapsible panel and close all
others? I have seen the one
> example which leads to my next question:
This page has an example that has a link that can open and
close a panel:
http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/collapsible_panel_sample. htm
One way to do this would be to have a single link that would
open one of your panels using the code, but then add to it code
that closes each of the other panels, for example:
<a href="#"
onclick="CollapsiblePanel4.open();CollapsiblePanel5.close();CollapsiblePanel6.close();">O pen
4, close 5 and 6</a>
To make this work, you'll need to look that the panel
constructors at the bottom of your page and make sure to match up
the panel variable names i.e. "var CollapsiblePanel1 =...." the
variable is CollapsiblePanel1.
You could also write a function that gathers together the
various panels you have on the page and then pass to it only the
panel that you want kept open. For now, though, it might be best to
use the above method, given your expertise. And taking that even
further, you could apply the function call unobtrusively. Both the
function call and the unobtrusive part you can work on later to get
this working for now.
> How can I group Panels? Some examples of how to open one
and close all others
> use this grouping. Is there any other way of opening one
and closing all
> others without grouping?
This is a little confusing, on one hand you ask about how to
group, but then ask how not to group. There is a concept of a
collapsible panel group:
http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/CollapsiblePanelGroupSamp le.html
But there is another type of group, that may be more what
you're looking for, and that's an Accordion panel, which is similar
to the collapsible panel group, with the exception that it can only
have one panel open at a time.
> Lastly, is it possible to set up a link that can be
viewed on one page which
> when clicked opens the relevant page and collapsible
panel? i.e. on my About Us
> page there is a link (using the Menu bar) for one of my
several services on the
> services drop down menu (but services is on a different
page with the same
> setup). When a viewer clicks on the specific service, is
it possible to get
> the site to open the services page, and open the
relevant collapsible panel
> (with all other Panels closed)?
Probably the easiest way to do this particular one would be
to make sure that you have all of the panels set to be closed when
the page loads, and then take a look at the code for the last
example on this page:
http://labs.adobe.com/technologies/spry/samples/utils/URLUtilsSample.html
That example uses a tabbed panel, but the concept is the
same, use a URL parameter to determine what to show. You'll need to
link in the SpryURLUtils file in the Spry download package (look in
the includes folder):
http://labs.adobe.com/technologies/spry/home.html
Essentially, your link will look similar to:
sample.html?panel=1
Then your code could look something like:
var params = Spry.Utils.getLocationParamsAsObject();
var CollapsiblePanel1 = new
Spry.Widget.CollapsiblePanel("CollapsiblePanel1",
{contentIsOpen:(params.panel==1 )} );
var CollapsiblePanel2 = new
Spry.Widget.CollapsiblePanel("CollapsiblePanel2",
{contentIsOpen:(params.panel==2 )} );
Basically what this is doing is creating an object from the
URL parameters. Then for each of the panels the constructor has
code that determines whether or not to expand the panel when the
page loads. So it checks the value of params.panel to see if it
matches 1 (for the first one), if it does, then that means that
contentIsOpen is set to true, if it is some other number or is not
present at all, then that means that the panel is closed. This
would then be repeated down the line for how ever many panels you
want to operate like that.
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert -
It is used to be that I could right click on the Firefox icon on the toolbar at the bottom of the screen and I would then be given the option to open all windows. Now I only see the option to close all windows. The ability to open all windows is very useful. Have you eliminated this capability? It was a very helpful feature because I often have more than 15 windows minimized at one time. On a regular basis I like to open them all and keep only the ones that I still need. I know that it is possible to see the name of each window that is minimized by moving my cursor over the Firefox icon, but this does not provide enough information. So I have to open each window one at a time to look at it and then decide to close it or keep it - this is a frustrating, time-consuming process. Is there another way to open all the minimized windows at the same time, instead of one at a time?
A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls
You can retrieve the certificate and check details like who issued certificates and expiration dates of certificates.
* Click the link at the bottom of the error page: "I Understand the Risks"
Let Firefox retrieve the certificate: "Add Exception" -> "Get Certificate".
* Click the "View..." button and inspect the certificate and check who is the issuer.
You can see more Details like intermediate certificates that are used in the Details pane. -
I'm using the code shown in the sample VI discussed here: http://digital.ni.com/public.nsf/allkb/353A696A3F393D9B86256E8B007A2912
to close all open VIs except my top level VI. My top level VI is actually a separate executable and the sub-VIs are their own executables. All reside under the same project. It works very well if I'm running in LabView but will not work when I build them. I added all the sub-VIs to the Always Include box in my top level VIs properties which did nothing. I also tried adding them to the Startup VIs box. This allowed me to close them all programmatically from the top level VI but it also open all the VIs at once (which was expected and not desired). I think the problem is the executables are not able to see outside their own memory space so the top-level VI never finds any other open front panels to close. Is this correct? Is there another way to go about doing this?
Thanks!Where do I begin…..
I’m using a “server” to control 4 “client” PCs. My server opens references to 4 VIs on each client then executes them sequentially. So on a normal day, the server will run everything itself and I will have no contact with the clients. But on a several occasions, I’ve needed the ability to walk up to one of the clients and run just one of the 4 VIs.
We are updating from LabView 6.1 to 8.5 and we want to run executables rather than VIs for various reasons. I have a new VI running on the client PCs who’s only function is to initialize the shared variables and open/close the VIs. I initially thought of making the remaining 4 VIs sub-VIs but I will loose the ability to run them individually. I think I would also have to rewrite the VI running on the server since the 4 references it originally opened do not exist. I don’t think you can open a reference to a sub-VI on another PC. Can you???
As you can see, this is a huge mess. I’m still pretty new with LabView so any help you can provide would be great. -
Script to Close all the collapsible panels on click of one collapsible panel
Hi All,
Please help me with modifying the script or a new script to suffice the following.
I have around 5 to 6 collapsible panels in many html files. There is a huge content under each panel and thats the reason I want to collapse i.e., close all the open panels and open the panel that is clicked on.
that is initially i click on panel 1 - > Panel 1 opens and contents are displayed.
now I click on panel 2 - > panel 1 should close and panel 2 should open.
Please help me acheive this.
Thanks in advance.To close the remaining panels you can just use the onclick method and however many panels you have just add them to the list spacing them out with a " , "
Here is an example of 3 panels that close and open, upon clicking on one of the panels.
<div id="CollapsiblePanel1" class="CollapsiblePanel">
<div class="CollapsiblePanelTab" tabindex="0" onclick="CollapsiblePanel2.close(),CollapsiblePanel3.close()">Tab 1</div>
<div class="CollapsiblePanelContent">Long-Sleeve Prices</div></div>
<div id="CollapsiblePanel2" class="CollapsiblePanel">
<div class="CollapsiblePanelTab" tabindex="0" onclick="CollapsiblePanel1.close(),CollapsiblePanel3.close()">Tab 2</div>
<div class="CollapsiblePanelContent">T-Shirt Prices</div>
</div>
<div id="CollapsiblePanel3" class="CollapsiblePanel">
<div class="CollapsiblePanelTab" tabindex="0" onclick="CollapsiblePanel1.close(),CollapsiblePanel2.close()">Tab 3</div>
<div class="CollapsiblePanelContent">Hat Prices</div>
</div> -
Close all the open Application in one-shot ?
Is there are any way to close all the open application in one shot in ipad rather than double-click the home button and close the apps one by one.
In principle, I agree with you...
But it appears that reality is not perfect. I observed on iPhone 3 that memory could be pretty clogged from time to time and I needed to restart it to free up memory and get it back to original speed again. It all depends on which apps you are running. Some appears to eat more memory than others. On iPhone 4, it appears to be less of a problem and I have seen that later iOS releases also makes this less of a problem. I only have a first generation iPad, but I have seen that later iOS releases have improved memory handling significantly there as well. However, it appears to be a good idea to reboot the device after a week or two just to flush the memory. I can't prove this theory scientifically, but I do see a difference in memory usage when doing this.
The reason I actually tried "Process Killer" was a tip that it addressed the problems many of us encountered with the first iOS 5 release: frequent crashes and slow performance. After the pretty quickly released iOS 5 update, that wes pretty much solved, but occasionally killing processes actually helped me at that point, It made both my devices more stable.
The original question was about battery performance, there I don't think that the amount of processes running is the key. A much better way of getting more out of your battery is shutting off location services in apps where they are not really needed. I would guess that turning off push notofications for as many apps as possible helps as well.
Also, turn off the Personal Hotspot on iPhone when it's not needed!
Maybe you are looking for
-
How to create a DB2 database on the fly?
Hi, The DB2 JDBC connection string requires a name of an existing database: jdbc:db2://server_name:port_number/database_name Is there a way to connect DB2 thru JDBC without the database name and then create a database afterwards? Thinks for any input
-
Where can I find my pictures on iCloud?
I bought an extra 25gb storagespace on iCloud in order to save my pictures since the storagespace on my iphone is limited. These are the apps I can find right now on iCloud: Mail Contacts Calendar Find my iPhone Notes Reminders iWork All of these app
-
Can not install OS X mountain Lion
while trying to install the new OS X Mountain Lion to update my OS, the purchase process was done and the money has been deducted from my credit card but the application is giving me waiting and never downloads.
-
Can't get HP722C to install on new Win7 Pro 64bit OS. I saw a long post on HP about a "bridge" but it assumed that the driver was installed and just wouldn't work. I can't even get a driver to install. The CD won't work, driver is not on Win7, and HP
-
Custom handling of authorization scheme failed errors
Is there a way I can catch when someone goes to a page they are not authorized to be on (Authorization Scheme used to enforce it) then instead of stopping cold redirect them to the public page of the application and use global notification to inform