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 4006082
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:28:18+00:00 2026-05-20T08:28:18+00:00

first of all, I’m not good with jQuery and coding. I’m trying to achieve

  • 0

first of all, I’m not good with jQuery and coding.

I’m trying to achieve a slide effect like this one but horizontal with jQuery.
I am under WordPress and I’m loading 15 posts at a time (only thumbnail and title) with ajax when a user clicks on next_posts_link and previous_posts_link. I got it working using a fade effect but i can’t get it working with a slide effect like in the website above.

I got something working using jQueryUI, but basically I had 2 problems:

  • when I “hide” the first div, sliding it to the left, the second is coming out after some time (I think is loading time). I’d like to give more the “push” effect showing the next div coming in as the first is going out. Maybe this could be done with some sort of preloading.

  • I can do this only in one direction (first div hiding on left side, second div coming in from right side). I need the right direction as I click on “next” or “prev” button.

This is the JS I’m using:

 <script type="text/javascript" charset="utf-8">
                jQuery(document).ready(function(){ 
                    jQuery('#nav-above a').live('click', function(e){e.preventDefault();var link = jQuery(this).attr('href');
                    jQuery('#nav-above').load(link + ' #nav-above');jQuery('#container-home').hide("slide", { direction : "left" }, 200).load(link + ' #content', function(){ jQuery('#container-home').show("slide", { direction: "right" }, 200);
                    }); 
                });
            });
</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-05-20T08:28:19+00:00Added an answer on May 20, 2026 at 8:28 am

    I suppose you need something like Cycle’s scrollRight.

    Check it out, if you need any help, just say it.

    http://jquery.malsup.com/cycle/

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

Sidebar

Related Questions

First of all, I know I asked a similar question before but this one
First of all there is a partial question regarding this, but it is not
First of all, my table structure is something similar like this: CREATE TABLE Testing(
first of all, I'd like to explain why i need this. i need to
first of all sorry for the title. I know this is not so clear
First of all, i am not trying to hack into anything or anyones e
First of all, I know that this is because of bad libraries, but I
First of all: I am not an experienced ClearCase user, but I have lots
First of all, i would like to explain my condition right now. I'm using
First of all, I don't know if this should stay in SO or go

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.