.NET Forum / ASP.NET / General / August 2007
Maximizing the Browser
|
|
Thread rating:  |
Ross Culver - 30 Aug 2007 18:49 GMT This is an embarrasingly simple question, but how do you maximize the browser when you've clicked a hyperlink that has a target of '_blank'?
Thanks.
Ross
Laurent Bugnion, MVP - 30 Aug 2007 20:03 GMT Hi,
> This is an embarrasingly simple question, but how do you maximize the > browser when you've clicked a hyperlink that has a target of '_blank'? > > Thanks. > > Ross You cannot, and it would be quite rude to do that anyway. I have 1920x1200 on two screens. You think I really want your page to take all that space?
HTH, Laurent
 Signature Laurent Bugnion [MVP ASP.NET] Software engineering, Blog: http://www.galasoft.ch PhotoAlbum: http://www.galasoft.ch/pictures Support children in Calcutta: http://www.calcutta-espoir.ch
Ross Culver - 30 Aug 2007 20:15 GMT Laurent,
I appreciate what you're saying. I wouldn't maximize the browser for every hyperlink. But in some case, like this one, it's a true web application: an order entry system, where opening a new browser is like opening a new window in a Windows application. Users don't want to have to maximize the screen everytime they open this application.
But if it can't be done, it can't be done.
Thanks,
Ross
> Hi, > [quoted text clipped - 10 lines] > HTH, > Laurent Mark Rae [MVP] - 30 Aug 2007 20:46 GMT > But if it can't be done, it can't be done. It can be done fairly easily but, as Laurent says, will achieve nothing other than to really irritate your users...
 Signature Mark Rae ASP.NET MVP http://www.markrae.net
Ross Culver - 30 Aug 2007 22:48 GMT You don't know my users.
So, how is that done?
>> But if it can't be done, it can't be done. > > It can be done fairly easily but, as Laurent says, will achieve nothing > other than to really irritate your users... Mark Rae [MVP] - 30 Aug 2007 22:53 GMT >>> But if it can't be done, it can't be done. >> >> It can be done fairly easily but, as Laurent says, will achieve nothing >> other than to really irritate your users...
> So, how is that done? http://www.google.co.uk/search?sourceid=navclient&aq=t&hl=en-GB&ie=UTF-8&rlz=1T4 GGIH_en-GBGB220GB220&q=JavaScript+window+maximize
 Signature Mark Rae ASP.NET MVP http://www.markrae.net
Ross Culver - 31 Aug 2007 16:27 GMT Perfect! Thanks, again, Mark. I thank you, my users thank you.
>>>> But if it can't be done, it can't be done. >>> [quoted text clipped - 4 lines] > > http://www.google.co.uk/search?sourceid=navclient&aq=t&hl=en-GB&ie=UTF-8&rlz=1T4 GGIH_en-GBGB220GB220&q=JavaScript+window+maximize John Timney (MVP) - 30 Aug 2007 21:23 GMT The code is probably just this:
<a target="_blank" href="javascript:window.moveTo(0,0); window.resizeTo(screen.width,screen.height);location.href ='http://www.microsoft.com'">Click me</a>
Doesn't mean its a good idea though - not a good user experience to do this!
Regards
John Timney (MVP) http://www.johntimney.com http://www.johntimney.com/blog
> This is an embarrasingly simple question, but how do you maximize the > browser when you've clicked a hyperlink that has a target of '_blank'? > > Thanks. > > Ross Larry Bud - 31 Aug 2007 17:13 GMT On Aug 30, 4:23 pm, "John Timney \(MVP\)" <x_j...@timney.eclipse.co.uk> wrote:
> The code is probably just this: > [quoted text clipped - 3 lines] > > Doesn't mean its a good idea though - not a good user experience to do this! I don't necessarily agree. If Ross is writing an app in which the only thing the CSRs do is order entry, it's a perfectly good solution, IMO.
John Timney (MVP) - 31 Aug 2007 18:28 GMT OK, I can accept that - but if thats the case it may be better to put the browser in Kiosk mode and be done with it
Regards
John Timney (MVP) http://www.johntimney.com http://www.johntimney.com/blog
> On Aug 30, 4:23 pm, "John Timney \(MVP\)" > <x_j...@timney.eclipse.co.uk> wrote: [quoted text clipped - 10 lines] > only thing the CSRs do is order entry, it's a perfectly good solution, > IMO. Ross Culver - 31 Aug 2007 20:07 GMT John, What exactly do you mean by 'kiosk mode'? Ross
> OK, I can accept that - but if thats the case it may be better to put the > browser in Kiosk mode and be done with it [quoted text clipped - 19 lines] >> only thing the CSRs do is order entry, it's a perfectly good solution, >> IMO. Mark Rae [MVP] - 31 Aug 2007 20:26 GMT >> OK, I can accept that - but if thats the case it may be better to put the >> browser in Kiosk mode and be done with it
> What exactly do you mean by 'kiosk mode'? http://www.google.co.uk/search?sourceid=navclient&hl=en-GB&ie=UTF-8&rlz=1T4GGIH_ en-GBGB220GB220&q=%22kiosk+mode%22
 Signature Mark Rae ASP.NET MVP http://www.markrae.net
Free MagazinesGet these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...
|
|
|