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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:05:57+00:00 2026-06-10T09:05:57+00:00

I am looking to write a javascript div slider. I tried JQuery plugins for

  • 0

I am looking to write a javascript div slider. I tried JQuery plugins for div sliding. However since our application is dynamically generated, somehow the current jQuery plugins don’t seem to render the slider correctly.

Hence thought to see if I could write a simple slider that will toggle two divs in a slider way.

Basically, I would have two div and one left button and one right bottom.

<img src='images/left'></img>
<div id='content-one'>My First content </div>
<div id='content-two'>My Second content </div>
<img src='images/right'></img>

So when I click the right button, the first content should slide to the second (horizontally). Same way, I could flip it back with the left button. Having an ability to have a 1 second delay between transition would be helpful.

Any pointer on how to write this will be really helpful.

Thx

  • 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-10T09:05:59+00:00Added an answer on June 10, 2026 at 9:05 am

    This what you were looking for? Fiddle.

    Doesn’t use jQuery.
    Note slight change to layout (content DIVs are in
    a container).
    The CSS for overflow, display, padding and margin is
    required.

    I just wrote the most basic linear scroll, you can modify it as you want.

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

Sidebar

Related Questions

I'm looking for way to write Javascript programs / scripts on desktop, not inside
I am looking to write application for iPhone which will be able to control
I'm looking to write a sample application speaking to a POP3/SMTP server. Instead of
I'm looking to write a notification application where I'd like to provide popup notifications
I'm trying to write a simple Javascript(jQuery) function that randomly displays 6 Divs out
I'm looking to write a function which resizes an IE {7,8,9} window using javascript.
I'm looking for some sort of jquery plugin (or even plain javascript) that can
Relative JavaScript newbie here looking for some help in creating a scrollable thumbnail slider
I am looking to write a function in Jquery that compares two strings and
I am looking to start writing a sophisticated application in JavaScript to run on

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.