Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old November 24th, 2002   #1 (permalink)
RF
Canadian Spaceman
 
RF's Avatar
 
Join Date: May 2002
Location: Canada
Posts: 8,594
Html code for a blank box.

Im trying to make a small webpage that has no bars at all, no address bar, no scroll bar, no standard buttons. Just a box, anyone know what code(s) to use to achieve this?
__________________
RF is offline   Reply With Quote
Old November 24th, 2002   #2 (permalink)
Registered User
 
zukeft's Avatar
 
Join Date: Sep 2002
Location: Bogota, Colombia
Posts: 1,157
As in a popup window?
http://www.w3schools.com/js/js_window.asp
http://developer.irt.org/script/window.htm
__________________
Flaretech.biz web hosting
zukeft is offline   Reply With Quote
Old November 25th, 2002   #3 (permalink)
RF
Canadian Spaceman
 
RF's Avatar
 
Join Date: May 2002
Location: Canada
Posts: 8,594
Yea, like a pop-up window.
__________________
RF is offline   Reply With Quote
Old November 28th, 2002   #4 (permalink)
Single
 
SnakeBite's Avatar
 
Join Date: Apr 2002
Location: Norway
Posts: 667
You can use some javascript:

Quote:
<script language="JavaScript">
<!--
function createWindow()
{
window.open("URL_to_file","Window caption","width=500,height=500,");
}
-->
</script>

<input type="button" value="window" onClick="createWindow();">
This is how I would do this.
__________________
This is my new improved sig.
SnakeBite is offline   Reply With Quote
Old November 29th, 2002   #5 (permalink)
RF
Canadian Spaceman
 
RF's Avatar
 
Join Date: May 2002
Location: Canada
Posts: 8,594
sigh............ i need the actuall code to remove the bars and scrollablity from the acutuall window itself, not make a pop-up.
__________________
RF is offline   Reply With Quote
Old December 2nd, 2002   #6 (permalink)
Registered User
 
zukeft's Avatar
 
Join Date: Sep 2002
Location: Bogota, Colombia
Posts: 1,157
Check out www.ghtml.com/showoff/scrollbar/index.html, not for the actual script there, but notice that if you resize your browser window, the scroller won't show up. This is because of the overflow:hidden of the body part of the stylesheet:

<style type="text/css">
#content {position: absolute;}
body {margin-left:0; margin-right:0; margin-top:0; margin-bottom:0; width:100%;height:100%;overflow:hidden}
</style>

You can either add an embedded CSS2 stylesheet like that or simply put <body style="overflow: hidden">
__________________
Flaretech.biz web hosting

Last edited by zukeft; December 2nd, 2002 at 01:58.
zukeft is offline   Reply With Quote
Old December 2nd, 2002   #7 (permalink)
Single
 
SnakeBite's Avatar
 
Join Date: Apr 2002
Location: Norway
Posts: 667
Why not make a new window and close the current?
__________________
This is my new improved sig.
SnakeBite is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 23:47.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5