Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-03-28, 02:26 PM   #1
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:09 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc