-----Full screen in 400x300 px !!!-----

admin

Administrator
Staff member
Hi!<br />
<br />
1)How can I open a full pop-up screen BUT in a specific size (300x400 pixels)???<br />
2)where can I find pictures of frames & borders to put around my little full-screen???<br />
<br />
(little full screen is a screen without the blue "thing" at the top & without the "default" gray thin borders)<br />
<br />
Noam<!--content-->All that you need to do, is this<br />
<br />
1. myfeatures="directories=no,location=no,status=no,menubar=no,titlebar=no,tollbar=no,scrollbars=no,width=400,heigh t=300,resizable=no";<br />
newWin=window.open('','Example',myfeatures);<br />
<br />
2. For the border, just make an image that is 300x400 and make it the background of the page. You can use this: <body background src=http://www.htmlforums.com/archive/index.php/"border.gif"><!--content-->I cut & paste & nothing!!!!!!<!--content-->I guess not shernoam! unless you want to cut and paste prodeveloping's code. :)<!--content-->Originally posted by shernoam <br />
I cut & paste & nothing!!!!!! <br />
<br />
Good luck then.<!--content-->I really don't know what to do!!!<br />
I cut only the code...(not all the reply message ;) ant nothing)<br />
<br />
what to do???<br />
can someone here be serios & help me a bit??<br />
Noam<!--content-->shernoam:<br />
<br />
Always helps to use the right terminology - it's a window you want to open, the blue 'thing' is a titlebar, and what makes you think those gray thin borders are the 'default'? (you're assuming they can be altered)<br />
<br />
Here's a little reading; presumably you know Javascript (or VBScript) basics; if not, start here (<!-- m --><a class="postlink" href="http://www.mcli.dist.maricopa.edu/tut/tut27.html">http://www.mcli.dist.maricopa.edu/tut/tut27.html</a><!-- m -->)...<br />
<br />
<!-- m --><a class="postlink" href="http://www.mcli.dist.maricopa.edu/tut/tut27c.html">http://www.mcli.dist.maricopa.edu/tut/tut27c.html</a><!-- m --><br />
<!-- m --><a class="postlink" href="http://www.builder.com/Programming/Kahn/092497/">http://www.builder.com/Programming/Kahn/092497/</a><!-- m --><br />
<br />
hth, _mrK :cool:<!--content-->Hi Noam,<br />
<br />
You use JAVA script to open a new window a specific size and without toolbars to make it look "full size". Try this code:<br />
<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/# onclick="window.open('yourURLhere','mywindow','width=400,height=300,toolbar=no,location=no,directories=no,sta tus=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no')">click here</a><br />
<br />
replace "yourURLhere" with the URL of the page you wish to display in the 400 x 300 window. Make sure the content you want to display in this 400 x 300 window is appropriate for the size. If you want a scrollbar or if you want the window to be resizable then change those attributes to yes in the above code. <br />
<br />
Note: in the above example it should be window.open with no space after the period. For some reason this message board will not display the above example without putting a sapce in there.<br />
<br />
Regards,<br />
Kevin<!--content-->Kevin,<br />
<br />
Thanks, I had been meaning to look for that code for one of my projects.<br />
<br />
Can you tell me real quick what the code would be to put a "close window" link for the bottom of that popup window would be.<br />
<br />
Thanks again<!--content-->2 ways:<br />
<br />
<form><br />
<input type=button value="Close Window" onClick="javascript:window.close();"><br />
</form> <br />
<br />
or<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"javascript:window.close();">Close Window</a><!--content-->Thanks but I need to open a window without<br />
the blue stripe at the top (without title)...<!--content-->I don't believe that you can have a new window without the title bar.<!--content-->If you cannot figure out a solution, check out the posting <br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?threadid=4186">http://www.htmlforums.com/showthread.php?threadid=4186</a><!-- m --><br />
<br />
I know it's not exactly what you want, but hey, another possibility.<!--content-->Originally posted by shernoam <br />
Thanks but I need to open a window without<br />
the blue stripe at the top (without title)...<br />
<br />
<br />
You "need" to? Why? <br />
<br />
It is possible to do but I don't know how. The title bar also contains the close window button, so if you don't have a title bar you need to allow for another method to close the window. <br />
<br />
Regards,<br />
kevin<!--content-->Originally posted by sherpa <br />
If you cannot figure out a solution, check out the posting <br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?threadid=4186">http://www.htmlforums.com/showthread.php?threadid=4186</a><!-- m --><br />
<br />
I know it's not exactly what you want, but hey, another possibility. <br />
<br />
Yes, chromeless would do, but you'd have to do a whole new round of re-designing.<!--content-->So no one can help...<br />
I really wanted to open<br />
my categories in a full window (400*300 in size)<br />
without the title bar at the top...<!--content-->Sorry.<br />
<br />
Oftentimes browsers are the only limitation to what you want to do.<!--content-->http://webfx.eae.net/dhtml/splashwin/splashwin.html<!--content-->sherpa<br />
<br />
the javascript close:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"javascript: null, void(0);" onclick="javscript: self.close();">close this window</a><br />
<br />
<br />
the window without the titlebar. Yes I have seen it. Yes I know how it was done. No its not simple or easy. It is a java window. NOT JavaScript, but JAVA. JAVA can create windows without the titlebar. <br />
<br />
Problem: we use javascript as our client side scripting (most people do as well). JAVA is different than javascript. <br />
<br />
I don't really think running a java applet is the way to go here. Just open up your new window with no toolbars and you'll be fine.<!--content-->
 
Back
Top