Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-06-2004, 08:56 AM   PM User | #1
pob2004
New to the CF scene

 
Join Date: Jan 2004
Location: Bournemouth
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
pob2004 is an unknown quantity at this point
Question HTML Window Size

Hi can someone help me with the following please.

I want to display a new window followed from a link to display on screen at the size of 300 wide 200 high and have no menu bar or status bar in effect a pop up window, can someone show me the coding required for this to work.
pob2004 is offline   Reply With Quote
Old 01-06-2004, 12:35 PM   PM User | #2
mindlessLemming
Senior Coder

 
Join Date: Oct 2003
Location: Australia
Posts: 1,963
Thanks: 0
Thanked 0 Times in 0 Posts
mindlessLemming is an unknown quantity at this point
Code:
<a href="pop.cfm" title="Open in New window" onclick="window.open
(this.href, 'popupwindow', 'width=300,height=200,top=50,
left=200,scrollbars=0,resizable=0,
menubar=0,taskbar=0'); return false;">
*all code should be on one line

This should be it, although i typed it quickly from memory and I haven't tested it.
Put in the position (top, left) you want, or take it out.

I don't think you need px for measurements, but I'll soon be shouted down if I'm wrong.
Oh, and by the way, you should have posted this in the JavaScript Questions section of the forums
__________________

I take no responsibility for the above nonsense.


Left Justified

Last edited by mindlessLemming; 01-06-2004 at 12:37 PM..
mindlessLemming is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 +1. The time now is 10:25 AM.


Advertisement
Log in to turn off these ads.