Puoi utilizzare i css

Codice PHP:
displayblock;
positionfixed
La "position: fixed;" dovrebbe fare quello che vuoi tu