Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: iframes

  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Posts
    264
    Thanks
    0
    Thanked 0 Times in 0 Posts

    iframes

    Hello everyone, I was wondering about I-frames, and when I see my I-frame on another computer it looks much biggerm, I know its because of screen resolution, and I know that there is a redirect for that but before I go copying all my files agian can you help me?


    Thanks
    Please visit http://www.thickandthinpizza.com and tell me what you think.

  • #2
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    size your pages using percentages, instead of fixed numbers. that way, your pages will scale, and look mostly the same across different resolutions.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #3
    Regular Coder
    Join Date
    Aug 2002
    Posts
    264
    Thanks
    0
    Thanked 0 Times in 0 Posts
    with i-frames????
    Please visit http://www.thickandthinpizza.com and tell me what you think.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can size IFRAMES with percentages; but percentages aren't always appropriate.

    Imagine this - if you have a monitor at 1152 x 864 and you open a window which is roughly 1/4 the screen - that's how big your TV is. Except obviously, your TV is *physically* bigger than that.

    What I'm saying is think about the numbers - the pixel dimensions of your images, iframes or whatever, and use those as a guide. Higher resolutions will see the same number of pixels, but fit more of them on the screen.

    As long as you bear in mind the practical minimum - which amounts to 750x450 for people on 800x600 monitors (including the window chrome) - you can't go far wrong. Pixel-defined layouts will take up less of the page at higer res, whereas percentage defined layouts will stretch
    Last edited by brothercake; 09-05-2002 at 11:29 PM.

  • #5
    Regular Coder
    Join Date
    Aug 2002
    Location
    Sacramento, California
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Error in your scripts

    While checking out your page I recieved an error apon mouseover
    your menu:

    Code:
    <br>
    <script language = "javascript">
    <script language = "javascript">
    <!--
    imagename0 = new Image();
    imagename0.src = "HomeB.png";
    imagename1 = new Image();
    imagename1.src = "Home.png";
    imagename2 = new Image();
    imagename2.src = "MenuB.png";
    imagename3 = new Image();
    imagename3.src = "Menu.png";
    imagename4 = new Image();
    imagename4.src = "ContactUsB.png";
    imagename5 = new Image();
    imagename5.src = "ContactUs.png";
    imagename6 = new Image();
    imagename6.src = "StoreHoursB.png";
    imagename7 = new Image();
    imagename7.src = "StoreHours.png";
    imagename8 = new Image();
    imagename8.src = "JobApplicationB.png";
    imagename9 = new Image();
    imagename9.src = "JobApplication.png";
    imagename10 = new Image();
    imagename10.src = "DirectionsB.png";
    imagename11 = new Image();
    imagename11.src = "Directions.png";
    imagename12 = new Image();
    imagename12.src = "UserReviewsB.png";
    imagename13 = new Image();
    imagename13.src = "UserReviews.png";
    imagename14 = new Image();
    imagename14.src = "CouponsB.png";
    imagename15 = new Image();
    imagename15.src = "Coupons.png";
    
    //-->
    </script>
    you have two begining script tags taking one out should fix the error! other than that i thought it looked pretty decent.
    Hairynugs


    Simple is best.


  •  

    Posting Permissions

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