Follow trolling motor to get e-mail alerts and updates on your eBay Feed. Unfollow trolling motor to stop getting updates on your eBay Feed. Yay! You're now following trolling motor in your eBay Feed.
This you see as the north pole forming near the north pole of the solenoid. Like poles repel, unlike poles attract is kind of a misleading analogy(I find it strange that I realized this after reading your question). What actually is happening is that the tiny magnetic dipoles inside the magnetic material(a bar of iron, for example) align with the direction of the magnetic field.
Magnet Basics. Magnets can either attract or repel each other. A permanent magnet is an object that produces a magnetic field around itself. It is this field that enables them to stick to each other and to some types of metal. Specifically, they stick to ferromagnetic materials like iron and things that contain iron, such as steel.