Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi pbravin,

    This is held in the JSModel file, you will need to search for the and parts to change the initial symbol, then edit the \u25B2 part to change when it switches.

    I hope this helps, please let me know if you experience any issues with this.

    Many thanks

    Peter

    Thread Starter pbravin

    (@pbravin)

    could not find the call to the jsmodel file?

    how do i “get there”?

    i’m not sure i’m phrasing my question correctly.

    as always, you have been helpful–and in the process, im learning.

    phil

    Thread Starter pbravin

    (@pbravin)

    found my way to the jsmodel

    got it to work–but the minus doesnt change to a plus when collapsed…

    when i click a plus, the dropdown expands with a minus and when i try to collapse, the minus is still there

    maybe i have my codes mixed up

    ill try again

    Thread Starter pbravin

    (@pbravin)

    retried everything —

    changing 5 occurrences of &#9660 to &#43
    changing 7 occurrences of &#9650 to &#45

    expand works right – changing + to –
    collapse does no change the – to +

    you can try this with onestop.drzvrs.com

    thanks

    phil

    Hi pbravin,

    You will need to change the part that says ‘\u25B2’, as this is the check that is done to decide which option to show next.

    Please change this to either the + or the – and it should start working for you.

    Many thanks

    Peter

    Thread Starter pbravin

    (@pbravin)

    made the change

    the symbok changes when expanding

    but does nt change when collapsing

    also behavior is different depending on where the click occurs…

    if i click exactly where the downarrpw/plus or where the parent bar is

    Hi pbravin,

    This is probably because there is a differnet location for each of these and the ‘\u25B2’ part is where it gets a little confusing.

    The below should work, replacing around line 406 (on version 2.1):

    $js .= "   
    
        \$RMjQuery( '.appendLink' ).on( 'click', function() { 
    
            \$RMjQuery( this ).nextAll( 'ul.sub-menu' ).toggle(); 
    
            \$RMjQuery( this ).html( \$RMjQuery( this ).html() == '+' ? '-' : '+' );
    
            $setHeight
    
        } );
    
        \$RMjQuery( '.rm-click-disabled' ).on( 'click', function() { 
    
            \$RMjQuery( this ).nextAll( 'ul.sub-menu' ).toggle(); 
    
            \$RMjQuery( this ).siblings( '.appendLink' ).html( \$RMjQuery( this ).siblings( '.appendLink' ).html() == '+' ? '-' : '+' );
    
            $setHeight
    
        } );
    
    ";

    That should fix the toggling part, if it doesn’t it may be easier to provide me with your FTP details and I will look at this for you.

    Many thanks

    Peter

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changing the down arrow symbol to a plus sign’ is closed to new replies.