Page 1 of 1

Collapso - V7 question

Posted: Wed Jul 04, 2007 1:06 pm
by kevster
Is it easy/possible to have the click action on the cllapso menu do the same as clicking on the + icon?

So if you click on the menu text it opens the menu up rather than take you to the relevant section? not sure if this is something I can update in the js code or if it is a pain?

thx, Kevin

Posted: Wed Jul 04, 2007 4:20 pm
by norman
This would be very hard to do.

As it's now over a year since V8 came out I'm reluctant to spend any effort on adding extra functionality to V7 patches. It would probably be only used by one person.

What you could possibly do is to make the intermediate links inactive. To do this edit collapso-5v7.js and look for the 1st occurrence of

Code: Select all

      bits[1] = '<a class="nsa" href="' + urls[i].sURL + '">' + names[i].sName + '</a>';
Replace with

Code: Select all

      bits[1] = names[i].sName;
NB above is untested.

Posted: Thu Jul 05, 2007 11:38 am
by kevster
fair enough, thanks anyway for the snippet, this may be enough :wink: