CSS Borderless Pop Up Window

I had a code last year for bringing a window open (eg, clicking a link on a page to open a sized window, say
815 X 535) and it contained none of the normal open browser window features…no border, and you could designate what colors appeared…etc.

Anyone know where I might find this again, its driving me nuts.

:frowning:

I remeber seeing something like that on Webmonkey.com - it loaded a frame with no border or anything that users could move around the page as they liked and close it using a link provided by you, if you didn’t provide a link there was no-way for the user to close the window.

Can I just say that I as many users would, find this very annoying if it pops up unrequested, for the sake of your users I hope you are only going to let it pop-up if the users clicks on a link wanting the infomation it offers!

If I can find the article for you I will have a look, I happen to be on webmonkey at the moment so I’ll run a search when I’m done.

Good Luck, Hope this helps

Rick :slight_smile:

I am looking for it to simply contain a design a customized bordered window, non Windows default styling…they would have to click the link to get into the site obviously.

Chromeless windows?

Also, remember it’s IE specific, and like zoo said, that’s a really easy way to irritate your visitors, so be careful with the power and use it wisely. :wink:

If you do a search on SitePoint on “chromeless windows,” I think you’ll find it here berried in a few of these here threads. :slight_smile:

EDIT: Argh, Indian! :-p

~~Ian

Ugh!

I thought xteriormotive was after a smaller pop-up rather than a whole screen one, and I’m pretty sure I have seen what he means on Webmonkey but can’t find it - sorry :frowning:

As for those windows that pop-up and fill the whole screen they don’t just irritate me, they drive me mad - forcing me to leave a site!

When I am online I normally have at least 2 IM windows open and around 20 instances of IE or Netscape 6 (depending on what mood I’m in) running. If a site is good enough for me to devote all my attention to it will get it, but in general I need to switch between windows and IM’s rapidly and frequently. I simply refuse to have a site ‘imposed’ upon me like that - it simply forces me to leave, even though it may have exactly what I’m looking for on it, although in general the better sites don’t do this - can you imagine SitePoint or Site Point Forums doing this - I doubt it somehow.

Rick :slight_smile:

Originally posted by zoo
I thought xteriormotive was after a smaller pop-up rather than a whole screen one,

Put the following link code in the <body> of your page to open your chromeless window:

<a href=“javascript:openIT(‘http://the_url_of_my_chromeless_window.html’, 400, 300, ‘name of my chromeless window’);”>Text for your link here</a>

Change “Text for your link here” to whatever you want your link text to be. You will, of course, need to create a separate HTML document for your chromeless pop-up window and enter its filename or URL in the above code. You will also need to enter the size of the window, for example: 400 (width), 300 (height), and its title.

Won’t the window that this script creates have borders and buttons / title etc at the top - I thought the idea was to avoid this.

I have seen it done somewhere and its driving me MAD!

Also this code just produced an error when run in my browser IE 6, doesn’t it need code in the header or something to work properly?

Rick :slight_smile:

Also this code just produced an error when run in my browser IE 6

Well, the problem is with ‘name of my chromeless window’ part.

<a href="javascript:openIT('http://the_url_of_my_chromeless_window.html', 400, 300, 'name of my chromeless window');">
Text for your link here</a> 

I just put one word without any space and there was no error. But it still opens in fullscreen. :frowning:

I tried that - it still produces an error in IE6

I don’t think he wanted a full screen window anyway, - did u?

Rick

Originally posted by zoo
[B]
I don’t think he wanted a full screen window anyway, - did u?

Rick [/B]

No…No! This script is supposed to open a small window. But it looks like that it does not work in IE6 that way. It may work in previous versions of IE. Anyway, just as …er… “Whatshisname” said, it is IE specific. So, well… it is useless. Sorry!

Or Someone may be able to debug the script?

Edit :

Warning! The Chromeless Window script currently does NOT work in Windows XP from SP1 (Service Pack 1) and thereon after. The problem is due to a changed behavior in XP that prevents Chromeless Windows all together (security update). We’re still observing to see if this behavior will be changed soon, though if not, may have to remove this script altogether. If you wish to use Chromeless Windows, please make sure you understand the above -Oct 28th, 2002.

http://www.dynamicdrive.com/dynamicindex8/chromeless.htm

I just used that script on IE 6, had errors, but fixed it by replacing the title with one word, adding a real url, and adding quotations around “Javascript” in both places in the header.

Originally posted by fillup07
I just used that script on IE 6, had errors, but fixed it by replacing the title with one word, adding a real url, and adding quotations around “Javascript” in both places in the header.

Did you get a small window or fullscreen window?

Moved to a more appropriate forum

Sean :slight_smile:

Just currious if anyone has solved this? I am trying to make a pop up very similar to this that will be about 200x200 and be just big enough for someone to select a few options ant then click a submit button. I am doing it in a pop up because there is so little on this page it will look silly in the full window.

Do you have to open a new window?
Why can’t you show/hide a div that looks like a window?

Yeah I want the window to pop up and I actually figured it out from some help of this page and several others heres the code to do it and it works on IE6 and N6 both under XP:

echo("<div align=\\"center\\"><a href=\\"#\\" onClick=\\"javascript:window.open('/admin.php?module=$ModName&op=main','popup', 'height=250,resizable=no,width=400', 'Admin-Panel');\\">Admin Panel Pop-Up</a></div>");

keep in mind I’m doing this in a PHP script but it should give you the right idea of whats needed.

Originally posted by Indian

Did you get a small window or fullscreen window?

Fullscreen, like it was supposed to be.