View Full Version : problem with Horizontal Accordion script

01-12-2010, 03:52 PM
1) Script Title: Horizontal Accordion script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/haccordion.htm

3) Describe problem: I have integrated on my website and it works only in the following browsers: Safari, Internet Explorer and Google Chrome. How can i make it work on Firefox and Opera ? I tried to update all versions of software but still nothing.
The problem is at the projects galleries. My webpage is http://kinostudio.ro/
...and it's built on the indexhibit platform.


01-13-2010, 05:01 AM
There may be other issues, but firstly, you should remove the code in red below in the HEAD section of your page:

<script type='text/javascript' src='http://kinostudio.ro/ndxz-studio/site/js/jquery.js'></script>
<script type='text/javascript' src='http://kinostudio.ro/ndxz-studio/site/js/cookie.js'></script>

<!-- include jQuery library -->
<script type="text/javascript" src="http://kinostudio.ro/ndxz-studio/site/js/jquery.min.js"></script>

The code in red is redundant, and is a reference to an older version of jQuery. Secondly, near the top of haccordion.js, try adding the line in red to it:


var haccordion={
//customize loading message if accordion markup is fetched via Ajax:
ajaxloadingmsg: '<div style="margin: 1em; font-weight: bold"><img src="ajaxloadr.gif" style="vertical-align: middle" /></div>',