Change window attribut from a URL
-
Hello Is there any way that one can reffer to a new page with an URL and at the same time define how the window should look (eks: no toolbars, size etc). SomeFunction.TargetURL = "../PersonInfo.aspx (and define the window here?)" Spaz
-
Hello Is there any way that one can reffer to a new page with an URL and at the same time define how the window should look (eks: no toolbars, size etc). SomeFunction.TargetURL = "../PersonInfo.aspx (and define the window here?)" Spaz
I don't know if you mean pop-ups or just the next page. If you are looking to change a pop up, take a look at chapter seven of http://www.javascriptworld.com/scripts/index.html. If you want to change the appearance of the next page depending on what you click on, you could do that on the back end with ASP or something like that. The script would then generate custom CSS based on what the link asked for. For example: /page.asp?layout=1 vs. /page.asp?layout=2 In your asp code, you would have something like: <% layout=Request.QueryString("layout") If layout = 1 then %> (first style sheet) <% Else %> (second style sheet) <% End If %>
-
I don't know if you mean pop-ups or just the next page. If you are looking to change a pop up, take a look at chapter seven of http://www.javascriptworld.com/scripts/index.html. If you want to change the appearance of the next page depending on what you click on, you could do that on the back end with ASP or something like that. The script would then generate custom CSS based on what the link asked for. For example: /page.asp?layout=1 vs. /page.asp?layout=2 In your asp code, you would have something like: <% layout=Request.QueryString("layout") If layout = 1 then %> (first style sheet) <% Else %> (second style sheet) <% End If %>
thanx for the answer I allready have a windows that is open, I want to change som of the attributes off this window... I have found these commands self.resizeTo(600,300) scroll =no What I am looking for is a way to remove status line and toolbars, I want a plane window Spaz
-
thanx for the answer I allready have a windows that is open, I want to change som of the attributes off this window... I have found these commands self.resizeTo(600,300) scroll =no What I am looking for is a way to remove status line and toolbars, I want a plane window Spaz