Here is a test code : http://pastebin.com/m171f7717
Here is initjq.js content (I deleted useless code except for accordion in fact) :
Code:
ddaccordion.init({
headerclass: "collapsehead", contentclass: "collapse",
collapseprev: false, defaultexpanded: lExp,
animatedefault: false, persiststate: false,
toggleclass: ["", ""],
togglehtml: ["prefix", "<img src=\'/lib/plus.gif\' alt=\'plus\' /> ", "<img src=\'/lib/minus.gif\' alt=\'moins\' /> "],
animatespeed: "fast",
oninit:function(expandedindices){ //do nothing
},
onopenclose:function(header, index, state, isclicked){ // do nothing
}
})
The html page can be reached by this :
Code:
<html>
<body>
<a href="testanchor.html?collapsehead=1#TEST170">TEST170</a>
</body>
</html>
I updated jquery to last version.
It works simply by deleting the line with initjq.js...
Christophe
Bookmarks