Spry Accordion collapses when the default Panel is set to-1

Hello

I created an accordion spry in dreamweaver Cs4 and needed all the tabs to close when the page is opened.

I set my Panel by default-1 in the following script, I inserted at the bottom of the page:

< script type = "text/javascript" >

< var Accordion1 = new Spry. Widget. Accordion ("Accordion1", {enableAnimation: false, useFixedPanelHeights: false, defaultPanel:-1}); < /script >

However, when you click on one of the closed tabs, the accorion opens just enough to show half of the first line, them immediately closes.  is there a reason for this?

Thank you very much

Hello

In the visualization of source code of the page I don't see the you indicated as being used below.

I did find the following in viewing page source code, two references to the accordion1 panel:

As for the immediate above var Accordion, I am using the exact same in multiple web sites, without issues including IE8. So perhaps IE8 is having some issues with the duplicate var Accordion references. Also FYI, the var Accordion(s) do not appear to be at the bottom of the page per source code viewing.

Leonard B

Tags: Dreamweaver

Similar Questions

  • Network type changes 'Public' and does not return to work when the default gateway is detected

    Original title: Type of network not restored on ethernet cable reconnect.

    I have a Dell Precision R5500 running Windows 7 Professional Service Pack 1. It is connected to a network that is stored as a type of 'work '. When the ethernet cable is removed and replaced network type changes to 'Public' and does not return to work when the default gateway is detected. I also have a Toshiba Tecra M10 running Window 7 Professional Service Pack 1 that initially detects the network restored as 'Public', but 'Work' once again Exchange is a connection to the default gateway. Is there a setting somewhere in the strength of the network to double check its type periodically?

    Hello

    You have any other network assets wireless (specifically) running on the computer?

    Have another active network connection could also cause this.

    Allows us to follow the methods mentioned below and see if they help.

    Method 1: Run the network troubleshooter.

    When the network type gets changed to 'Public' after the cable is disconnected and reconnected. The troubleshooter should let you know if there are errors with the associated services.

    See the following article:

    Using the troubleshooter from network in Windows 7:

    http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7


    Method 2:
    check if network discovery and file sharing options are enabled in the network and sharing Center.

    See the following steps:

    a. click on start toreduce this top, type network and sharing Center in the Start Search box, and then click network and sharing Center in the programs list.

    b. If network discovery is off, click the arrow to expand the section, click turn on network discoveryand then click apply.

    Reduce this includes this imIf that you are prompted for an administrator password or for confirmation, type your password or click continue.

    c. If file sharing is off, click the arrow to expand the section, click turn on file sharingand then click apply.

    Collapse this includes this ima

    If you are prompted for an administrator password or for confirmation, type your password, or click continue.


    Method 3: Uninstall the network drivers and then install the last set of drivers on the manufacturer's Web site and check the issue.

    See the following steps:

    (a) click Start, right click on computer.

    (b) click on properties, click on Device Manager

    (c) expand the network adapter, right click on the adapter option

    (d) click on uninstall

    (e) now go to your computer / site Web of the manufacturer of the device, download the updated drivers and install them.

    Reference:

    Updated a hardware driver that is not working properly:

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • Is there a way to open a new window with a site when the House on Firefox setting has several Web sites?

    When you work in Firefox, is there a way to open a new window with a site when the House on Firefox setting has several Web sites?

    Firefox always opens a new window with the home page (s), you must use shift + left click on a link (bookmark) to open a page in a new window or just rip an existing tab by dragging the tab slightly downwards to open the tab in a new window.

  • How can I improve the sound quality when the Sync property is set to 'stream '.

    I recently had a problem with the text in synchronization with sound (Narrator). For example, when a user has typed a button a Narrator reads the text on the page and want words to point out that the Narrator read the words. The problem that I ran was that she place well on the desktop, but the timing was off on some mobile devices. So I put the 'Stream' sync and it worked fine. But I ran into another problem; the sound quality is down, sounding muffled.

    How can I make the sound better when the Sync property is set to 'Stream '?

    You can control streaming sound quality in your publish settings that can replace the sound quality settings that you can set by clicking on properties of the sound of the library (click right/properties).

  • accordion jQuery how to reduce the default Panel

    Hi I'm using the latest Dreamweaver how to reduce the Panel so that none are open when the page opens.

    mayramoca33 wrote:

    foldingType: Boolean

    By default:false

    If all the sections can be closed at the same time. To collapse the current section.

    Code examples:

    Initialize a Accordion with the collapsible option specified:

    1

    $( ".selector" ).accordion({ collapsible: true });

    Get or set the collapsible option, after init:

    1

    2

    3

    4

    5

    // getter

    var collapsible = $( ".selector" ).accordion( "option", "collapsible" );

    // setter

    $( ".selector" ).accordion( "option", "collapsible", true );

    Hi Nancy I see this

    and I click on reducible in property panel and it gives me this:

    But I can't understand how to reduce the first Panel

    http://restoring-health.NET/resources.html

    Try the following:

  • When I select a local adjustment, how can I scroll the new adjustment panel with the default panels

    In lightroom in the develop module. When I select a local adjustment for example the Brush tool or the gradient tool, the adjustment of the particular tool panel appears in the sidebar where I can make adjustments to these tools (see figure below).


    Now my question is with this adjustment Panel, it seems to be coming overlap on top the other default settings (for example the "base Panel" - exposure, contrast etc) and when I scroll down on other settings, the Brush tool or the gradient tool adjustment panel is always on top and does not scroll with the default settings.


    I would like to change the setting of this kind that the adjustment panel is part of the other default settings in the module development and scrolls with them.

    I know this is possible because I saw online videos where this is the case, and my lightroom on another machine for this.
    If anyone know how I change the setting for this?


    Capture.JPG

    It seems to depend on the actual size of the Lightroom window. Just messing around with the CRD and LR5 onto my retina MBP 15 "with a monitor 1920 x 1200 and the two Lightroom versions scrolls happily adjustments table so that others, but only if the size (i.e. the height) of the Lightroom window is below a certain level. Done on the screen retina, when the display is set to 'Better for the retina', the Panel scrolls with others. But if I change the screen resolution of 2880 native and expand the LR window to fit, then the settings panel does not scroll.

    Similarly, if I move LR for the monitor external, same thing, i.e. Panel does NOT scroll when the window to maximize LR, but it does not scroll when I lower the height of the LR window (seems to be around the mark 1600 pixels)

    It's the same with LR5 and even on the Windows platform. I think he has somehow based on the height of the Panel adjustments with regard to the total height of the LR window, i.e. the settings panel does not scroll when there is enough space in the right panel to allow the eyes of one or many of the other tools below.

  • [BUG] [OS: 6.0.1] [Model: Z5/C] No keyboard by default when the default keyboard is uninstalled

    Hello

    I've been playing with the keyboard and other keyboards for compact and have encountered a small bug.

    Probably not this joint because I doubt anyone would have done what I'm doing, but it's quite possible to happen for other users and easily replicated.

    If the default keyboard is currently not the Xperia keyboard, and the keyboard is uninstalled through the app store application to play Google,

    any application that requires the entry of key numbers / does not display a current keyboard, and the user will not be able to move forward.

    The current solution is to reinstall another keyboard through the Google game shop, to be able to toggle the switches that allow you to change the keyboard by default to something other than what you want to uninstall.

    Address bar is selected with the cursor of type, but does not display a keyboard.

    When the "keyboard input methods &" display 'Current keyboard' and tap or attempt to select this option is ignored

    It's the screen that should appear if you select the current keyboard: the only way to get back to that made by the work around I mentioned above, Xperia keyboard is the current keyboard, but all keyboards were set to OFF. The uninstalled keyboard for the test was Swype.

    That's what should display the menu "language and seizure" when it is not working properly

    A keyboard is now enabled again.

    Here is that the address bar selected once again, with the Cursor Type... just to show that it was not a mistake, because you can hide the keyboard by pressing on the button previous... the last screencap is for comparison. Note the orange box is no longer around the address bar.

    Note: If other users want to disable other Xperia keyboards for other regions, it is safe to do so and has no adverse effects on the International keyboard function.
    (I've been running it without the Japanese and Chinese keyboards for about a month now)

    I noticed something new on the forums for solutions resolved to threads... etc.

    I can't mark my own post as solved. It's sort of resolved.

    EDIT: OHMYGOD. This second post active the solved button. Points!

  • Menu Spry is Collapsing to the left

    My menu spry on it site has been collapsing to the left. This is supposed to be 800px horizontally (to mount properly as well as the header and body), but for some reason, he decided to expand as much as the text in each menu area. Suggestions?

    Thank you

    Sean

    Hello

    look in your "sections" and modification of this article: ' margin:-5% 0 0 95%; I have used for example 120%:

    margin:-5% 0 0 120%;

    Hans G.

    Message geändert durch hans g.

  • Should I accept updates Java when the default box shows 'NO '?

    I have Windows 7 and get a box indicating the Java updates are available.  The request to give me control of my computer in Java, but the default choice is no. Devrais I be accepting updates of Java?

    Hello

    The safest to do thing is to say no and then go to Java.com to get the new version.
    You know that there is no problem with the update.

    Java
    http://www.Java.com/en/

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Reset the accordion State when the Page refreshes

    I read a few posts online of people who have encountered the same problem, however I have not yet met any soloution to it.

    If you have an accordion menu and the page is refreshed that the accordion retains its last State rather than reloading to its first State. Is there anyway to stop it from doing this?

    Thank you
    Katy

    "katychapman85" wrote in message
    News:g77ca5$9C$1@forums. Macromedia.com...
    > I read a few posts online of people who met the same
    > problem.
    > However, I have not met any soloution to it.
    >
    > If you have an accordion menu and the page is refreshed on the accordion
    > canned
    > It is the last State rather than reloading to its first State. Is there anyway
    > to
    > don't let him do that?

    Disable history management.

  • This file does not have a program associated with it for performing this action. Create an association in the control panel to set the Associtions.

    I get this message every time I get an email with a link and then can not click on the link. This happens on any email I receive. Just got the message. I am running Vista. I don't understand any of this message. If anyone can help me in simple terms... Please if you know of a simple way, then I would be so grateful. Thank you

    Hello

    1. you are using an email client or Webmail?

    2. If webmail, you use Internet Explorer browser? If so, which version?

    A default program is the program used by Windows when you open a particular type of file, such as a music file, an image, or a Web page. For example, if you have more than one web browser installed on your computer, you can choose one of them to be the default browser.

    Define Internet Explorer by default and see if that helps.

    Reference:

    Change the web browser by default:

    Reference:

    Change the programs that Windows uses by default:

  • Camera LR Android disappears when the display size is set to small

    Hi all

    Apparently, there is a bug in Android Mobile with Lightroom. 7 Android there is a parameter called size display, under the display settings panel, which effectively defines the display scaling. If the value is 'Small' on my Nexus 6 p disappears the camera feature of Lightroom Mobile.  It comes back as soon as I put the default display size.

    See you soon

    Tom

    Hi Tom,

    Android is still not official for all devices, and we have not tested extensively on our applications.

    Personally, I don't have a handy device with me so will be updating once I've tested the same Nougat.

    Kind regards

    Assani

  • PC goes mode sleep when the Power Options are set for ever, etc. also can not wake up

    Hi, I read the other posts on this topic, but my problem seems a little different.

    I am running Windows 7 on a Dell desktop computer and I tried to run chkdsk and also the Dell diagnostics that I have some problems hard drive; However, it gets so far and the pc goes into mode 'sleep' causing me even worse problems that chkdsk/diagnoses are halfway through a volume. The pc has done this on and off tension for awhile, but hopefully not when something critical is running, even if it is a nuisance.  I did all the steps recommended here as ensure my Power Options are set, etc., but he always does.

    In addition, when the pc goes to sleep, I can't wake him up by pressing the power button or any key on the keyboard.

    I've been in contact with Dell and they said that it's a software problem.

    Someone can suggest something else I can do (stop) the computer mode 'sleep' and also how to wake him.

    Thank you.

    Hello

    I'm sorry for the late reply.

    As you mentioned in your previous post, you wanted to know how to boot from the disc, I've provided the steps how to boot from the disc on my previous post. However, you can try to repair your windows using DVD for Windows 7 backup and check.

    You can see this Microsoft article below that will help you fix Windows 7.

    http://Windows.Microsoft.com/en-us/Windows/what-are-system-recovery-options#what-are-system-recovery-options=Windows-7

    Let us know if you need help most.

  • vCAC 6.1 - the default display language setting to English

    Quick question - is possible to set the default language of the vCAC portal of English for all users, regardless of which language is preferred in their browser?

    I couldn't find the setting in the portal itself.

    After following the advice of support for editing work, the registry key on the Server Web IaaS HKEY_USERS->. By DEFAULT-> International-> sShortDate need to be set on dd/mm/yyyy

    Edition works now for of and en_us defined as languages in the browser. This is the current configuration:

    -of (German) as a language under firefox

    -value of registry key on the Server Web IaaS sShortDate: dd/mm/yyyy

    -IaaS locale of the web server:

    Format: Germany

    Current location: Germany

  • Panels with tabs - can I override the default Panel?

    I have a 'contacts' page which includes three panels of Spry tabs - requests for information, comments on site Web and a map.

    It works fine if someone navigates directly to the page. However, the page is also linked to other pages in this case, I would like to open it with the appropriate tab. For example, if the link says something like "click here to see the map", then the card Board must appear by default. If the link says something like 'click here to contact us', then the Committee of inquiry should appear by default.

    Is there a simple way to fix this?

    Andy

    Try this solution of David Powers:

    http://foundationphp.com/tutorials/spry_url_utils.php

    Important caveat: abandoned Adobe Spry last year, so you won't find every file for it on Adobe Labs.  They have all been moved to GitHub.

    https://github.com/Adobe/Spry

    Nancy O.

Maybe you are looking for