liArray: altered so  can be a string for all lis or an array for each li