So, like Alvaro says, harmonics are vibrations of the string which have their nodes (places where a particular harmonic doesn't move the string) at places other than the ends of the strings.
The fundamental is just the main vibration of the string. It has its nodes at the ends of the string: one at the nut, and the other at the bridge. Right in the middle is an antinode; the place where a harmonic moves the string the most.
If you put your finger on that antinode, you mute the fundamental. You're holding it still right where it wants to move the most. Thing is, when you pluck the string a whole bunch of other harmonics sound as well. So you can still hear them, even without the fundamental. More precisely, you can still hear some of them. You can hear the ones with nodes at the center. Any with antinodes at the center of the string will be muted, just like the fundamental.
Harmonics have multiple segments of vibration, unlike the findamental, which has only one. The first harmonic has two vibrating segments, and the middle of the strings stays still. So you can still hear it when you mute in the middle of the string. It wouldn't be moving there anyway, so there's no effect.
The next harmonic divides the string into three. So it has two nodes, each 1/3 of the string's length apart. One happens to fall right over the 7th fret, and the other happens to fall over the 19th (anyone who wants to check the numbers, please do). They aren't the same pitch because they are 7 frets above the note the string is tuned to; they're the same because those are the spots you get when you divide a string into three parts.
The next divides the string into four vibrating portions. So it has three nodes. One happens to fall over the 5th fret, another over the 12th, and another over the 24th. That's because those frets occupy positions 1/4, 2/4, and 3/4 of the way down the string, respectively. If you play these, you'll probably notice something funny. Frets 5 and 24 both produce notes two octaves above the fundamental, but fret twelve is only one octave above, just like it has always been. What's happened to the 1/4 string harmonic? It's still there (don't worry), but you can't make it out because the 1/2 string harmonic is masking it. If you want to check and make sure the 1/4 string harmonic really has a node in the middle, then you can play it with a finger at the fifth and 12th frets. If it had an antinode in either of those places, then it would be muted. It doesn't, so you can still hear it. In fact, you can touch a string at all of a harmonic's nodes, and it will still sound fine. Those points aren't moving anyway. If fact, it can sometimes be helpful to do so. I've found that touching 1/4 and 1/2 will help the two octave harmonic come out on a violin. It's bit of a stretch on the bass though.
The progressive division of the string continues infinitely, in theory, but in real life there's a limit to the number you can actually produce.
So, in short, harmonics aren't associated with frets by any connection other than the coincidence of being near each other. If we wanted to move all the frets around, the harmonics would stay the same. A harmonic's pitch is determined by the number of vibrating portions it divides the string into. You can touch any of its nodes and it will still sound, but you may need to touch a different node to mute all the harmonics below it, since harmonics can share nodes. All harmonics with even numbers of vibrating portions share the center-string node, for example.
Does that help? I think I need to put up a web page explaining this sometime. Please ask for any clarification you need.