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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:00:28+00:00 2026-05-23T16:00:28+00:00

I have the following code in HTML/CSS: http://jsfiddle.net/XmRNh/ As you can see, there is

  • 0

I have the following code in HTML/CSS: http://jsfiddle.net/XmRNh/

As you can see, there is an “About” container, with three “Slides” inside.
The 1st slide is always open. The initial state of the 2nd and 3rd slide is that they are hidden off-screen.

I would like to use jQuery to “slide” the second and third slide into place when the appropriate button is clicked, and then slide it off screen when the appropriate close button is clicked.

I can see in the jQuery documentation how to slideUp and slideDown, but not how to slide left or slide right. Can anyone help me accomplish this?

Thanks
Zach

EDIT: Is it possible to have the first slide off-screen/hidden when the page loads, and have it slide in from the left as soon as the page loads?

  • 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-23T16:00:28+00:00Added an answer on May 23, 2026 at 4:00 pm

    Check out http://docs.jquery.com/UI/Effects/Slide – using the show / hide methods you can pass more parameters such as the direction. E.g.

    $('#about-slide-2').show("slide", { direction: "left" }, 1000);
    

    To show the first panel upon loading you would set it’s display style to none in the html like this

    style='display:none'
    

    Then use this javascript

    $(function() {
      $('#about-slide-1').show("slide", { direction: "left" }, 1000);
    });
    

    Please note that these effects are included in jQueryUI, not in standard jQuery, but I think you can download a custom build of it that just includes the effects you need.

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

Sidebar

Related Questions

I have the following code: http://jsfiddle.net/cosoroaba/nCEwv/ HTML: <div id=square> <div class=corner-wrapper> <div id=ctr></div> </div>
I have the following simple code : HTML: <div> <img src='http://i51.tinypic.com/4kz4g5.jpg' /> </div> CSS:
http://jsfiddle.net/yrM3H/2/ I have the following code: jQuery(document).ready(function() { jQuery(.toggle).next(.hidden).hide(); jQuery(.toggle).click(function() { $('.active').toggleClass('active').next('.hidden').slideToggle(300); $(this).toggleClass('active').next().slideToggle(fast); });
I have the following code: http://jsfiddle.net/G8Ste/577/ But I would like the effect to go
I have the following html/css code . When I have the screen resolution to
I have the following code <html> <head> <title>Test</title> <style type=text/css> <!-- body,td,th { color:
I have the following HTML code with CSS: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
I have the following css code .container { width:800px; background-color:yellow; margin:auto; display:table; } .cell
I have the following code: <head> <meta http-equiv=Content-Type content=text/html; charset=UTF-8> <title></title> <style type=text/css> body
LIVE CODE: http://jsfiddle.net/vy4nY/ I'm following this challenge , but I'm having some issues. I'm

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.