PDA

View Full Version : A-Link without titile bar


joonstar
04-22-2003, 12:48 AM
(1) <a href=newwindow.html target=_blank>newwindow</a>

(2) <input type=button value="Show" onClick="window.open('newwindow.html','_blank')">

Both of above codes make a new window.

1. (1) makes a newwindow including top-button(file,edit,view...) of the blowser.

2. (2) makes a newwindow not-including top-button(file,edit,view...) of the blowser.

3. I don't like the input type of button. and I want the not-including top-button of the blowser.

4. I like the HTML type of button(A link), and I don't like to see
the top-button of the blowser.

I hope you help me.

pardicity3
04-22-2003, 01:26 AM
Both of zoobies suggestions should suit your needs well. The only thing I have to say is that you may want to evaluate your reasons for opening windows without the toolbar, etc. Lots of people don't like windows without toolbars (me included) and zap them automatically. Also, some people really need these toolbars. Of course, there are a few viable situations for windows like this, but if you are going to have a whole site in a toolbar-less window you may wish to rethink your methods. ;)

<edit>
What What What!?!? Where did zoobies post go?!?! :confused: :confused:
</edit>

zoobie
04-22-2003, 01:44 AM
Ha ha... :p

<input type="button" onclick='window.open("my_page.html", "", "width=500, height=400, toolbar=no, location=no, directories=no, status=no, menubar=no");' value="Pop it">

<a href="#" onclick='window.open("my_page.html", "", "width=500, height=400, toolbar=no, location=no, directories=no, status=no, menubar=no");'>Pop it</a>

I was trying to get it to display properly...The directories=no was broken. :D

sage45
04-22-2003, 04:00 PM
Please do not cross post...

Thread is cross posted here:
http://www.codingforums.com/showthread.php?s=&threadid=18713

Closing this thread...

-sage-