Hi Askren, I've had a quick look at the code and I noticed a few things straight away. 1. You're linking the jQuery framework into your document from the jQuery site. This can slow down the loading of the page - I experienced an extremely slow load (Firebug told me over 30 seconds!! If I was a real visitor I'd have moved on by that time!). In addition the jQuery framework that you're linking to is not the latest version. I would suggest grabbing the latest version from http://jqueryui.com/download and hosting it locally. 2. The .js file that you have also grabs the latest version of the jQuery framework itself. So your code has both an old version and the new version of the framework being fetched at runtime. This is very inefficient. Again, remove both pieces of code, and host locally. 3. You seem to have javascript littered thoughout your code. I suggest that it all gets tidied up into a neat little .js file. 4. It seems that you have all your html code of all your pages in the one html document. This also slows down the entire site, as the page has to load EVERYTHING, including things which arn't seen initially by the user. I would suggest splitting it up into chunks, and perhaps loading them in via ajax when theyre called by the user. This will speed things up, and will still allow for the nice smooth transitions that you have now.
Once you have these problems fixed up, it will be easier to see which part of your code is causing the funny behavior. Hope that help! Brad On Nov 12, 1:16 pm, Askren <[email protected]> wrote: > http://www.brianpodell.com/ExpSite2/indexTEST2.htmlhttp://www.brianpodell.com/ExpSite2/indexTEST2.html > > So I've got my little page built. It's relatively simple, though the code > gets rather complex. A vertical scroll, that has horizontal scrolling pages > contained within one of it's elements. That part works fine. > > I implemented an accordion as the nav element, and only one item in the list > has an accordion pane to it. It worked fine, until I added a page and list > element before that one, which now causes the first element on the list to > trigger the second element's accordion opening. When you click the second > element, it closes, and can't be opened again. > > I'm no jQuery wizard, so I'm hoping someone wouldn't mind giving the code a > once-over to see if they can spot the problem. > > Thanks > Askren > -- > View this message in > context:http://old.nabble.com/Accordian%3A-First-element-in-the-list-triggeri... > Sent from the jQuery UI Discussion mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=.
