in writeCredits I have added onclick on the a element, like this:
Code: Select all
this.credits = hs.createElement('a', {
href: "credits.php?userID="+this.custom.userID,
onclick: "return hs.htmlExpand(this, { objectType: 'ajax' });",
className: 'highslide-credits',
innerHTML: hs.lang.creditsText,
title: hs.lang.creditsTitle
});
Edit: I just tried putting an expand link in the heading, and that produced the same result. So the problem lies somewhere else. Btw, I did the heading thing the standard way; by adding the <a onclick="hs.htmlExpand(this, {objectType: 'ajax'} )" in a <div class="highslide-heading">. Any new suggestions?