help me in Popup Page Location
-
hi... can anybody help in setting the location and height and width for the poppage this my poppage script Page.ClientScript.RegisterStartupScript(Me.[GetType](), "openpopup", "window.open('../Page2.aspx','test','scrollbars=2');") thank u. siri
siri
-
hi... can anybody help in setting the location and height and width for the poppage this my poppage script Page.ClientScript.RegisterStartupScript(Me.[GetType](), "openpopup", "window.open('../Page2.aspx','test','scrollbars=2');") thank u. siri
siri
Please don't ask agan when your first ask is still visible. This site offers you free help. That means you have to wait for it. When you pay people, you can afford to be impatient with them.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
hi... can anybody help in setting the location and height and width for the poppage this my poppage script Page.ClientScript.RegisterStartupScript(Me.[GetType](), "openpopup", "window.open('../Page2.aspx','test','scrollbars=2');") thank u. siri
siri
use top and left parameter of window.open function for positioning the pop-up.like
TheNewWin = window.open('','name','height=255,width=250, toolbar=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,top=20,left=20');
This only sets the position the first time the window is opened though. If we are intending to reuse the same window for multiple popups then we will want to relocate the window to the desired location immediately after the window opens instead. use MoveTo function for that.TheNewWin = window.open('','name','height=255,width=250, toolbar=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no'); TheNewWin.moveTo(50,50);
Tirtha Do not go where the path may lead, go instead where there is no path and leave a trail. Author: Ralph Waldo Emerson (1803-82), American writer, philosopher, poet, essayist
-
hi... can anybody help in setting the location and height and width for the poppage this my poppage script Page.ClientScript.RegisterStartupScript(Me.[GetType](), "openpopup", "window.open('../Page2.aspx','test','scrollbars=2');") thank u. siri
siri
Use height, width for setting height and top left attribute to set the position.....
Arun Singh Noida.