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

  • Home
  • SEARCH
  • 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 8664417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:14:11+00:00 2026-06-12T17:14:11+00:00

i am using nivoslider and have 4 different slides and for each slide i

  • 0

i am using nivoslider and have 4 different slides and for each slide i want different effect as slideInLeft,fade,fold and sliceUpDown for each different one. my slider is running well,it’s just i needed different sliding effect for each slides.i am using codeigniter. any help/suggestions are welcome.thanks

<img src="uploaded_files/banner/<?php echo $banner->file ?>" data-thumb="uploaded_files/banner/<?php echo $banner->file ?>" alt="" data-transition="slideInLeft"/>
<script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
    </script>
  • 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-12T17:14:12+00:00Added an answer on June 12, 2026 at 5:14 pm

    it is simple.i just to have to add some conditions as follows.

    $i = 1;
    if($i=='1') $transition = 'slideInLeft';
                                elseif($i=='2') $transition='fade';
                                elseif($i=='3') $transition='fold';
                                else $transition = 'sliceUpDown';
                                    ?>
                                    <img src="uploaded_files/banner/<?php echo $banner->file ?>" data-thumb="uploaded_files/banner/<?php echo $banner->file ?>" alt=""  data-transition="<?php echo $transition?>"/>      
    
    
                         $i++; 
    

    it worked but if someone has some better idea than this one,please do share.

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

Sidebar

Related Questions

I am using a NivoSlider in one of my projects, this specific client has
I'm using an image slider - NivoSlider, and for some reason, the search area,
I am currently using the nivo slider on my homepage, to show different images.
I'm currently using nivo-slider here the problem is, I want the displayed pictures in
I am using nivoslider for my webpage. The images look overflow one by one
I'm using Nivo slider , but want to place a PNG image over the
Using regex in C# I should replace one word if it doesn't have specific
I'm using the excellent Nivoslider plugin to showcase a set of photos on my
While using Nivo Slider it enlarges my images to about 2x their original size
Im using .load to load (when clicked) a nivo slider and a small bit

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.