Topic: window/(popup window) without menu and buttons
Can anyone tell me how to create a window without menu or buttons(even in titlebar)
if there is only close button, then okay.
I need in javascript + html / php...
You are not logged in. Please login or register.
PunBB Forums → Programming → window/(popup window) without menu and buttons
Can anyone tell me how to create a window without menu or buttons(even in titlebar)
if there is only close button, then okay.
I need in javascript + html / php...
You need to do it with javascript....
What I do it's a file xxxx.js
function openwin_min(url)
{
if( window.open(url,'','left=0,top=0,height=150,width=400,scrollbars=no,
status=no,menubar=no,location=no,resizable=no') )
return false;
else
return true;
}
Look at height and width, you have to change it... the link with "status..." it't in the same line that the other... I put in a different line, because it's too long to the forum.
I add this file to the html file:
<script src="xxxxx.js" type="text/javascript"></script>
Then the link it's:
<a href="LINK" onclick="return openwin_min(this.href)">link</a>
Just look again to LINK to change it,
Plese, don't abuse of popup, people hate it...
My dear friend, sorry for not breifing my question...
I too know that we can use javascript. but I dont want that traditional window. (here you will get an icon at the left cornor, and a title, and minimise,maximise, close buttons)
I dont want any of those. just a plain window with a close button at the top cornor.
Thanks for yor efforts.
Im not sure if this will help i just kinda seen it but didnt read alot of it http://www.programmersheaven.com/search … mp;ID=8473
So you whant a chrome less window? Look around at dynamicdrive and on hotscripts.
WOW! its really good. (Exactly chromeless)
Thanks to all
PunBB Forums → Programming → window/(popup window) without menu and buttons
Powered by PunBB, supported by Informer Technologies, Inc.