PDA

View Full Version : iframes


thickandthin
09-05-2002, 09:44 PM
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

joh6nn
09-05-2002, 10:22 PM
size your pages using percentages, instead of fixed numbers. that way, your pages will scale, and look mostly the same across different resolutions.

thickandthin
09-05-2002, 10:26 PM
with i-frames????

brothercake
09-05-2002, 11:26 PM
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

hairynugs6382
09-06-2002, 04:36 AM
While checking out your page I recieved an error apon mouseover
your menu:


<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.