View Single Post
Old 2005-03-28, 02:26 PM   #11
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by mniki
Heloo

Have a quick question about html,
Is it possible to open a link in new window fixed size (400x200) and fixed position (top left corner) using just html commands or css and not java script.
If yes please tell how
thx in advance
Somewhere along the way we forgot to answer your initial question and I just realized that you aren't looking for a pop-up window at all. You just want a link to open in a new small window. Right?

If so, this is what you are looking for:
Code:
<a href="#" onClick="Default =window.open('page_name.html','Default','menubar=yes,scrollbars=yes,resizable=no,width=400,height=200'); return false;">Link Text</a>
Just replace 'page_name.html' with the name of the document you want to open and adjust the width and height accordingly.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote