šØ Award-Winning Slider
A stunning, modern image carousel with synchronized text animations and smooth transitions. Built with vanilla JavaScript, jQuery, Slick Carousel, and GSAP animations.
⨠Features
- š¼ļø Dual Synchronized Sliders - Image carousel perfectly synced with text content
- š Smooth Animations - GSAP-powered zoom effects and fluid transitions
- š± Responsive Design - Optimized layouts for mobile and desktop
- šÆ Center Mode - Active slide scales and centers for dramatic effect
- ā” Auto-play - Automatic slideshow with customizable timing
- šØ Elegant UI - Minimalist navigation with decorative overlays
- š Custom Easing - Cubic bezier curves for professional motion
š Demo
The slider features:
- 5 beautiful high-quality images from Unsplash
- Synced headline text for each slide
- Zoom-in/out animation on slide transitions
- Elegant circular navigation buttons
- Dark overlay panels for depth
š Prerequisites
No installation required! This project uses CDN links for all dependencies:
- jQuery 3.6.0
- Slick Carousel 1.9.0
- GSAP 3.12.5
- Ionicons 4.5.10
š ļø Installation
-
Clone the repository
git clone https://github.com/kuldeep-jadeja/AwardWinningSlider.git -
Navigate to the project folder
cd AwardWinningSlider -
Open in your browser
# Simply open index.html in your preferred browser # Or use a local server: python -m http.server 8000 # Then visit: http://localhost:8000
š Project Structure
AwardWinningSlider/
āāā index.html # Main HTML structure
āāā style.css # Styling and layout
āāā script.js # Slider logic and animations
āāā README.md # Project documentation
šÆ Usage
Basic Setup
The slider is ready to use out of the box. Simply open index.html in a browser.
Customization
Change Autoplay Speed:
// In script.js, modify autoplaySpeed (in milliseconds)
autoplaySpeed: 2400, // Change to your preferred timing
Add More Slides:
<!-- Add to both .text-slider and .image-slider in index.html -->
<div class="text-slide">
<h1>Your New <br />Heading</h1>
</div>
<div
class="image-slide"
style="background: url(YOUR_IMAGE_URL) center/cover no-repeat;"
></div>
Customize Animation:
// In script.js, adjust GSAP animation parameters
gsap.fromTo(
`.slick-slide[data-slick-index="${next}"]`,
{ scale: 0.9, opacity: 0 }, // Starting state
{ scale: 1, opacity: 1, duration: 1, ease: "power3.out" }, // End state
);
šØ Color Scheme
- Background:
#0f0f0f(Near black) - Text:
#fff(White) - Overlay:
rgba(0, 0, 0, 0.65)(Semi-transparent black)
š± Responsive Breakpoints
- Desktop: Full experience with all decorative elements
- Mobile (<990px): Simplified layout with adjusted text size and positioning
š§ Configuration Options
Slider Settings
| Option | Value | Description |
|---|---|---|
autoplay | true | Enable automatic sliding |
autoplaySpeed | 2400 | Time between slides (ms) |
speed | 1800 | Transition duration (ms) |
slidesToShow | 2 (images), 1 (text) | Visible slides |
centerMode | true | Center active slide |
cssEase | cubic-bezier(.84,0,.08,.99) | Transition timing function |
š Key Technologies
- Slick Carousel - Powerful and flexible carousel library
- GSAP (GreenSock) - Professional-grade animation engine
- jQuery - DOM manipulation and event handling
- Ionicons - Clean, modern icon set
- CSS3 - Modern styling with transforms and transitions
š Learning Resources
This project demonstrates:
- Synchronized multi-slider functionality
- GSAP animation integration
- Responsive design patterns
- Custom easing functions
- CSS layering and positioning
- Event-driven animations
š¤ Contributing
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
- Improve documentation
š License
This project is open source and available for personal and commercial use.
š¤ Author
Kuldeep Jadeja
- GitHub: @kuldeep-jadeja
š Acknowledgments
- Images sourced from Unsplash
- Inspired by modern web design trends
- Built with love for the web development community
Made with ā¤ļø by Kuldeep Jadeja
ā Star this repo if you found it helpful!