Forums

Welcome, Guest
Username: Password: Remember me

TOPIC: JU ToC - open slider by clicking ToC Item

JU ToC - open slider by clicking ToC Item 4 years 6 days ago #1209

Hello,
JU ToC is excellent plugin, and I am using it as ToC in combination with standard Joomla pagebreak and sliders presentation style.

I would like to achieve that by clicking on ToC item, referring slider open its content (not just scroll to anchor in a title of referring slide).
I assume that it possible with the right function in plugin settings (onClickTocItem -default is null).
Can you help me to solve this - I cannot find out what function should be there, or - if this not a solution - what to do to achieve slider opening. this is my testing site with JU Toc and sliders-> bit.ly/1cs8HWI
Thx in advance for your help.
The administrator has disabled public write access.

JU ToC - open slider by clicking ToC Item 4 years 6 days ago #1211

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1641
  • Thank you received: 178
  • Karma: 43
You can try:
function(e){
console.log(e);
}
Then open console log of your browser(F12), it will tell you what item you have clicked.
You can use this condition to see if user click on the right item, then you add the code to open the content(depends on what you want to be opened).
The administrator has disabled public write access.
Time to create page: 0.197 seconds
Powered by Kunena Forum