🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.imageready.windows
8 messages
8 total messages Started by Merritt_Palminteri Mon, 26 Jul 2004 17:41
fixed browser window
#26
Author: Merritt_Palminteri
Date: Mon, 26 Jul 2004 17:41
1 lines
1077 bytes
Not sure if this is just a coding question: I'd like to predetermine the size of any browser window that my web site will open into. Is that possible? I've been using a common 500 x 600 pixel template for all pages. Can I order every web site to open under those parameters? I don't want all that empty space.
Re: fixed browser window
#27
Author: LenHewitt
Date: Tue, 27 Jul 2004 07:31
5 lines
1013 bytes
Merritt,

If you start re-sizing the user's main browser window, folks will leave your
site in droves! People don't like you messing with the window size THEY have
a preference for.
Re: fixed browser window
#41
Author: Merritt_Palminteri
Date: Wed, 18 Aug 2004 13:34
1 lines
762 bytes
well, how about pop-up windows? i'd like those to appear smaller spontaneously, so that the user doesnt have to resize the secondary browser window everytime.
Re: fixed browser window
#43
Author: LenHewitt
Date: Wed, 18 Aug 2004 15:36
12 lines
1166 bytes
Merritt,

>>well, how about pop-up windows? <<

You can open a child window at whatever size you choose.

All you need to do is call a JavaScript function whose code is:

window.open("yourfile.html",winName,features)


where  features is width='width in pixels', height='height in pixels'
Re: fixed browser window
#42
Author: dave_milbut
Date: Wed, 18 Aug 2004 16:10
30 lines
1449 bytes
first tell us how you're currently opening the window and then we can tell you how to configure it.

here's a sample:

in the body you want something like this (using a button example):

<INPUT type="button" onClick="startWindow('http://members.aol.com/aikodude/links1.html');" value="Open links window">

------

this goes into the <head> section:



 
function startWindow(loc)  
{ 
    newWin = window.open("", "MessageBox", 'toolbar=0,location=0,directories=0,status=1,menubar=0, scrollbars=1, resizable=1, width=700, height=250'); 
    if (newWin != null) { 
        if (! newWin.opener) newWin.opener = self; 
        newWin.location = loc;  
    } 
} 




here's a link to the window.open function listing the options:

 <http://www.npac.syr.edu/projects/tutorials/docs/Netscape/JSRef4/win1.htm#1152528>
Re: fixed browser window
#44
Author: Merritt_Palminteri
Date: Wed, 18 Aug 2004 17:14
6 lines
1053 bytes
well, i have a splash page which opens into a main page, which acts as a directory. the smaller pages would open through the directory (i would prefer otherwise, but the files have become too large in imageready for my computer to convert into html format).
the smaller pages are each slideshows.

So I should edit the html for the directory to determine the size of the smaller pages?

I am obviously not a web designer. I really appreciate your help.
Re: fixed browser window
#45
Author: LenHewitt
Date: Thu, 19 Aug 2004 17:41
17 lines
1104 bytes
In the head section of your main page you need a javascript spmething like:

<script type="text/javascript">
<!--

function newWindow(url,winname,features){
 window.open(url,winname,features)
}

-->
</script>

Then your 'directory links' would be coded as:

<A href="#" onClick="newWindow('yourlinkURL','yourwindowname','height=300' width=400'>Your link text

But this really is nothing to do with I,ageReady and you should ask over in the GoLive forum or Website Design sub-forum of the GoLive forum
Re: fixed browser window
#50
Author: Merritt_Palminteri
Date: Mon, 30 Aug 2004 18:44
1 lines
668 bytes
thanks
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads