PDA

View Full Version : help required for static menu image button



gangulyakash
12-08-2009, 11:10 AM
Suggest some way how to keep some 'image link' static on a website page even when user scrolls page in any direction.
An example of this functionality is campusfever[dot]com
On this page the links of twitter,facebook etc reamins static even the page is scrolled.

How to achieve this functionaltiy ,do suggest some ways out.

jscheuer1
12-08-2009, 08:55 PM
Use css style in the head of the page like:


<style type="text/css">
.someSelector {
position: fixed;
top: 45px;
left: 50px;
}
</style>

With markup like so as the first thing in the body of the page:


<div class="someSelector">

<a href="http://www.whatever.com/">Whatever"</a>

</div>