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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:35:09+00:00 2026-06-09T01:35:09+00:00

http://frontend.iwssites.com/intellichoice/home.html I am trying to add functionality to the main slider on this page.

  • 0

http://frontend.iwssites.com/intellichoice/home.html

I am trying to add functionality to the main slider on this page. Right now there are left/right arrows and grey/blue boxes (below) that let the user navigate between 4 slides (using two image for the 4 slides–so they repeat). What I want to do is add the same functionality to the 4 box graphics (nextaire, save energy, etc.) so that when a user clicks on one of those graphics they are taken to that slide. As well, want the blue/grey box below to correspond with the slide. I do have “on/blue” states for each graphic as well (what the nextaire one has now).

This is kinda tricky and my jquery skills aren’t super up to par. I was thinking that perhaps there was a way in the functions.js file to create this.

  • 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-09T01:35:11+00:00Added an answer on June 9, 2026 at 1:35 am

    Okay, this actually isn’t all that difficult. You have a couple options, depending on how you implemented the slider (I don’t have time to look in your code file, sorry):

    • Method one: you use JS to animate the elements to the left by (-1 * indexOfSlideAnimatingTo * slideWidth)
      • this is the best solution in my opinion, as it is lightweight and very simple
      • this will only work if you used position relative to make the slide work
    • Method two: you use JS to animate the elements’ margin-left by (-1 * indexOfSlideAnimatingTo * slideWidth)
      • if you did not use position relative
      • what makes this worse than method one is that you will also have to design an exception condition (or a different handler) for when you click to go back to the first slide
        • with the other solution, it simply moves you back TO the 0 position relative to the original
        • with this solution, you have to move back all they way to the beginning by adjusting the margin

    Here is the animate function for the first one:

    var move = (-1 * indexOfSlideAnimatingTo * slideWidth);
    ("#yourSlidesRelativeContainer").animate({ left: move }, speed);
    

    The second one would be very similar, but with the extra condition/handler that we talked about and with margin-left instead of just left. I’ll leave that one to you to code, unless you need more help 😉

    Good Luck! 🙂

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

Sidebar

Related Questions

I had installed this extension on my Magento store: http://www.magentocommerce.com/magento-connect/catalogcache.html It really improved the
I was just reading the http://www.meebo.com/ About Us page, and read this line :
http://ano-mag.com/black-foil/ please check this url - click the Order Now button on the left
Let's say that I have this website file root structure: frontend /home/username/public_html/ backend /home/username/public_html/admin/
I have a haproxy configuration like this: frontend api mode http default_backend tomcat backend
I have a HTML/JQuery frontend. I would like my HTML page to have a
I am following this tutorial http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-5-magento-models-and-orm-basics . As per this tutorial,when i pass a
Could anyone help me here with this rewrite rule please? From this http://www.SOMEDOMAIN.com/en/somefolder/ To
Where i can search the errors for this problem? I have: http://www.mypage.com/module/action and http://www.mypage.com/frontend_dev.php/module/action
in Frontend.php I replaced this: $this->add('BasicAuth') ->allow('demo','demo') // use check() and allowPage for white-list

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.