Click here to Skip to main content
15,919,893 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want To Open new window with scroll position ,my code is
JavaScript
window.open('Default3.aspx','','menubar, toolbar, location, directories, status, scrollbars, resizable,dependent, width=640, height=480, left=0, top=0'),window.scrollTo(0,150);</script>");


It's Not Working...
Posted
Updated 26-Mar-14 23:40pm
v2

1 solution

try below code..
JavaScript
window.open('Default3.aspx',"_blank","toolbar=yes, scrollbars=yes, resizable=yes, top=500, left=500, width=400, height=400");


Note:Firefox will show scrollbars,if your content is larger
 
Share this answer
 
v3
Comments
dhiraj mane 28-Mar-14 1:39am    
Are u read my Question ?.. i want to open a new window with set the scroll position of my new open form to bottom or (0,150) not the window position... ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900