Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-24-2003, 12:35 AM   PM User | #1
dominickm
Banned

 
Join Date: Oct 2003
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
dominickm is an unknown quantity at this point
Please Help! Force window size of frame pages

Hi,

I am new to this whole forum help thing but I am desperate.

What script would one use to force a page size for a page containing multiple frames not allowing the user to resize the window.

Also if the page is resized, the frames get thrown off and the content isnt displayed correctly which is why I need it to be a forced size for all resoultions without the option to resize the main window.

To view an example of the messed up version, here is the link

http://www.heydom.com/BH/Brutal.htm

If you resize the window you will see it mess up and the frames move. Please help me to fix this.

Thanks,
The novice

Last edited by dominickm; 10-24-2003 at 12:42 AM..
dominickm is offline   Reply With Quote
Old 10-24-2003, 01:00 AM   PM User | #2
Basscyst
Smokes a Lot


 
Join Date: Jul 2003
Location: CA, USA
Posts: 1,594
Thanks: 5
Thanked 20 Times in 20 Posts
Basscyst is on a distinguished road
Hi-

For the layout you have there I personally would use the <iframe> tag for my frames. Then you get set position:absolute; which would eleviate the problems you are having now. If you want to stick with the current layout here is a link to adjusting window properties.

http://hotwired.lycos.com/webmonkey/98/03/index3a.html

Basscsyt
Basscyst is offline   Reply With Quote
Old 10-24-2003, 01:07 AM   PM User | #3
dominickm
Banned

 
Join Date: Oct 2003
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
dominickm is an unknown quantity at this point
Window resize

Isnt there a way to make a window that is being resized not affect the page at all
dominickm is offline   Reply With Quote
Old 10-24-2003, 01:12 AM   PM User | #4
Basscyst
Smokes a Lot


 
Join Date: Jul 2003
Location: CA, USA
Posts: 1,594
Thanks: 5
Thanked 20 Times in 20 Posts
Basscyst is on a distinguished road
Yes -

<iframe src="MyPage.html" height=400 width=300 style="position:absolute;left:250px;top:150px;"></iframe>

This will make a floating frame on your page wherever you like just adjust the left and top pixels - you can have more than one on the page.

I can give you a more detailed example in a few, if you are still unclear.
Basscyst is offline   Reply With Quote
Old 10-24-2003, 01:14 AM   PM User | #5
dominickm
Banned

 
Join Date: Oct 2003
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
dominickm is an unknown quantity at this point
Please do

I just want to make the main page holding the frames either locked into size position and unresizable or when resized the frames do not move
dominickm is offline   Reply With Quote
Old 10-24-2003, 02:20 AM   PM User | #6
justame
Regular Coder

 
Join Date: Jun 2002
Posts: 676
Thanks: 1
Thanked 0 Times in 0 Posts
justame is on a distinguished road
bas...
twouldnt thisss way... http://www.codingforums.com/showthre...threadid=28025 ...work tooo though???
aka the frame sizes twould just a remain® 'inplace' no matter what size the browser was resized to???
justame is offline   Reply With Quote
Old 10-24-2003, 03:41 AM   PM User | #7
Basscyst
Smokes a Lot


 
Join Date: Jul 2003
Location: CA, USA
Posts: 1,594
Thanks: 5
Thanked 20 Times in 20 Posts
Basscyst is on a distinguished road
Yes -

That would work as well, as it seems to be. . . I am just not a big fan of framesets.
Basscyst is offline   Reply With Quote
Old 10-24-2003, 04:16 AM   PM User | #8
justame
Regular Coder

 
Join Date: Jun 2002
Posts: 676
Thanks: 1
Thanked 0 Times in 0 Posts
justame is on a distinguished road
bas...
just a ta® for the reply...:O))) /me just a wondered® 'cause doesnt netscrap have just a prob® with iframe???
justame is offline   Reply With Quote
Old 10-25-2003, 06:32 PM   PM User | #9
Basscyst
Smokes a Lot


 
Join Date: Jul 2003
Location: CA, USA
Posts: 1,594
Thanks: 5
Thanked 20 Times in 20 Posts
Basscyst is on a distinguished road
It may very well - I code for an Intranet that uses IE only. I forget about those things somtimes. I better start taking it into consideration more often as I am starting to venture into the world of actual web development. )
Basscyst is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:22 PM.


Advertisement
Log in to turn off these ads.