Accordion tab opens on SECOND clic (?)

spry version 1.6.1
url: http://www.lbwebmaster.it/operti/index.html
I have created an accordion navigation menu, and it works, but when one clics on a tab it only "opens" on the SECOND clic. Meaning one has to clic a tab two times to get to the content.
From there on, everything works fine all the time -- until a new page is opened. Then the problem reoccurs.
can anyone help me solve this ?

Hi, thanks a lot!
Actually it now works - I shifted to jQuery.
I republished last night.
This does not mean that Spry isn't good, but after so
many hours of trying to make it work (friends contacted
all had the same "second clic" problem when trying to
open the menu, on different computers and with
different browsers) I just went another road.
jQuery, for people like me, with no background at all,
seems simpler to understand and handle, and that helped
a lot.
But really, thank you so much for caring!
I think the positioning of the menu now should be
right?
It does stay in the header part, and that is meant. At
some point it was not in the exact desired position,
but now it seems to be right. At least in the
home-page.
Today I will check the entire site, after a lot of
shifts and changes in the templates...
I'm new to all this, I'm only a graphics designer who
had to turn coder overnight, because my supplier gave
up on the JavaScript & css tech problems with my
desired effects.
Not that I find it overly demanding to want an
accordion and a couple of slideshows... but we are in
Italy, this is a country where websites mainly have
broken links, unworkable pages, "pages not yet done",
"we'll be there soon"-pages for years on end, and no
response on emails sent to the sites.
Demanding pure css with some javascript evidently was
too much.
There's a lot of road to cover. Big sites of course
work, but the standards used in the US and generally
are not met here, at ground-level.
But when this website is up and correct I will surely
start studying css from scratch, learn to do my sites
by myself,
and get som grounding in implementing JavaScript.
But for now, I just needed something to work, fast and
immediately 
Do well!
linda

Similar Messages

  • Spry Accordion - Tabs open and then close after page loads

    I am using a Spry Accordion menu driven from a database.
    The menu opens up during the page load and then closes.
    I'm using SpryAccordion.js 1.6.1
    And to open a preset tab, I'm using:
    <script type="text/javascript">
    <!--
    var Accordion1 = new Spry.Widget.Accordion("Accordion1",{useFixedPanelHeights:false, enableAnimation: false, defaultPanel: 0 });
    //-->
      </script>
    But, all of the tabs open and then close on page load.
    My page:   http://www.texashotjobs.us/00C01.aspx
    Any fix for this??
    Thanks, Ron

    Well to both thanks.  Actually I wasn't disappointed as I had a two part question...
    I tested the 1.6 JS and remembered that I had to modify the 1.4 so that tabs actually would link.  So I reverted back to 1.4.
    So, going to 1.6 fixed the open panel on load but "unfixed" the panel tab from linking.....
    So changing this in the 1.6 js fixed the link issue as well:
    Spry.Widget.Accordion.prototype.onPanelTabClick = function(e, panel)
        if (panel != this.currentPanel)
            this.openPanel(panel);
        else
            this.closePanel();
        if (this.enableKeyboardNavigation)
            this.focus();
    //    if (e.preventDefault) e.preventDefault();
    //    else e.returnValue = false;
    //    if (e.stopPropagation) e.stopPropagation();
    //    else e.cancelBubble = true;
    I t appears everything is working........
    Thanks, Ron Gaddis
    Visual Reality Productions

  • Muse Accordion tab - opening up instead of down.

    I have a working accordion widget with about 10 tabs. 
    Suddenly noticed that two of the tabs are opening UP instead of DOWN....
    meaning that the tab is at the bottom of the open panel instead of at the top as I would prefer.
    At one time all were opening DOWN with the title tab at the top of the open panel...
    but now those few are different and I dont know what i did and cannot find
    a MUSE control for the behavior.
    Dreamweaver help articles refer to controls that do not seem available in MUSE.
    Any direction appreciated.
    Thanks.
    MP

    Hello,
    When you say the tabs are opening up UP instead of DOWN, are you talking about the design view of Muse or in the preview/publishes site?
    Could you please provide us a link to your site where we can see the issue?
    Regards,
    Sachin

  • When I first open Firefox it is fine but if I open a second tab to search another site I get a white screen and have to continually click 'back', click the site link, white screen, back, click the link, white screen and so on.

    When I first open Firefox it is fine but if I open a second tab to search another site I get a white screen and have to continually click 'back', click the site link, white screen, back, click the link, white screen and so on.

    This can also be a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    You will have to redo App Tabs and Tab Groups after deleting sessionstore.js.
    See:
    * http://kb.mozillazine.org/Session_Restore

  • When I open a second tab in Firefox, it does not go to my home page. Instead it goes to a page that displays what looks like a collection of pages (or links) t

    When I open a second tab in Firefox, it does not go to my home page. Instead it goes to a page that displays what looks like a collection of pages (or links) that I have visited in the recent or distant past. I would much rather have it go to my home page which is much more useful to me. I have tried to change this in 'Options' but with no luck. Please fix this.

    See also this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites

  • When I open a second browser window (Firefox 5) it does not open to my homepage. It opens with a "New Tab".

    The first time I open a browser window in Firefox 5 a tab opens to my homepage which is what I want. Any browser windows that I open after that open with a "New Tab" and a blank screen. I need to press the "open a new tab" button to get to my homepage.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • I used to be able to open a second tab to get to another web site without closing the first one....now I can see the second tab but when I click on it nothing happens...

    I used to be able to open a second tab to get to another web site without closing the first one...now I can see the second tab but when I click on it, nothing happens..

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    Your system details show that toolbar in the user agent as AskTbARCD/3.13.1.18107
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Hai i am using firefox 3.6.When right clicking on a link and a window opens up, i want it to ask me "Open Link in New tab" first, not second.

    hai i am using firefox 3.6.When right clicking on a link and a window opens up, i want it to ask me "Open Link in New tab" first, not second.

    First, you are using a version of Firefox that is very old and outdated. Please update to at least Firefox 3.6.27, or more preferably, update to Firefox 10.0.2. There are lots of bug fixes, security improvements, and much improved performance in Firefox 10.
    After you do that, try seeing if you are still having a problem. If you are, is this that when you try to select "Open in a new tab" it opens in a new window instead? Or something else?

  • Accordion tabs w/panel sub-nav - default open issues

    I have a spry accordion in a left sidebar, and I'm using it as navigation for a slideshow for a website I'm working on. Each of my 5 accordion tabs has a different category of slideshow, with each panel having multiple sub-navigation links that each link to a different slideshow which appears in the main part of the page (to the right of the sidebar). Say it's something like this:
    VENUES (tab)
    (start panel)
    Bayside Restaurant (link)
    Historic Ballroom (link)
    Western Ranch (link)
    (end panel)
    ACTIVITIES (tab)
    (start panel)
    Surfing (link)
    Dancing (link)
    Horse back riding (link)
    (end panel)
    The sub-navigation to each slideshow is activated by simply clicking on the text, which I linked with the "point to file" link tool in the properties menu. 
    Ideally, I'd like to work with one template in Dreamweaver for all pages/slideshows I'm creating, but I'm running into a problem.  I know how to change the default panel in the .js so that a different one appears open when a user first accesses the page, but I can't figure out how to get the default panel to change when the user clicks on a different panel and attempts to use the subnavigation.  The subnavigation works just fine (it takes the user to the correct slideshow), but then the panel snaps shut instead of remaining open on the one the user selected.
    (So, to further explain with the example above, say the user wanted to look at all the links in the "Venues" tab, but the default is to have the "Activities" tab open on arrival.  The "Venues" tab opens just fine on the click, but as soon as the user clicks on, say "Bayside Restaurant," the correct slideshow appears to the right, but then the "Venues" tab snaps shut and the "Activities" tab and its sub-navigation appears open again. The user then has to click on the "Venues" tab again if s/he wants to see the other options and view a different slideshow, rather than simply being able to click on the next link.) 
    I tried making multiple templates, with different default panels open as a solution, but that's not working either. . .for some reason it keeps defaulting back.  
    Does this make sense?  Are there any solutions to this problem? Any help would be much appreciated.
    Thanks!
    Rebekka

    I think I found your problem.  It lies in the Javascript:
    <script language="JavaScript" type="text/javascript">
    var indexAccordion = new Spry.Widget.Accordion("indexAccordion");
    var acc1 = new Spry.Widget.Accordion("indexAccordion", { useFixedPanelHeights: false });
    </script>
    You have essentially duplicated the code in order to accomodate the useFixedPanelHeights.  Consolidate it into single one, and remove the duplicate:
    <script language="JavaScript" type="text/javascript"> var acc1 = new Spry.Widget.Accordion("indexAccordion", { useFixedPanelHeights: false }); </script>
    IE might be having trouble understanding the double instances of the script and is ignoring the latter one.  Just keep the latter one and it might fix it.
    Also, thanks for the tip, but I use Chrome's Developer Tools... it just didn't cross my mind since I've been busy =)

  • On startup a second tab opens to us.data.toolbar.yahoo and fails how do I prevent this?

    1 tab shows home page second tab opens automatically with
    http://us.data.toolbar.yahoo.com/bh/v3/epa/?.sc=w3i&.tc=W3i_YT,192,2_1,Search,20110106,6823,0,16,0&.intl=us&.cv=2.3.8.20110620112826&url=http%3A//us.data.toolbar.yahoo.com/bh/v3
    I deleted about 200 additional lines.

    Perform the suggestions mentioned in the following articles:
    * [[How to set the home page#w_restore-the-default-home-page|Restore the default home page]]
    * Now do this -> [[How to set the home page#w_set-a-single-web-site-as-your-home-page|Set a single web site as your home page]]
    * [[Troubleshooting extensions and themes]]
    Check and tell if its working.
    To Block Ads, use these add-ons:
    -> Adblock Plus
    * https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/
    * Subscribe to Filter lists
    ** http://adblockplus.org/en/subscriptions
    ** http://adblockplus.org/en/getting_started
    -> Adblock Plus Pop-up Addon
    * https://addons.mozilla.org/en-US/firefox/addon/adblock-plus-pop-up-addon/

  • When I start Firefox 4 two tabs open one is my homepage and the other is "google toolbar updated", how can i stop the second tab opening?

    I have google toolbar installed on my Firefox 4, whenever I start firefox two tabs open, one is my homepage gmail and the other is "google toolbar updated".
    How can I stop the second tab from opening?

    See these articles for some suggestions:
    * [[Firefox has just updated tab shows each time you start Firefox]]
    * [[How to set the home page]] - Firefox supports multiple home pages separated by '|' symbols
    * http://kb.mozillazine.org/Preferences_not_saved

  • After opening a new tab, when I click on my home page (the house icon), it duplicates and opens a second window...it's never done this before?

    I just installed Firefox on a new laptop. Google is my home page. My opening tab is always Google. But, when I open a New Tab, it doesn't open in Google. So, I've always clicked on the house icon to take me straight to Google. Now when I do, TWO tabs open in Google. (it duplicates)

    I tried all of the above, I've reinstalled Firefox and I've checked if value set to 3 in browser.link.open_newwindow which it is, but the problem still happens.
    Regarding what you say re what is written in the article Tab preferences and settings, I understand what this means. However I am using FireFox in my work. I have a CRM where I constantly click on a button that automatically opens my order system on a new tab, or email templates in a new tab etc. The tab opens next to the tab I am currently on. However ever since I was prompted to Refresh Firefox earlier, it now opens these in a new window. Therefore the size of these pages has nothing to do with it, as this was not a problem before.
    This is irritating, as no I have to go from one window to another, and where I have multiple tabs open it is making my life difficult.
    Not happy!

  • Firefox will not open can't open preferences or anything was responding slow earlier in the day had been closed with 2 tabs open when trying to open in the second tab it responded really slow so sut down and used Safari instead

    this morning I had 2 tabs open was trying to open my bank web site and it seemed to respond really slow so closed firefox and opened Safari instead the site still responded slow but finally opened when I closed and went back to firefox it would not open can't re-install it or delete it or basically anything nothing is opening

    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: [http://kb.mozillazine.org/Kill_application Kill Application]
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    [[Firefox hangs]]
    [http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit]
    [[Firefox is already running but is not responding]]
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.

  • On opening and every time I click the home icon, a second tab opens entitled "customizing firefoxx with add-ons

    I tried uninstall and reinstall of Firefox but the pesky tab still opens every time I click the home icon. To make it worse I get a new tab every time which means I can have multiple customizing tabs opening during a single session. How can I stop this happening?

    In Options/General you must have more than one Home page selected.
    More about Options here. [[Options window - General panel]]

  • Why does the Welcome to firefox tab open with my google tab every time I open the browser? And why can't the browser hold any add-ons I downloaded? I loose then when I close the browser, even tool bars have to be reinstalled every time I open the browser

    Every time I open the browser the Welcome to Firefox tab is the first tab, then a second tab opens and thats my google, then a 3rd tab opens for me to reinstall my toolbar. This has been happening for a good year. Updates have not fixed it. Others have this problem. I did a search for an answer, the question is out there but no answer. Now if I go into add ons and add a background Theme or an extension it all is gone when I exit the browser. When I open the browser again I get all 3 tabs and have to install my toolbar again. I DO NOT want to reinstall as I will loose all my saved data, passwords, bookmarks, everything! I have had this computer for a year, Windows Vista x64 bit. Its not the computer, it's the browser. If you have specific questions e-mail me and I will be more then happy to help

    See this article for some suggestions: [[Firefox has just updated tab shows each time you start Firefox]]
    See also http://kb.mozillazine.org/Preferences_not_saved and Preferences are not saved

Maybe you are looking for

  • Moving midi events to match realtime

    Hello, I am debating buying Logic Pro7. Here is what my recording project will require. 1. I already have saved midi tracks with a human feel (percussion and background strings) played to a click track at a constant tempo. 2. I want to now record on

  • An OPen Message To Creative

    bought your Webcam Live Ultra and began the software installation. I read the entire EULA. During the installation, my security software set multiple alerts because your installer was attempting to modify my security settings and change my browser. T

  • Binary addition,subtraction and modulus...plz help urgent

    plz help me on this query... i need to pass two 512 bit number as string,then convert them to binary and then perform binary addition,subtraction,modulus operations on those two numbers.finally convert result to integer. i designed a code which doesn

  • Host command to move files. Can i move to db?

    Hi i currently have the following code within an oracle form. host('CMD /c MOVE /Y "'||server_path ||'install\'||p_pgm||'" "'||server_path||'"',NO_SCREEN );     I want to move it to a procedure in the database so I can run witihn scheduled dbms job.

  • Archmobile: GTA02 freerunner does not appear as network interface.

    I installed Archmobile on my GTA02; unfortunately it seems my microSD is one of those where the GTA02 is unable to boot from. Consequently I had to install in the NAND. According to the ticket 121 I changed the usb0 line to eth0 in rc.conf. So, the i