Results 1 to 8 of 8

Thread: specificying page size

  1. #1
    Join Date
    Jul 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question specificying page size

    If I want to make a page display 800wide x 450 high - how would I do that?

    I should know this, but I don't...

    Thanks!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    What do you mean? You want the content on the page to be within an area on the page that is 800x450 ? Or, do you want to open a new window 800x450 and display your page in that?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm helping a friend and they want the home page to open and be a specific size.

    I should rephrase my original - when people type in her URL she wants the window to open to a specific size. 800 x 450, it is an odd size and I don't think many people have screens that small, but she does and she has to scroll to see the contents.

    Thanks!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I still don't really 'get it'. If her screen is that size, she cannot open a window larger than it (800x450). If she has to scroll to see the content then it is not the window size that is the problem but, rather the way the content is laid out on the page. Forgive me for being so, whatever it is that I am being (I know it would bother me a tad), but I need to know just what the situation is before I can be of much use finding a way to make it satisfactory to your friend. In any case, to avoid scrolling on a monitor that is that size, all content on a given page must fit within the 800x450 dimensions of the monitor. Changing the window size won't have any effect upon that. As to scrolling, does your friend object to scrolling of any kind or, as many people do, only to scrolling of the horizontal variety? Most of the time I see the web with just a single scrollbar on the right for up and down, is that OK as long as there is no scrollbar at the bottom for left and right?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jul 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John - not a problem. Trust me - I'd rather you keep asking questions vs. pretend my explanation makes sense to you...

    The flash piece on the page was originally 800 x 600 - she said it spilled off her screen and she had to scroll to see it all. It was reworked to 600 x 500 - she still has to scroll.

    This is the request:

    "I'm still thinking there must be some sort of code to allow this to fit on on screen. That way it would adjust to what ever window size each person had up."

    Make more sense now?

    Thanks!

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I think I've got it now. Basically what you need is a flash object that will adjust itself to the screen size. Failing that, you need to make the flash object smaller. Another option would be to use javascript to serve up different flash objects based upon either the client's window width or their screen width. My first choice would be the first thing I mentioned. I don't know enough about flash to know, right off, if that is possible and I suspect not. How did you rework it? Did you have to make new images to insert into the flash object that were smaller? If so, we probably cannot have it resize itself. If, on the other hand, you just changed the dimensions in the object and embed code on the page and the flash object conformed, it should be relatively easy to do, either using percentage dimensions in the object/embed code if it will accept them, or making the dimensions conditional via a javascript check of the users screen and window resources. Failing either of those two, make up several swf files that we can choose from using javascript.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Jul 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John,

    I completely redid the piece, I made the images smaller and the entire movie smaller and I ended up having to use less images because the screen just wasn't big enough...

    When I tried just modifying the movie size the images were too big.

    Your suggestion "flash object that will adjust itself to the screen size" may be possible in a newer version - I'm running 5 - I didn't use it enough to justify upgrading.

    Don't know how to do this: "making the dimensions conditional via a javascript check of the users screen and window resources."

    My guess is I'll have to make up several swf files that we can choose from using javascript.

    I really appreciate all your advice/help!

    thank you!

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    OK, let me know when you have the swf's ready and I'll put together a script for you. Also, there is a good outline of the type of thing I'd use here. If you can adapt that to your purposes fine, if you need it tweaked or need some other help with it, give a holler.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •