PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

How can I control the position where I open a new browser?

 
 
=?Utf-8?B?UGV0ZXIgRXZlcmFlcnQ=?=
Guest
Posts: n/a
 
      19th Apr 2005
I can open a new browser and set the size of the new browser. However I can
not find where I can control the position. I would like to open a new browser
without any toolbars which covers the whole screen. I sized the browser 1024
by 740 so the bottom task bar stays vissible. However I can not get the left
hand corner to automatically take position 0,0. Is there a way to control
this?
 
Reply With Quote
 
 
 
 
Trevor L.
Guest
Posts: n/a
 
      19th Apr 2005
Would this work

<SCRIPT type="text/javascript">
window.open(" url ","...name...","toolbar=no, location=no,
directories=no, status=no, menubar=no, scrollbars=no,
resizable=no,width=1024, height=740")
window.moveTo(0,0);
</SCRIPT>

or use JIMCO's Spawn and set the top left to 0,0
http://www.jimcoaddins.com/Default.aspx

--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au/

Peter Everaert wrote:
> I can open a new browser and set the size of the new browser. However
> I can not find where I can control the position. I would like to open
> a new browser without any toolbars which covers the whole screen. I
> sized the browser 1024 by 740 so the bottom task bar stays vissible.
> However I can not get the left hand corner to automatically take
> position 0,0. Is there a way to control this?



I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html


 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      19th Apr 2005

Actually I found that you can specify position in the window.open as top=0,
left=0

e.g.
window.open(" url ","...name...","toolbar=no, location=no,
directories=no, status=no, menubar=no, scrollbars=no,
resizable=no,width=1024, height=740,top=0,left=0")

http://www.webreference.com/js/column7/attributes.html
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au

Trevor L. wrote:
> Would this work
>
> <SCRIPT type="text/javascript">
> window.open(" url ","...name...","toolbar=no, location=no,
> directories=no, status=no, menubar=no, scrollbars=no,
> resizable=no,width=1024, height=740")
> window.moveTo(0,0);
> </SCRIPT>
>
> or use JIMCO's Spawn and set the top left to 0,0
> http://www.jimcoaddins.com/Default.aspx
>
>
> Peter Everaert wrote:
>> I can open a new browser and set the size of the new browser. However
>> I can not find where I can control the position. I would like to open
>> a new browser without any toolbars which covers the whole screen. I
>> sized the browser 1024 by 740 so the bottom task bar stays vissible.
>> However I can not get the left hand corner to automatically take
>> position 0,0. Is there a way to control this?

>
>
> I choose Polesoft Lockspam to fight spam, and you?
> http://www.polesoft.com/refer.html



 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      19th Apr 2005
That type of scripting is dangerous (width=1024, height=740)
If the users screen resolution is less than 1024 you have created a window part of which is not viewable or scrollable

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Trevor L." <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)...
|
| Actually I found that you can specify position in the window.open as top=0,
| left=0
|
| e.g.
| window.open(" url ","...name...","toolbar=no, location=no,
| directories=no, status=no, menubar=no, scrollbars=no,
| resizable=no,width=1024, height=740,top=0,left=0")
|
| http://www.webreference.com/js/column7/attributes.html
| --
| Cheers,
| Trevor L.
| Website: http://tandcl.homemail.com.au
|
| Trevor L. wrote:
| > Would this work
| >
| > <SCRIPT type="text/javascript">
| > window.open(" url ","...name...","toolbar=no, location=no,
| > directories=no, status=no, menubar=no, scrollbars=no,
| > resizable=no,width=1024, height=740")
| > window.moveTo(0,0);
| > </SCRIPT>
| >
| > or use JIMCO's Spawn and set the top left to 0,0
| > http://www.jimcoaddins.com/Default.aspx
| >
| >
| > Peter Everaert wrote:
| >> I can open a new browser and set the size of the new browser. However
| >> I can not find where I can control the position. I would like to open
| >> a new browser without any toolbars which covers the whole screen. I
| >> sized the browser 1024 by 740 so the bottom task bar stays vissible.
| >> However I can not get the left hand corner to automatically take
| >> position 0,0. Is there a way to control this?
| >
| >
| > I choose Polesoft Lockspam to fight spam, and you?
| > http://www.polesoft.com/refer.html
|
|


 
Reply With Quote
 
Andrew Murray
Guest
Posts: n/a
 
      20th Apr 2005
try the addin "Spawn" from www.jimcoaddins.com - it does all the work of
creating the code for a popup window including x and y coordinates for
positioning the window (or centring it on the screen).

"Peter Everaert" <Peter (E-Mail Removed)> wrote in message
news:9FF09526-DE08-424D-BAD5-(E-Mail Removed)...
>I can open a new browser and set the size of the new browser. However I can
> not find where I can control the position. I would like to open a new
> browser
> without any toolbars which covers the whole screen. I sized the browser
> 1024
> by 740 so the bottom task bar stays vissible. However I can not get the
> left
> hand corner to automatically take position 0,0. Is there a way to control
> this?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't open database in browser control Parrot Microsoft C# .NET 6 30th Jul 2008 02:40 PM
How to position 'onclick open browser' behaviour to middle of scr =?Utf-8?B?RHJhZ29uczAwMDE=?= Microsoft Frontpage 2 24th May 2006 11:42 AM
Absolute position of Elements within a web browser activex control chris@logicalcreations.co.uk Microsoft C# .NET 0 2nd Mar 2006 03:37 PM
how to open a new browser window when clicked on a button control? buran Microsoft ASP .NET 2 9th Feb 2005 03:05 PM
How to associate IE to open tiff image in browser with custom control or application Irfan Ahmed Microsoft Windows 2000 Registry Archive 0 17th Mar 2004 03:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:31 PM.