By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,605 Members | 2,137 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,605 IT Pros & Developers. It's quick & easy.

frameset resizing

P: n/a
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.avail width/4
document.getElementById("logo").height=screen.avai lheight/4
</script>

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

Thanks

Paulo Gomes
Aug 30 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a

Psapg wrote:
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.avail width/4
document.getElementById("logo").height=screen.avai lheight/4
</script>

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

Thanks

Paulo Gomes
Aug 31 '06 #2

P: n/a

Psapg wrote:
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.avail width/4
document.getElementById("logo").height=screen.avai lheight/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

Aug 31 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.