Open browser window 100% (not fullscreen with no tools)

liunx

Guest
Hi......<br />
<br />
Does anyone know how to open browser 100%<br />
Someone over at flashkit said that dreamweaver does it...<br />
<br />
So i thought i'd consult the pro's :)<br />
<br />
Does the JAVA command support %'s...<br />
In other words...width = 100% ?<br />
I dont think it does...<br />
<br />
Any help on this would rock ...<br />
<br />
Thx :)<br />
<br />
-JT<!--content-->well you would have to get the users screensize first. or just make it 800x600 in the width and height or you can try something like this<br />
<br />
not sure if this works<br />
<br />
<br />
function new() { <br />
h=(window.screen.availHeight); <br />
w=(window.screen.availWidth); <br />
window.open('file.html','',w,h) <br />
<br />
} <br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"javascript:new()">new window</a><br />
<br />
but something like that.<!--content-->sweet !<br />
Thx for the reply...its appreciated...<br />
Hope i can give back someday with an answer to someone elses question over here :)<br />
<br />
Thx again<br />
-JBOMB<!--content-->I'm sure you will someday. :)<br />
<br />
also I think it should be<br />
<br />
window.open('file.html','',width=w,height=h)<br />
<br />
instead of what is up in my last post.<!--content-->So wierd.....That works and everything...<br />
Cept it just comes shy of filling the whole screen..<br />
<br />
It opens ALMOST full..like 100 pixels short..<br />
Any thoughts as to why ?<br />
<br />
Man...so close.... :)<!--content-->not sure as you can't get more than the clients height and width.<!--content-->JBOMB - take a lot at this thread:<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?s=&threadid=12395&highlight=find+screen+size">http://www.htmlforums.com/showthread.ph ... creen+size</a><!-- m --> <br />
<br />
perhaps if you use the whole screen width, rather than the "available width" (not sure how IE works that one out), then you will get a result.<!--content-->Cool...thanks horus.......<br />
Im gonna try that :)<!--content-->are up talking about the function for fullscreen in IE?<br />
<br />
heres an example of fullscreen:<br />
<br />
<!-- m --><a class="postlink" href="http://holocaust.intrakinesis.com/">http://holocaust.intrakinesis.com/</a><!-- m --><br />
<br />
(1 window opens up in fullscreen automatically after the pages loads)<br />
<br />
there is an EXIT button on it so you can exit. :)<br />
<br />
(i made the site by the way, it was for my school and they wanted it in FULLSCREEN)<!--content-->Why didn't someone just tell him that it isn't a good idea to do that.<br />
<br />
If I find a site that does that to my browser... you are blacklisted. There is no logical and legit reason for getting ridding of the tools. So what gives? What are you hiding? And why freeze up some novices computer so you can keep em there for a few seconds before they hit the reset button on their computer. <br />
<br />
I challenge anyone to give me one legit reason for a 100% window with no tools. Shouldn't we all be improving the net and not helping out in scumbag tactics?<br />
<br />
Arrrghhhhhhhhhhh<br />
<br />
:mad: :mad: :mad: :mad: :mad: :mad: :mad: :mad: :mad: :mad:<!--content-->ive only given info on how to increase the window size, not how to remove the toolbar etc.<!--content-->Yeah, that fullscreen no toolbar stuff is baaad. But is there any way to link to a page that opens in a window and without the toolbar, and in a specific size?<br />
<br />
Tanks<br />
<br />
:eek: Yaaaaaaaaaaaaaah<!--content-->Originally posted by Yah <br />
Yeah, that fullscreen no toolbar stuff is baaad. But is there any way to link to a page that opens in a window and without the toolbar, and in a specific size?<br />
<br />
Tanks<br />
<br />
:eek: Yaaaaaaaaaaaaaah <br />
didn't you jsut read this thread?<br />
<br />
window.open('file.html','',width=300,height=300, toolbar=no) <br />
<br />
you can change teh width and height to anything you want.<!--content-->You lot are probably gonna get really annoyed at my lack of knowledge, but.....<br />
<br />
I don't understand!<br />
<br />
<br />
<SCRIPT language="JavaScript"><br />
function new() { <br />
h=(window.screen.availHeight); <br />
w=(window.screen.availWidth); <br />
window.open('mylink.html','',width=300,height=300, toolbar=no)<br />
} <br />
</SCRIPT><br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"java script:new()">new window</a><br />
<br />
<br />
What is wrong here? I think I'm just too stupid (...I'm only a novice level 1!)<br />
<br />
:eek: Eek! Yah<!--content-->Yah, just use this script:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"#" onClick="window.open('mypage.html','mywindowname','width=400,height=350,toolbar=no')">This is the link</a><br />
<br />
I use this heavily on my website.<br />
<br />
NB: You can also add the following attributes:<br />
directories=no,<br />
status=no,<br />
menubar=no,<br />
scrollbars=yes,<br />
copyhistory=no,<br />
resizable=yes<br />
<br />
There are probably some others aswell.<br />
<br />
Good luck<!--content-->Thanks a lot! That's absolutely perfect!<br />
That doesn't even use any <script> things either!<br />
<br />
I do have one more tiny teeny question but I'll post it as a new thread since it hasn't (that) much to do with the title of this thread....<br />
<br />
Thanks again everyone!<br />
<br />
:eek: Yah<!--content-->
 
Back
Top