HighDots Forums  

Set window size

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Set window size in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
xmlmagician webforumsuser@macromedia.com
 
Posts: n/a

Default Set window size - 01-13-2004 , 05:11 AM






Dear all

i would like to ask how is it possible to set the window size to 800x600....i know that when you create a new web page you can go on the bottom right hand side and adjust the size....when i click to that arrow allow the selections are greyed- out and the only selection available is "edit size" and 1043x417 which i guess is the size of my current working window. Thank you in advance for your help



Reply With Quote
  #2  
Old   
Miguel
 
Posts: n/a

Default Re: Set window size - 01-13-2004 , 05:20 AM






Hi,
The selections are greyed when the window of your document is maximized. Restore the size of your
document and the selections will be availables.

Miguel


"xmlmagician" <webforumsuser (AT) macromedia (DOT) com> escribió en el mensaje
news:bu0g89$6c8$1 (AT) forums (DOT) macromedia.com...
Quote:
Dear all

i would like to ask how is it possible to set the window size to 800x600....i know that when you
create a new web page you can go on the bottom right hand side and adjust the size....when i click
to that arrow allow the selections are greyed- out and the only selection available is "edit size"
and 1043x417 which i guess is the size of my current working window. Thank you in advance for your
help
Quote:




Reply With Quote
  #3  
Old   
Barry Pearson
 
Posts: n/a

Default Re: Set window size - 01-13-2004 , 08:04 AM



Miguel wrote:
Quote:
Hi,
The selections are greyed when the window of your document is
maximized. Restore the size of your document and the selections will
be availables.
Is that just in the later versions? I use Dreamweaver 4 and the selections are
available even if the document window is maximised.

Quote:
"xmlmagician" <webforumsuser (AT) macromedia (DOT) com> escribió en el mensaje
news:bu0g89$6c8$1 (AT) forums (DOT) macromedia.com...
Dear all

i would like to ask how is it possible to set the window size to
800x600....i know that when you
create a new web page you can go on the bottom right hand side and
adjust the size....when i click to that arrow allow the selections
are greyed- out and the only selection available is "edit size" and
1043x417 which i guess is the size of my current working window.
Thank you in advance for your help
--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/




Reply With Quote
  #4  
Old   
babaroberts webforumsuser@macromedia.com
 
Posts: n/a

Default Re:Set window size - 01-13-2004 , 09:34 AM



how about this little gem...
<script language="JavaScript" type="text/javascript">
<!--
function resize_screen(){
win_width = 800
win_height = 600
x_coord = ((screen.width - win_width) / 2)
y_coord = ((screen.height - win_height) / 2)
window.moveTo(x_coord,y_coord)
window.resizeTo(win_width,win_height)
}
//-->
</script>

<body onLoad="resize_screen();">



Reply With Quote
  #5  
Old   
xmlmagician webforumsuser@macromedia.com
 
Posts: n/a

Default Re:Set window size - 01-13-2004 , 10:00 AM



That is pure magic thanks...although it is not exactly what i wanted....i was thinking if i could set up the size of the actuall dreamweaver window (the one that i am working on) at 800x600 instead of 1043x408.



Reply With Quote
  #6  
Old   
mick_white
 
Posts: n/a

Default Re: Set window size - 01-13-2004 , 11:48 AM



Not much of a gem really.
Why not:

function resize_screen(){
moveTo((screen.width-800)/2);
resizeTo(800,600)
}

?
"resize_screen", is a misnomer, you're not actually resizing the screen.
Mick


"babaroberts" webforumsuser (AT) macromedia (DOT) com wrote:
Quote:
how about this little gem...

script language="JavaScript" type="text/javascript"
!--
function resize_screen(){
win_width = 800
win_height = 600
x_coord = ((screen.width - win_width) / 2)
y_coord = ((screen.height - win_height) / 2)
window.moveTo(x_coord,y_coord)
window.resizeTo(win_width,win_height)
}
//--
/script

body onLoad="resize_screen();"





Reply With Quote
  #7  
Old   
xmlmagician webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Set window size - 01-13-2004 , 12:02 PM



yes it is the latest version....when i minimize it or try to re-configure it makes no difference....the selections are still geyed



Reply With Quote
  #8  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Set window size - 01-13-2004 , 12:11 PM



babaroberts webforumsuser wrote:

Quote:
how about this little gem...
script language="JavaScript" type="text/javascript"
!--
function resize_screen(){
[...]
Thankfully this doesn't work in my browsers.

I hate it when people try to tell me what window size I should use.
It's _my_ window, not yours!

Micha


Reply With Quote
  #9  
Old   
mick_white
 
Posts: n/a

Default Re: Set window size - 01-13-2004 , 12:46 PM



I concur.
Mick

Michael Fesser wrote:
Quote:
babaroberts webforumsuser wrote:


how about this little gem...
script language="JavaScript" type="text/javascript"
!--
function resize_screen(){
[...]


Thankfully this doesn't work in my browsers.

I hate it when people try to tell me what window size I should use.
It's _my_ window, not yours!

Micha


Reply With Quote
  #10  
Old   
babaroberts webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Set window size - 01-14-2004 , 05:00 AM



i never said it was a good idea!!!



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.