This needs to be done on a per-application basis.
Select the application, show package content, edit the plist.info and add:
...
<dict>
...
...
<key>LSUIPresentationMode</key>
<integer>3</integer>
</dict>
...
Done, start the application and switch to fullscreen, nothing should appear now when you move to the top or the bottom.