PDA

View Full Version : browser is scrolled my content should scroll



ganu
11-28-2009, 06:33 AM
Hai,

I have problem that is first u view the page www.mynewplace.com and enter some city name like fremont and enter then u can navigate to another page ,in that page there is google map when we scroll the browser vertical scroll bar the google map is also moving,i want the code to how to move my google map when browser scroll and i need code in php,u can also use(ajax,html,css,javascript)as ur wish.
Thanks & Regards
G.Anuradha

jscheuer1
11-28-2009, 11:59 AM
You could simply use the css style property position: fixed;

But that won't work in IE 6 and less. For those browsers (5 or 5.5 through 6) one can use a style 'expression' (a proprietary IE method) to simulate the fixed position property value. For that, see:

http://www.dynamicdrive.com/forums/showthread.php?p=139600#post139600

and:

http://www.dynamicdrive.com/forums/showthread.php?p=144676#post144676