Overclock.net banner

Need help with jQuery

726 Views 1 Reply 2 Participants Last post by  tom.slick
I currently have two approaches to what I'm trying to accomplish:

1. Dynamically change the contents of a javascript when a hyperlink is clicked.
2. When a hyperlink is clicked, stop the old script and simply load a new one.

This is the jQuery function I'm using:


                slide_interval           :   7000,      // Length between transitions
           transition                 :   1,          // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
           transition_speed      :   1000,      // Speed of transition

With my first approach, I want to dynamically change the URLs for each image when a hyperlink is clicked.

With my second approach, I will have two copies of the above script, but with different images, so that I can call the correct script when the hyperlink is clicked.

Any suggestions?
See less See more
1 - 2 of 2 Posts
1 - 2 of 2 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.