English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I just clicked on a link on a site and a new browser window opened at only about 60 percent the size of the original window. I could probably use something like this at some point and I'm curious to know how to do this. I browsed the source code and it looks like what I'm looking for would be in a separate CSS file. Is there an easy way to do this using javascript or is it recommended that a separate style sheet be used?

Here's the link where I noticed this. Just click on any of the staff bio links:

http://www.visibleschool.com/about/staff

2007-09-06 22:20:17 · 2 answers · asked by Pastor Chad from JesusFreak.com 6 in Computers & Internet Programming & Design

2 answers

Here is another method for you to check also. It does use java to work but will POP a borderless centered window you can set the size and the link you want to POP open.

http://www.phpfreaks.com/quickcode/Pop-a-Borderless-centered-Window/209.php

You may also want to read this on A List Apart site about "pop up windows" its good and detailed about better uses.
http://www.alistapart.com/articles/popuplinks/

and so you know, I tried the links you listed, they error in two of my browsers and only work on one! SO be careful how you do this!

2007-09-07 01:22:53 · answer #1 · answered by Tracy L 7 · 0 0

Hey buddy good news for u, What u asked for can be done in Java Script with a few lines of code, here is the skeleton of the function

function launchWindow(){
window.open(
"URL",
'toolbar=no,
location=no,
directories=no,
status=yes,
menubar=no,
width=640,height=400, //