Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member codewriter's Avatar
    Join Date
    Oct 2020
    Posts
    6
    Member #
    62084

    change parenthesis color?

    Is it possible to change the color of the parenthesis in this code? I have colored them in red to show which ones I want to change, as there are a lot.

    Code:
    <script type="text/javascript">
              function ci(){ return " <span class='special-count'>("+($(this).next().find('li').length-$(this).next().find('ul').length)+")</span>"}
    
              $(function(){
                    $('.special').append(ci);
              })
    
     
    
              function ci2(){ return " <span class='special-count2'>("+$(this).next().find('li').length+")</span>"}
    
              $(function(){
                    $('.special2').append(ci2);
              })
    </script>

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Tags for this Thread

All times are GMT -6. The time now is 01:44 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com