PDA

View Full Version : Intial Window Size


Rafton
05-14-2003, 07:12 PM
How do I position and size my intila Index.htm page? :confused:

Nightfire
05-14-2003, 07:33 PM
You don't. You leave that to the user :)

liorean
05-14-2003, 07:37 PM
You have the methods resizeBy, resizeTo, moveTo, moveBy, but I'd suggest you forget it. They are in all cases I've seen them used very irritating and not adding a thing to the attractiveness of your web site. They are likely to directly repell quite a few of the users that would be interested in the content of your site just by being used.

Rafton
05-14-2003, 08:53 PM
But if the window is not set in the right place or size then I get a scroll bar next to the navugation frame that I don't want. Any suggetions then?:confused:

liorean
05-14-2003, 08:59 PM
Use css, overflow: hidden; or overflow: auto;.

Or, see to that your design is fluid and always shrinks appropriately. (This is the best choice if you ask me, but the hardest to design)

Vladdy
05-14-2003, 09:22 PM
And get rid of frames to begin with.

Rafton
05-15-2003, 09:49 AM
So what do you recommend Vladdy?
I don't want to reload the links each time you visit a section but I need to make it easy to navigate for children and easy on the eye for them as well. :confused:

Vladdy
05-15-2003, 12:16 PM
If your page is structured correctly the links would not account for more than a KB. If your page is structured correctly and the position of the links relative to the browser window does not change when going from one page to another, you hardly see a blink. Any other reason for not wanting to reload the links???
Frames do not make navigation easier, on contrary they make it impossible for those who use browsers that do not support them. Same goes for the serch engines.

ronaldb66
05-15-2003, 12:22 PM
I need to make it easy to navigate for children and easy on the eye for them as well
That has nothing to do with scrollbars, window sizes or frames (or no frames) and everything with good design: intuitive layout, clear navigation, proper color use and ample contrast.
Scrollbars are user facilities; leave them alone.

Rafton
05-15-2003, 05:11 PM
but I don't need the scrollbar there if the size is correct. So how do I get the size of the window corect upon loading /index.htm?

Vladdy
05-15-2003, 05:20 PM
You do not. You design in such a way that your site is functional regradless of the browser's client window size.
To have a block element that would add a scrollbar only when the content exceeds the elements size set overflow attribute to auto.
Correct window size is the one chosen by the USER. Correct design is the one that adjusts to it.

zoobie
05-15-2003, 07:33 PM
<insight> This is how I design pages. First, I open the browser all the way including the statusbar. Then, I try to fit everything on the screen as a single page because I don't want the vert or horiz scrollbar to show. Except for the index page which search engines like to have 300 words of relevant content, I make all my pages like this. Then, as a safeguard, I add the css overflow:auto just in case something happens at a higher resolution and will turn on the scrollbars only if needed. Since I put most pages in tables with the width set to 100%, my page displays properly in all resolutions and, save the index, no scrollbars. So, the guys above are, of course, correct. It lies solely in the page's initial design.</insight>

Rafton
05-15-2003, 08:43 PM
Ok then, taking that into consideration, look at my page and allowing for the link buttons on the left NOT to be loaded each time a new page is loaded, how would you suggest I script it then? I am not all that up to to date with java scripts and difficult coding but I am slowly trying to learn. So any help would be appreciated:) :)

Vladdy
05-15-2003, 08:46 PM
Originally posted by Rafton
Ok then, taking that into consideration, look at my page and allowing for the link buttons on the left NOT to be loaded each time a new page is loaded, how would you suggest I script it then?
Why being so stubborn on this NOT, I thought I explained why this is an unnecessary requirement.....
Actually they will be loaded only with the first page. Then the images will be pulled from cache....
... also you can try all-in-one design.... http://www.vladdy.net/Demos/ContentSlider.html

ronaldb66
05-16-2003, 07:45 AM
Vladdy,

that content slider is sóóó cool... great stuff! :thumbsup:

Rafton
05-16-2003, 09:59 AM
Vladdy:thumbsup:,
The all in one design is great. Thankyou for showing me. I have two questions though. I have created a page while trying to workout this code. It is at http://geocities.com/jaksco2000/test.htm . I can't work out how to get rid of the bottom white border/space.
Also I have all the pages I want to put into the CONTENT section where it now says 'Page ! Blah Blah' etc, do I just put in the name of the page in the bottom DIV section? Could you please direct to actually how and where to put those pages.
I did know that you can do almost anything with pages nowadays but actually how to do it was and still is way beyond my creative abilities. Thankyou for this great idea.

Jason :)

Vladdy
05-16-2003, 01:05 PM
Do not see any white space with IE6, what browser are you using???

Also, why add banner in every "page" content when it can be placed in a "fixed" block on top of the page (just like the menu is on the left).

It looks like you figured the page placement.

Just one word of caution: I designed this concept for small (3-6 mostly text pages) sites. If you end up with a large single file, it will take too long to load and this will cost you some visitors.

Rafton
05-16-2003, 03:59 PM
Vladdy,
I am using Mac IE5.5 but it doesn't work on Safari either. It is really messed up on safari and yes you are right the page takes too long to load so I have gone back to the original way but I have changed the frames % into pixels and the scrollbar doesnt come into play now. But now I am wondering how to resize a window that is opened by the following links.
<a href="game1.htm" target="_blank"PuzzleGame!!</a>
<a href="game1.htm" target="_blank"PuzzleGame!!</a>
<a href="game1.htm" target="_blank"PuzzleGame!!</a>
this window opens but I would like to have no scrollbars or address or resize or anything else. On the page the links are on it explains to close the window when you are finished playing and click another link if you wish to play another game. I was using javascript code but I couldn't get it configured to suit 3 links. ( a different .htm in a window of a different size. depending on the game chosen)
What do you recommend?:confused:

Rafton
05-16-2003, 04:03 PM
Sorry, the link info is as follows:
<a href="game1.htm" target="_blank">Puzzle Game!!</a>
<a href="game2.htm" target="_blank">Kaerutobi Game!!</a>
<a href="memory/game3.htm" target="_blank">Memory Game!!</a>

Sorry
Thanks