let say I have this if statement:
if($(this).hasClass('rightnav') | $(this).parent() == 'nav' && $(this).parent().parent() == 'section')
How can I tell the script that the && should apply after the | and not the entire if?
Thanks! this is really confusing me :s
and shouldn’t it be
||instead of|?