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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:35:58+00:00 2026-05-26T05:35:58+00:00

Check out CodaSlider . I’ve removed the UL and opted for div’s to control

  • 0

Check out CodaSlider.

I’ve removed the UL and opted for div’s to control it but i’m running into a problem. I want to add a triangle signifying which panel its currently displaying. At the moment, I’m thinking of adding the triangle to the actual slide.jpg, but this is quite bad if someone wants to add another slide.

How would you go about adding a triangle to the current panel dynamically?

Like: https://i.stack.imgur.com/m5gCB.jpg (It’s added on the image)

My CSS:

#control {

width: 938px;
height: 65px;
border-right: 1px solid #d1d1d1;
border-left: 1px solid #d1d1d1;
border-bottom: 1px solid #d1d1d1;
background: #fff url(sliderbg.jpg) repeat;

}

.button { float: left; width: 220px; height: 65px;
margin-right: 15px; border-right: 1px dotted  #d1d1d1; }

.buttonInside { padding: 8px; }

.buttonLast { margin-right: 0; margin-left: 2px; border-right: 0px;}

Solution:

Include

ul.navigation a.selected {
background: url(../img/arrow.png) no-repeat top center;
position: relative;
top: -13px;
padding-top: 23px;

}

Set floating element as inline elements can’t be given widths and heights

ul.navigation li {
float: left;
margin-right: 12px;
width: 220px;
height: 65px;
border-right: 1px dotted #ddd;

}

  • 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-26T05:35:58+00:00Added an answer on May 26, 2026 at 5:35 am

    I would use a pseudoelement and CSS to add an arrow without an image: http://jsfiddle.net/blineberry/fqKHK/

    The CSS with the stock CodaSlider would look like:

    ul.navigation a.selected {
      position: relative;
    
      background: blue;
    
      color: #FFF;
    }
    ul.navigation a.selected:before {
      content: '';
    
      position: absolute;
      height: 0;
      width: 0;
      bottom: -9px;
      left: 50%;
      margin-left: -9px;
      z-index: 1;
    
      border: 10px solid transparent;
      border-top: 10px solid blue;
      border-bottom: none;
    }
    

    Browser support is modern browsers and IE8+. For IE 7 and lower, I would use an image as @Marco advises or just plain not worry about it.

    UPDATE:

    I had some time, so I played a bit more with your specific implementation.

    Just to clarify, you need help getting the javascript to work with your changes in markup in addition to getting a “current slide” arrow.

    Take a look at the code here: http://jsfiddle.net/blineberry/SfJzv/

    Make note of these changes:

    In the HTML, I added the .navigation class to your #control element. This will help keep your markup working with the CodaSlider script.

    In the javascript: on line 34 of the script (referencing this script: http://jqueryfordesigners.com/demo/coda-slider.js), changed .parents('ul:first') to .parents('.navigation:first'), and on line 53 changed $('ul.navigation a:first').click(); to $('div.navigation a:first').click();.

    In the CSS I made some style declarations to override some of the stock CodaSlider CSS to work with your dimensions. You may or may not need this depending on your implementation.

    Here’s a full screen demo: http://jsfiddle.net/blineberry/SfJzv/embedded/result/

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

Sidebar

Related Questions

First check out this code. I seems like it should work for me, but
Can check out here alt text http://51hired.com/static/problem.bmp
I want to check out all files in all subdirectories of a specified folder.
Check out the following screenshot: http://www.jesserosenfield.com/beta/descenders.png My problem is that descending (like the 7
I check out mvc-ajax project into eclipse from this svn address https://src.springframework.org/svn/spring-samples and run
Jus check out this program.Logically it seems fine but its giving 000000000000000000000 for everything
Please check out this image: Look at the part that says 'keyboard' I want
Check out this jsfiddle http://jsfiddle.net/Y7fEW/ . I'm trying to get the tan div on
Please check out this example, first in FF, Chrome or Safari: [demo link removed]
Check out my problem here: http://jsfiddle.net/89sq2/ What should happen is that the months legend

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.