473,586 Members | 2,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

URL to open in maximized window state within current window

200 New Member
Hi, I need help please!

I have a link on a page, where i wont it open in maximized window state.

the "_parent" allows to open in current window, but the maindow is never at maxmize state.
I want the url to open in current window which it does but also force to open in maxize window state:

Expand|Select|Wrap|Line Numbers
  1. <td rowspan="2"><a href="http://srv8-z199/fcFlow/Home.aspx" target="_parent"> height="127"></a></td>
  2.  
Regards
Nov 20 '08 #1
3 2897
acoder
16,027 Recognized Expert Moderator MVP
You can resize the browser using the window.resizeTo () method, but ensure you only use it when the user will thank you for it. It can be extremely irritating to browse to a site which then decides to resize your browser for you.
Nov 20 '08 #2
ismailc
200 New Member
Thank You, This is great - The url opens application.
Two minded in doing in now though... :)
Nov 21 '08 #3
acoder
16,027 Recognized Expert Moderator MVP
You're welcome and I'm happy that I've got you thinking. For an intranet application, a select user base, controlled environment, sure, go ahead. The users know what to expect and there's no problem. On the wider WWW, a visitor stumbles upon your site only to have their browser "hijacked" most likely means that you'll never see them again, though it can of course be avoided (with the NoScript Firefox addon, for example, or just simply having JavaScript disabled).
Nov 21 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

10
6724
by: David McCulloch | last post by:
The following code opens a new window, but the "resizeTo" doesn't resize it. Why not? (Don't ask why I simply did not open the window with the new size....my original problem was how to open a new window with maximized dimensions!) FYI, I uploaded the same code to: http://tosasoft.com/test/open.htm ...
18
12665
by: Simula | last post by:
I am developing an HTML javascript application and I want to preserve state in a way that can be book-marked. I chose HTML anchors as a means of preserving state. When the application changes state, the HTML page URL would change from default.html to default.html#stateA. example: http://pearstudios.com/javascript/locationHashAndFlash.html ...
3
3788
by: Bob | last post by:
I am trying to create a popup page (to act as a menu) from a parent page. When the parent page (index.jsp) calls my popup function (see below) it will properly open the correct size browser window only if the browser that index.jsp is opened in is NOT maximized. If index.jsp is maximized and then I click on the test link that fires off the...
6
8988
by: Mateo | last post by:
Hi! I tried to open page in new window with window.open(...) method. open() method supports fullscreeen mode, but I would like to open new maximized window with tiltle bar only.... Any idea how to do this? Can I maximize window from current page after it is opened with window.open?
2
6812
by: tod | last post by:
Mine is just a pet peeve. But ohhhh what a peeve it is. Any time I open Access, it opens to half a window. I have to maximize the application window, then also have to maximize the database window. Is there a registry setting or other trick that will have everything open maximized? tod
6
25673
by: lauren quantrell | last post by:
I have a command button on a continuous subform and I want the user to click it to open a small popup form that opens in the position of the mouse (which is the same as the position of the command button on each record of the continuous subform.) I'm hoping someone can tell me how to do this. Thanks, lq
1
2174
by: 1388-2/HB | last post by:
For vb2005. At design time I set the main form's WindoState to Maximized and I disabled the Maximize box. The user can Minimize the application only. When the program launches, the form is indeed Maximized. However: 1. The Maximized state of my form does not take the Windows taskbar state into consideration. The form behaves as if the...
4
10135
by: jeremiah johnson | last post by:
Hi all. I'm writing a small utility that can move a window from one of my monitors to the other, when a system hotkey is pressed. I want to keep the windowstate (maximized or normal) when the window is moved, but I need to know the windowstate in order to move it properly. I'm using some P/Invoke calls to get the window handles and the...
1
9440
by: Marc the Demi-Programmer | last post by:
I am overriding WncProc to make sure my form's location stays within specified parameters. Basically, it has to stay at the top of the screen and not be off to either of the sides. All that works when the form is in its minimal size. However, when the form is maximized using the appropriate button the code that is supposed to set the...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.