Solved

Different Resulution(pixle width) Between Developer PC and Client Browser PC

Posted on 2000-03-21
4
249 Views
Last Modified: 2013-12-25
I write html files on a pc with resulution of 1024x768.When I read it in another pc with IE5 and resulution of 800x600 it occupies more than full screen and I hav to nevigate with scroll bars to see the whole document.Is ther a way in design time to prevent that?

Thanks In Advance

Izack Lesher
0
Comment
Question by:lesher
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
damianosky earned 200 total points
ID: 2644150
The Javascript 1.2 object Screen has the properties:

availHeigth : the available height of the screen
availWidth : the available width of the screen
width : the total width of the screen, in pixels
height: the total height of the screen, in pixels

wich maintain information about the screen on which the browser is displayed.

You can access the e.g.:

var f = screen.height;

and so on.



0
 
LVL 1

Expert Comment

by:damianosky
ID: 2644168
There are also some other usefull properties of the screen object:

screen.availLeft : the first available pixel on the left

screen.availTop : the first available pixel on the top

screen.colorDepth: the depth of the browser's color palette

screen.pixelDepth: the bits-per-pixel value for the screen

Javascript programs can use this information to optimize output. Keep in min, however, that this are properties of the object "screen" which is an object of Javascript 1.2 specification.

Older browsers can access this object and there's no other method to get these informations.

I suggest you to check browser compatibility through the code i've already posted here in Exp-Exc in Front Page topic for the question "IE and Netscrape....".


0
 

Author Comment

by:lesher
ID: 2644288
Regarding your answer,Can I control these parameters inside Front Page Editor 2000 with GUI or do I have to code it in HTML?

Thanks again

Izack Lesher
0
 
LVL 1

Expert Comment

by:damianosky
ID: 2644332
If you mean that in the preview mode you can already use the properties, the answer is yes.

In fact, FrontPage use in preview mode tha same activeX (or COM component, if you prefer so) of Internet Explorer (5.0). Infact, when you install Office 2000, you must update to Explorer 5.0.

On the contrary, i don't remember if there is a wizard which allow you to control these properties (and i've never searched for it, honestly) like some properties of CSS.

At a first look, i don't think there's one, also because this is a Javascript feature, and also with CSS FP2000 don't allow much easy control.


0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I am having a  Git   issue 6 63
CSS - Centering an image 2 24
SP inserts data with order number, then push the rest one order up 11 17
calculate days away 11 24
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question