close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Framework breaks jquery accordian

Thread began 1/12/2011 3:33 pm by Daryl | Last modified 1/12/2011 5:05 pm by Jason Byrnes | 919 views | 5 replies |

DarylBeta Tester

Framework breaks jquery accordian

I have a page http://isldecorating.com/services.php that contains a plugin of a jquery accordion.

Within this plugin is a gallery (Pretty Photo) as a plugin.

The combined result is for the accordion to be broken.

If I remove the gallery plugin, everything works as it should.

Can anybody help please?

Sign in to reply to this post

Jason ByrnesWebAssist

the fire fox error console shows the following error:
Error: jQuery("#jQueryUIAccordion").accordion is not a function
Source File: services.php
Line: 198


Looking at the source code, there are a couple of thisngs that jump out at me that may be the cause of the problem.

This is invalid markup for a div tag:
<div div style="display: none">


and the closing </html> tag is not fully formed it is just:
</ht

Sign in to reply to this post

DarylBeta Tester

Hi Jason

I have removed the div that you mentioned (I was trying to hide all but the first thumbnail).

I have also corrected the closing html tag in services.php, however this still does not resolve the issue.

Sign in to reply to this post

Jason ByrnesWebAssist

fire bug is still giving the same error, so there is something wrong in the page somewhere that is causing the javascript to break.

I'm not at all sure what it is. since the page is added using the framework, i would suspect that there is something in the main page that is breaking it.

I would strip down the main page to the bare bones to get the jquery working, then start building it back up.

Sign in to reply to this post

DarylBeta Tester

the Jquery works if I only include the accordion plugin, but not if the gallery plugin is in the accordion plugin.

Sign in to reply to this post

Jason ByrnesWebAssist

so then there is a compatibility issue between the accordion and the gallery.


this sounds like more of a jquery issue.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...