473,582 Members | 3,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

frameset resizing

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.j pg">
<script type="text/javascript">
document.getEle mentById("logo" ).width=screen. availwidth/4
document.getEle mentById("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
Aug 30 '06 #1
2 2126

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.j pg">
<script type="text/javascript">
document.getEle mentById("logo" ).width=screen. availwidth/4
document.getEle mentById("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
Aug 31 '06 #2

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.j pg">
<script type="text/javascript">
document.getEle mentById("logo" ).width=screen. availwidth/4
document.getEle mentById("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

Aug 31 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
3532
by: Hans | last post by:
Hi There, I have a page that has links with some variables and I need to open the results set in a frameset. I have tried doing this in various different ways, but still cannot get the variable passed to the relevant frames within the frameset. What is the best way of getting this done. Thanks Hans
1
10993
by: JP | last post by:
Hi, How can I create a dynamic frameset whose content changes based on user inputs? Specifically, how do I toggle a frame within a frameset? How can I allow a user to "close" or "dock" a frame by clicking on some button and let the parent update its frameset layout? What I've been trying to do is for the child frame to send a message
4
1354
by: xzzy | last post by:
VS 2003, code behind is C# Situation: 1. a webpage has 4 frames: TOP LEFT RIGHT BOTTOM
4
1281
by: dragooon | last post by:
Does anybody notice that word document does not work with frameset? If you load a word document into a frame, this frame then can not be resized, but if you load other office documents it works just fine. Is there any workaround? Thanks!
3
3459
by: mark4asp | last post by:
According to this <http://css-discuss.incutio.com/?page=BoxModelHack> IE6 will display differently to the W3C standard. Only IE6/strict and I suppose IE 7 display correctly. IE 6 transitional and frameset are wrong. My users are still using IE 6 and I have a frameset in most of my pages - this is just a one line tickertape thing but it has...
0
7327
by: joeller | last post by:
On October 13, 2006 Mark Rae wrote Hi, Firstly, I have not the slightest intention of using framesets - the reason for this post is merely to ask for assistance in furthering my understanding of XHTML. I was under the impression that XHTML fully supports framesets, hence the Frameset document type. Therefore, can anyone please tell me why...
12
5602
by: Geoff Cox | last post by:
Hello I'm having a problem loading a frameset file using an include in a php file. Nothing is displayed and when I look at the source code I see that <html> <head> <title></title>
4
3731
by: maminx | last post by:
Hello..i have problem, hope someone can help me..i have this frameset below : <FRAMESET ROWS="55%" COLS="37%,63%"> <FRAME NAME="runningTrade" SRC="http://runningtrade.com" scrolling="no"> <FRAMESET ROWS="33%" COLS="51%,49%"> <FRAMESET ROWS="34%,34%,35%" cols="*"> <FRAME NAME="orderBook" SRC="http://od.com" scrolling="no">...
0
7886
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8312
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7920
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3809
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3835
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1413
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.