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 2 of 2
  1. #1
    Junior Member codewriter's Avatar
    Join Date
    Oct 2020
    Member #

    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.

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


  3. #2
    Member Cutler's Avatar
    Join Date
    Feb 2021
    Member #
    7 times
    That all depends on your development environment.

    I use VSCode and it automatically changes the colors on certain features of code.
    Last edited by Cutler; Mar 03rd, 2021 at 11:26 PM.
    $1/year Portfolio Hosting with Promo Code: WEBDESIGNFORUMS

    Agency: Marshalled Makers
    Hosting: Marshalled Makers Hosting

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 03:29 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2022 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: