Jump to content
Shockowaffel

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...