Context
I am working on a JavaScript application that will allow the user to remotely control an HTML+CSS+JS slideshow.
The slideshow is generated by a program that converts it from powerpoint.
Problem
The JavaScript slideware is an obfuscated JS code. However, there are some behaviours I have been able to trigger using jQuery/JS events (e.g., if I call .click()
on the next button, the slideshow advances to the next slide).
Anyway, there are some behaviours that are triggered when I click on some elements, but are not triggered when I call jQuery's .click()
on the jQuery object corresponding to that element.
My idea
I would like to simulate the actual click over some element, since I don't know exactly what of the events triggered after I click it is the one that makes the desired behaviour possible.
Is that possible? Or, am I missing another approach to solve this problem?
I tried something as in this post, but it won't worked (nothing happened).
More about my specific problem
You can see an example slideshow here. (The slideware is this JS).
The behaviour I want to trigger is what happens when you click on a thumbnail (the ones that you see after clicking on menu). That is, I want to able to jump from one slide to another.
An interesting observation I made is that the slide change is triggered after you raise up the mouse click, and that it works whether you use left or right click.