Topic: Using Java Script api!

Thanks for great job you've done with this plugin!
Please explain clearly how to use java script api in wordpress template page. I want to us outside navigation next and previous buttons, but simply following … t/api.html
looks not enough. Buttons not working.
I set enableAPI config option to true, but where I can check params.allowscriptaccess value?
What else I need to make it work?

Last edited by romapad (2011-11-04 08:38:42)

Re: Using Java Script api!

You could change the embedding code that WP-SimpleViewer automatically generates by modifying the 'wp-simpleviewer.php' file from line 821 onwards.
The code that you should be using depends on what SimpleViewer-Pro API methods you plan to implement.
An online demo (whose source HTML you can examine and modify) can be found here: … pi.html#js

Steven Speirs
SimpleViewer Support Team.