HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 25th, 2000, 04:55 PM
mmccue mmccue is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Posts: 43 mmccue User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to mmccue
I would like my pages to show up full size in a browser window no matter how big or little it is (atleast anywhere from 640x480 to 800x600 or 1240x768) I am not even sure if Javascript is the technology I am looking for, however it seems most likely.

I could do it in PHP, I believe, however, I don't think I can do it with the page automatically resizing if I max/min the window... which is what I am looking for...

A point in the right direction would be appreciated, Thanks.


Mike

Reply With Quote
  #2  
Old April 25th, 2000, 06:30 PM
Argrajoca Argrajoca is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: SPAIN
Posts: 47 Argrajoca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Put the following inside <head></head> :

<script language="JavaScript">

<!--

self.moveTo(0,0);

self.resizeTo(screen.availWidth,screen.availHeight);
//-->

</script>

it works in both browsers

Reply With Quote
  #3  
Old April 25th, 2000, 08:47 PM
mmccue mmccue is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Posts: 43 mmccue User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to mmccue
I tried this, but it didn't work. When you go to devshed.com (with the browser window maximized) you see it, filling most of the browser space. If you click on the restore/maximize button in the browser, devshed.com resizes itself to fit completely in the browser... thats what I'm talking about...

Thanks,
Mike

Reply With Quote
  #4  
Old April 26th, 2000, 01:03 PM
Argrajoca Argrajoca is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: SPAIN
Posts: 47 Argrajoca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Well, in this case, I don't understand where is the problem: devshed.com uses tables with relative width; that is

<table border=0 cellpadding=3 cellspacing=0 width=100%>

instead of <table border=0 cellpadding=3 cellspacing=0 width=800>


this means: "use all the possible width for this table" instead of "this table is 800 pixels width"

create cells with fixed size for the elements that must have the same width in all resolutions (navigation bars, news, ...)

The page changes dinamically when you resize the browser window.

Reply With Quote
  #5  
Old April 26th, 2000, 05:04 PM
mmccue mmccue is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Posts: 43 mmccue User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to mmccue
I think thats what I was looking for... I appreciate the help, and your time.

Mike

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > not quite sure (window resizing)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway