frameset resizing

P

Psapg

Hi

Probably not the best group to post this, but i could'nt find the "right"one
so here it goes..

I have a frameset page as my index.html page and have noticed that if my
page is opened in other resolution than the one it was created in, some
pictures shift locatiuons.
If this was a non frames page i knew how to fix it...
Is there any was to automaticaly resize a frameset proportionaly to the
screen resolution?

ex: i want one picture to be exactly 1/4 of the screen, in a one-page i
would do someting like...

<img id="logo" border="0" src="Logotipo.jpg">
<script type="text/javascript">
document.getElementById("logo").width=screen.availwidth/4
document.getElementById("logo").height=screen.availheight/4
</script>

How do i do this with a frameset?
ex: banner frame be alway 1/6 of the screen height

Thanks

Paulo Gomes
 
I

Info_Junkie

Psapg said:
Hi

Probably not the best group to post this, but i could'nt find the "right"one
so here it goes..

I have a frameset page as my index.html page and have noticed that if my
page is opened in other resolution than the one it was created in, some
pictures shift locatiuons.
If this was a non frames page i knew how to fix it...
Is there any was to automaticaly resize a frameset proportionaly to the
screen resolution?

ex: i want one picture to be exactly 1/4 of the screen, in a one-page i
would do someting like...

<img id="logo" border="0" src="Logotipo.jpg">
<script type="text/javascript">
document.getElementById("logo").width=screen.availwidth/4
document.getElementById("logo").height=screen.availheight/4
</script>

How do i do this with a frameset?
ex: banner frame be alway 1/6 of the screen height

Thanks

Paulo Gomes
 
I

Info_Junkie

Psapg said:
Hi

Probably not the best group to post this, but i could'nt find the "right"one
so here it goes..

I have a frameset page as my index.html page and have noticed that if my
page is opened in other resolution than the one it was created in, some
pictures shift locatiuons.
If this was a non frames page i knew how to fix it...
Is there any was to automaticaly resize a frameset proportionaly to the
screen resolution?

ex: i want one picture to be exactly 1/4 of the screen, in a one-page i
would do someting like...

<img id="logo" border="0" src="Logotipo.jpg">
<script type="text/javascript">
document.getElementById("logo").width=screen.availwidth/4
document.getElementById("logo").height=screen.availheight/4
</script>

How do i do this with a frameset?
ex: banner frame be alway 1/6 of the screen height

Thanks

Paulo Gomes

Maybe I am not understanding your question ... but to set a frameset
column that is always 1/4 of the page, regardless of width, just use
HTML: <frameset rowl= 25%, *>

Info_Junkie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top