Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8294537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:15:03+00:00 2026-06-08T14:15:03+00:00

am using image slideshow in my site i wanna add transition to the slider

  • 0

am using image slideshow in my site i wanna add transition to the slider anyone help me please…
The slider is same as shown here:
http://yellowandred.in/PGP%20Enterprise/index.php

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T14:15:04+00:00Added an answer on June 8, 2026 at 2:15 pm

    you can use jquery http://jquery.com/

    Your HTML codes :

    <!-- styling the height and width is important for some transitions -->
    <div id="slideshow" style="width: 400px; height: 200px">
      <img src="../img/one.jpg"> <!-- can use any element you want, not just images -->
      <img src="../img/two.jpg">
      <img src="../img/three.jpg">
      <img src="../img/four.jpg">
      <img src="../img/five.jpg">
    </div>
    

    Your Java Script:

    var $el = $('#slideshow');
    $el.slideshow({
      duration: 400,
      delay: 3000,
      selector: '> img',
      transition: 'push(up)',
      autoPlay: true,
      show: function (params){
        var nextIndex = params.next.index;
        if (nextIndex > 2) {
          // do something awesome when the slide is after the third slide.
        }
      },
      complete: function (params){
        // do something awesome when a transition finishes
      }
    });
    
    // get the slideshow object if you want it
    var slideshow = $el.data('slideshow');
    
    // show the third slide
    $el.slideshow( 'show', 2 ); // Element API
    slideshow.show(2); // object API
    
    // show the next slide
    slideshow.show('next');
    
    // pause and play
    slideshow.stop();
    slideshow.play();
    

    Custom Transitions:

    jQuery.rf.slideshow.defineTransition('slide', function (params, dir, ease){
      var animation = {},
          prop = (dir == 'left' || dir == 'right') ? 'left' : 'top';
      animation[prop] = (dir == 'left' || dir == 'up') ? '-100%' : '100%';
      params.previous.animate(animation, params.duration, ease);
    });
    

    you can create your own transition too 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using jQuery Blinds Slideshow as image slider. I want to redirect the first
I'm using supersized ( http://buildinternet.com/project/supersized/ ) for a full size image background slideshow, but
I'm using SimpleXML to add new images childs for a slideshow tool on my
I want to create an image slideshow using WPF and C#, but I don`t
I have a simple slideshow which automatticlly changes the image using setInterval every 5
using a joomla component that pulls an image from the database for a slideshow.
Im trying to make a pager for my image cycling using this plugin: http://jquery.malsup.com/cycle/pager3.html
I am using CI for my web-site. While programming CMS for the same I
I am using adGallery on a site from : http://adgallery.codeplex.com/documentation but when you click
Im using the jQuery noConflict method here: http://drupal.org/node/1058168 Now, both of the following work:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.