Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / August 2006



Tip: Looking for answers? Try searching our database.

frameset resizing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Psapg - 30 Aug 2006 20:13 GMT
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
Info_Junkie - 31 Aug 2006 06:26 GMT
> Hi
>
[quoted text clipped - 23 lines]
>
> Paulo Gomes
Info_Junkie - 31 Aug 2006 06:29 GMT
> Hi
>
[quoted text clipped - 23 lines]
>
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.