![]() |
|
|||||||
hi guys. can u tell me the easiest way to make the browser window open at a certain pixel size ...
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
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>
__________________
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 |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
||||
|
||||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|