Jump to content

Hot to: reusable javascript

Recommended Posts

The JS examples and the tutorial are neat, but what's really missing is an example of how to modify some of the examples

Something simple like: you want to use two instances of an image slider from the tutorial

Can you still use the same JS script ?
If not, what options are there to fix it ? Hints to maybe Jquery as alternative solutions or whatever comes to mind.


Share this post

Link to post
Share on other sites

The slideshow tutorials usually use id ref to refer to a single slideshow, this has to be changed to class name, any navigation on the slide has to work for that specific slide show, by identifying that specific class name index. Then everything should made to refer to that specific class name index for navigation left or right.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now