Welcome to WebmasterWorld Guest from 54.226.194.180

Forum Moderators: open

Message Too Old, No Replies

slideshow jquery

     

dukelips

7:53 am on May 27, 2013 (gmt 0)

5+ Year Member



is it too difficult to create slideshow in jquery as most of the websites use plugins created by others

Readie

3:43 pm on May 31, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



I've used plugins and written my own numerous times.

The advantage of using a third party plugin is it takes less of your time.

The advantage of writing your own is you can tailor it specifically to your own needs. The same logic applies for pretty much any JS plugin.

As far as writing your own slideshow - with a working knowledge of the overflow and position CSS attributes, it's pretty simple.

For example, to slide an image in from the left, you would place it in a fixed height/width div with overflow:hidden and position:relative.

The image itself would be position:absolute, and it's left would be set to negative [image width].

You could then call jQuery animate on it like so:

element.animate({
'left': 0
}, 1000);

dukelips

12:54 pm on Jun 1, 2013 (gmt 0)

5+ Year Member



the option using next, end as well as eq is seen on the slideshows. what are the options that can be used to traverse the dom

Readie

6:32 pm on Jul 22, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



jQuery has some rather good docs...

[api.jquery.com...]
 

Featured Threads

Hot Threads This Week

Hot Threads This Month