I don't feel 50 Forums

Go Back   I don't feel 50 Forums > COMPUTERS > Web Design and Graphics Room.

Web Design and Graphics Room. Thread, set a pre determined browser window size

hi guys. can u tell me the easiest way to make the browser window open at a certain pixel size ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 15th-March-2007, 06:47 PM
Yorkshire Carper's Avatar
Yorkshire Carper Yorkshire Carper is offline
 
Join Date: Nov 2002
Location: South Yorkshire
Posts: 164
Default set a pre determined browser window size

hi guys.
can u tell me the easiest way to make the browser window open at a certain pixel size when I click a text link on a web page I'm working on?
craig
__________________
Please feel free to visit my personal carp fishing website at www.ayorkshirecarper.co.uk
or the sites for my Sheffield based Guttering and Roofing business's at www.a1gutterclean.co.uk and www.a1roofingservices.co.uk
Reply With Quote
  #2  
Old 15th-March-2007, 08:10 PM
bunnysan's Avatar
bunnysan bunnysan is offline
 
Join Date: Sep 2002
Location: Stockport
Posts: 703
Default

I can't tell you how to do that without a bit of research but I wonder why you'd want to. You'd get very different sized windows depending on the screen resolution. On high resolution screens the window might be too small but on low resolution screens it might be too large.
__________________
Chris
___________________________________
AMD Sempron 2800+; 2048Mb ram; Windows XP SP3; Firefox; Thunderbird; Open Office; Online Armor Firewall, Nod32 Antivirus, Virgin Media cable broadband, Skype, Trillian
Reply With Quote
  #3  
Old 15th-March-2007, 09:46 PM
CPS's Avatar
CPS CPS is offline
 
Join Date: Jan 2003
Location: Suffolk/ Gender Male
Posts: 1,444
Default

This is by way of explanation in two parts.
This first part explains web design relating to screen resolution.
In my next post possibly on the weekend I will post,
how to preset the size of a browser window on a link.

Part One

The standard resolution for designing a website is 800x600.
However due to the use of higher resolutions it may be better to use 1024x768.
The above are the most popular screen resolutions used.
If you design for a higher resolution, the risk of having to scroll side to side increases.
The size of a page on a link is determined by its design and the resolution used by the viewer.
A professional web designer can use code to detect the resolution of the monitor the page is being viewed on,
and adjust it accordingly.
This is beyond most of us amateurs and involves a lot extra code work to achieve.
The way us amateurs can achieve a similar effect is to use a "Table" set to a width of 100%.
You put your webpage code within the "Table",
this means the page will expand to fit a higher screen resolution.
The basic table code you can use.
To adjust other aspects like a border change the zero for a 1 or higher number and see the effect.
Zero means no effect (switched off).


Code:
<body>

<table hight="100%"width="100%" border="0" cellspacing="0" cellpadding="0">

    <tr>
      <td>

Your webpage goes here between the TD Tags


 </td>
    </tr>
  
</table>

</body>
Part Two to follow
__________________
Knowledge is not knowing all the answers,
but knowing where to find the answers.

www.smitheram.co.uk

Moderator of, Web Design/Graphics Room.
P4-XP pro-IE7-B/B-ZA-AVG
Reply With Quote
  #4  
Old 16th-March-2007, 10:07 AM
Yorkshire Carper's Avatar
Yorkshire Carper Yorkshire Carper is offline
 
Join Date: Nov 2002
Location: South Yorkshire
Posts: 164
Default

Thanx for that CPS will await 'part 2'.

Meantime I found the following site that gives instructions for what we are discussing:

http://javascript.about.com/library/blpopup1a.htm

And yet even though I definitely have java script enabled in my IE browser, the window refuses point blank to open in any other dimension I set it as except for the 'full window' size.

I am at a loss as to what to do to make this work following the attached link's instructions...

Maybe there is sumthing else preventing it ie a pop up stopper or sumthing, am clutching at straws?

craig
__________________
Please feel free to visit my personal carp fishing website at www.ayorkshirecarper.co.uk
or the sites for my Sheffield based Guttering and Roofing business's at www.a1gutterclean.co.uk and www.a1roofingservices.co.uk
Reply With Quote
  #5  
Old 16th-March-2007, 05:18 PM
Yorkshire Carper's Avatar
Yorkshire Carper Yorkshire Carper is offline
 
Join Date: Nov 2002
Location: South Yorkshire
Posts: 164
Default

Hi guys
Ive been messing round with another idea to try and work out the best way to display some customer references I have on the website I am messing about with for the business and that is with the use of layers.
I have included an address below of a basic webpage with a scanned reference included in it which is within a 'layer' , what I want to know now is how to make the 'Next reference...' text into a link which will open another different scanned reference image that I have saved, inside that layer box and so on and so forth will all my scanned customer references?

http://www.a1roofingservices.co.uk/references.html

cheers
craig
__________________
Please feel free to visit my personal carp fishing website at www.ayorkshirecarper.co.uk
or the sites for my Sheffield based Guttering and Roofing business's at www.a1gutterclean.co.uk and www.a1roofingservices.co.uk
Reply With Quote
  #6  
Old 17th-March-2007, 12:02 PM
CPS's Avatar
CPS CPS is offline
 
Join Date: Jan 2003
Location: Suffolk/ Gender Male
Posts: 1,444
Default

OK Second part.
I will look for other examples, the ones on the link below are for pictures.
As stated earlier a scanned page is a picture, see if any are what you are looking for.
The contents of the new window can be anything really.

http://www.idf50.co.uk/clubhouse/viewtopic.php?t=17973

Also go to this link below, scroll down to the post by Skyrunner.
You will see the full code for controlling a new webpage and its size.

http://www.idf50.co.uk/clubhouse/vie...hlight=#261058

Modify it to suit your needs.
__________________
Knowledge is not knowing all the answers,
but knowing where to find the answers.

www.smitheram.co.uk

Moderator of, Web Design/Graphics Room.
P4-XP pro-IE7-B/B-ZA-AVG
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

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


All times are GMT. The time now is 06:08 AM.


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