Fixed Positioning
- mcollins27
- Beginner
- Posts: 9
- Joined: Mon Apr 30, 2007 10:37 pm
Fixed Positioning
Does anyone know if the menus can be fixed to the top of the viewport? So that scrolling would not affect them? Sort of like as if the menus were in a top frame for example.
Re: Fixed Positioning
Hi,
Here's a demo for fixed position. Please read it as there are cautions mentioned I have tested in IE7, FF2, 3, Safari4 for pc, NN7.2, 9, Opera 9 and it works in all. However, I cannot test on Mac or other available browsers.
http://milonic.com/fixed_position.php
Ruth
Here's a demo for fixed position. Please read it as there are cautions mentioned I have tested in IE7, FF2, 3, Safari4 for pc, NN7.2, 9, Opera 9 and it works in all. However, I cannot test on Mac or other available browsers.
http://milonic.com/fixed_position.php
Ruth
- mcollins27
- Beginner
- Posts: 9
- Joined: Mon Apr 30, 2007 10:37 pm
Re: Fixed Positioning
Ahh - thanks for that! I thought, however, that IE7 supported CSS fixed position natively. Why the need for the tricks?
Re: Fixed Positioning
I have no idea, except perhaps because Milonic tries to make sure the menu is cross browser. Not sure about the support natively for fixed position, but that may have something to do with say, images, backgrounds etc. Perhaps for the js menu this is needed in IE. That's all I can suggest
Ruth
Ruth