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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:24:22+00:00 2026-05-30T19:24:22+00:00

I would like to use jquery’s cycle to cycle through images. I would also

  • 0

I would like to use jquery’s cycle to cycle through images. I would also like to have these images automatically resize depending on whether the user enlarges or scales back the window. Right now It will cycle through the pictures based on the current screen size, but will not change after the page loads. Any ideas?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Peter's Website</title>
<style type = "text/css">
body, html, .slideshow,.slideshow img { margin:0; padding:0; height: 100%; width:100%;}
#bgimage { position:auto; left:0; top:0; z-index:1; height:100%; width:100%; }
</style>

<script src="js/lib/jquery.min.js" type="text/javascript"></script>
<script src="js/lib/jquery.cycle.all.js" type="text/javascript"></script>

<script type="text/javascript">
$(document).ready(function() {
    $('.slideshow').cycle({
        fx: 'fade' // choose your trjquery.cycle.allansition type, ex: fade, scrollUp, shuffle, etc...
    });
});
</script>
</head>
<body>

<div id ="blackground_image" class="slideshow">
        <img src="images/1.jpg"/>
        <img src="images/2.jpg"/>
        <img src="images/3.jpg"/>
        <img src="images/4.jpg"/>
        <img src="images/5.jpg"/>
    </div>

</body>
</html>
  • 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-30T19:24:23+00:00Added an answer on May 30, 2026 at 7:24 pm

    Are they background images and you want them to be stretched to fit the window size? If so, you might want to check out the backstretch jQuery plugin:

    http://srobbin.com/blog/jquery-plugins/jquery-backstretch/

    When you download the code, just look at the slideshow example and it will show you how to fade between an array of images.

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

Sidebar

Related Questions

I have a list of links, and I would like to use jQuery to
I would like use Jquery to submit a form automatically once I select a
I have a basic webpage set up and I would like to use jQuery
i have a Zend Form and i would like to use jquery to do
I would like to know how can I use jQuery to select multiple items
I would like to .get a page and then use jquery to find elements
I am relatively new to using jQuery and would like to use the load
I would like to know if I can use the following JQuery function on
Would like to use jQuery to: select any punctuation marks (meaning . , ;
I would like to use jQuery in ASP.NET User Control. Can some one tell

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.