Put sliced cucumbers and onions in a large container in this manner: a layer of onions and cucumbers, sprinkle with part of the 1/2 cup salt and then a layer of chopped ice.
Continue to layer and end with salt and ice.
Let stand for about 3 hours or until ice has melted.
Take out of salt water and let drain a few minutes.
Add spices, vinegar and sugar.
Bring to a good boil (can boil up to 10 minutes) and seal in jars.