Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Control accordion from external links on same page

More
13 years 2 months ago - 13 years 2 months ago #12967 by michal
hi,

could you please point me at the right direction?

i need to open certain accordion section clicking external link on the page. something along these lines:

window.addEvent('domready', function() {
$('click1').addEvent('click', click1Function);
$('click2').addEvent('click', click2Function);
$('click3').addEvent('click', click3Function);
});

var click1Function = function(){
}

could you please indicate how to initiate the open and close functionality this way?

very much appreciated.

regards,
michal
Last edit: 13 years 2 months ago by michal.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #12968 by ced1870
Hi
you ca try to fireEvent on the menu element once you have clicked on your button. But this is a specific development :)
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.202 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1136 guests and no members online