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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:01:54+00:00 2026-06-05T14:01:54+00:00

in the YUI Carousel, i want nav button include prev and next buttons showing

  • 0

in the YUI Carousel, i want nav button include prev and next buttons showing under the items.by default these buttons placed in upper items and i want placed those after the items (or images)

        <div id="container">
            <ol id="carousel">
                <li>
                    1111111
                </li>
                <li>
                    222222
                </li>
                <li>
                    3333333
                </li>
                <li>
                    444444
                </li>
                <li>
                    5555555
                </li>
                <li>
                    66666666
                </li>
                <li>
                    7777777
                </li>
                <li>
                    8888888
                </li>
                <li>
                    999999999
                </li>
            </ol>
            <div class="yui-carousel-nav">
                <button id="next" class="yui-carousel-button yui-carousel-next"><span>next</span></button>
                <button id="prev" class="yui-carousel-button yui-carousel-prev"><span>prev</span></button>
            </div>                 
        </div>

i use above but still navigation appear in above of items

  • 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-05T14:01:55+00:00Added an answer on June 5, 2026 at 2:01 pm

    you must use custom navigation buttons for solve this problem, follow this:

    1. use below css in the stylesheed

      .yui-carousel .yui-carousel-item-selected {
      border: none;
      }
      .yui-skin-sam .yui-carousel-nav {
      position: relative;
      top: 0px;
      right: 1px;
      height: 1px;
      background: none;
      }
      .yui-skin-sam .yui-carousel-button {
      display: none;
      }
      .yui-carousel-nav ul {
      display: none;
      }

    2. use a think like this for js function call:

      (function () {
      var carousel;

      YAHOO.util.Event.onDOMReady(function (ev) {
          var carousel = new YAHOO.widget.Carousel("container", {
              isCircular:     false, 
              numVisible:     3,
              navigation: { prev: 'prevButton' , next: 'nextButton' }
          });
          carousel.set("selectedItem", 0); 
          carousel.render(); // get ready for rendering the widget
          carousel.show();   // display the widget
      });
      

      })();

    3. then for custom navigation use a div like this:

              ......
              <li>
                  999999999
              </li>
          </ol>
          <div>
              <button id="prevButton">&lt;</button>
              <button id="nextButton">&gt;</button>                 
          </div>
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://developer.yahoo.com/yui/button More specifically, I want radio buttons. that can be checked/unchecked.
Using YUI, I want to create a menu button, passing in the menu widget
I have a YUI application. Under certain circumstances I want to alert the user
I want to use YUI Compressor to combine and compress my css and js
I want to use YUI Compressor (the original) and use it as part of
I use yui datatable in my asp.net application... I have a link button in
I'm using the YUI Uploader component and want to automatically open the browse dialog
I have a simple YUI dialog with 2 buttons - Accept and Decline. I
We are trying to use yui carousel in our gwt application. But in gwt
I'm using the YUI TabView tab system. I want to be able to select

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.