Been down this exact path, Ox, about 10 years ago at a house in San Marcos. Not my current house – I have excellent neighbors now.
Here is what I found out through much experimentation.
Buy one of these and mount it above the fence line:
Actually buy two. That’s what I did. Works like a charm if the dog is in the next yard. If the dog is a few yards over, it may not work as great – or maybe you can buy them and donate them to the neighbor whose yard abuts the dogs. 🙂
And actually they have a new and improved version that is apparently stronger but requires batteries:
I should note that the original device works great on big dogs with strong barks. It struggles with yappy dogs with high pitched barks.
Another way to go is to call the SM Sheriffs Dept. They will come out, though it will take awhile. One or two visits from the sheriff will often get the msg across. To take any legal action, I think two or more complaining neighbors are required. At least that’s the way it used to be.