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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:07:39+00:00 2026-05-18T20:07:39+00:00

Using David’s answer here: Accordion – add arrow to each nav item? on my

  • 0

Using David’s answer here:

Accordion – add arrow to each nav item?

on my accordion here:

Error Help::Multiple controls with the same ID 'ctl00' were found. FindControl requires that controls have unique IDs

The arrows won’t show..what’s wrong?

  • 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-18T20:07:40+00:00Added an answer on May 18, 2026 at 8:07 pm

    I have taken a guess at how the accordion will work – here is some code that should work

    jQuery:

    function checkVisibility() {
      $('.accordionHeader.expanded').removeClass('expanded');
      $('.toggler .accordionContent:visible').each(function(){
        $(this).prev('.accordionHeader').addClass('expanded');
      });
    }
    
    $(document).ready(function(){
      checkVisibility();
      $('.toggler .accordionHeader').not('.expanded').click(checkVisibility());
    });
    

    css:

    .toggler .accordionHeader {
      background:url(* add a path to an arrow here *) no-repeat left center transparent;
      }
    
    .toggler .expanded {
          background-image:url(* add a path to alternate arrow here *);
        }
    

    EDIT – Alternative

    Here I have modified the script in the link you provided. Use the same css from the link provided (untested) – not what I have entered above. Previous option is better imo…

    function checkVisibility(){
      $('.accordionHeader.expanded').removeClass('expanded');
      $('.accordionHeader > span').text('▶');
      $('.toggler .accordionContent:visible').each(function(){
        $(this).prev('.accordionHeader').addClass('expanded').find('span').text('▼');
      });
    }
    
    $(document).ready(function(){
        $('.accordionHeader').each(function(){
            $('<span></span>').appendTo($(this));
        });
      $('.toggler .accordionHeader').not('.expanded').click(checkVisibility());
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using preview 4 of ASP.NET MVC Code like: <%= Html.CheckBox( myCheckBox, Click Here, True,
Is anybody else using David Persson's media plugin for CakePHP ? I'm struggling with
For a few months I have been successfully using David Justices Default Button example
I'm using the David Walsh PHP calendar script and need to format my date
I am using the Database Backup script by David Walsh( http://davidwalsh.name/backup-mysql-database-php ) to backup
Example XML using element nodes: <?xml version=1.0 encoding=utf-8?> <users> <user> <name>David Smith</name> <phone>0441 234443</phone>
I dynamically select a string built using another string. So, if string1='David Banner', then
from David W Fenton's answer to the SU question Does MS Access 2003 contain
I am trying to create a map using two arrays. Here is the code:
I have tried to implement a program using sockets in Ubuntu 10.04. Here is

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.