PC Review


Reply
Thread Tools Rate Thread

Controlling a _blank target size

 
 
Tom Miller
Guest
Posts: n/a
 
      25th Apr 2007
I have a "Electronic Business Card" that I would like to have it display in
a new window about the size of a regular/real business card. And nothing
else but a close button on the border. No resize etc.

The card itself is at: http://bccs.chatnfiles.com/ecard3.htm The link that
currently displays it is in the left hand column of the main website:
http://bccs.chatnfiles.com (Electronic Bussiness Card).

I am assuming I need to set some parameters in the html code in conjunction
with _blank target.

I have tried pasting some javascript from w3schools that appears to do more
or less what I want but the html button portion of the code seems to be
broken. Or at least I get a script error and I am clearly having trouble
figuring out what code it is referring to when it mentions a line number.

So I really have 2 issues. One is to solve the presenting problem.

The other is how do I get a browser to actually display the code it thinks
is in error? I grabbed a copy of win32pad (a notebook replacement) which
has line numbers but they don't seem to sync with the location listed of the
error in IE6.

I would be perfectly happy to do this in "just" html unless it turns out the
_blank is actually javascript... so you can understand my confusion here.

Tom (power user wannabe) Miller
--
This hobby has definitely gotten away from me!
Try http://www.ChatNFiles.com which has a new telnet chat system and a HUGE
file downloads collection. Ecard: http://bccs.chatnfiles.com/ecard3.htm



--
Posted via a free Usenet account from http://www.teranews.com

 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      25th Apr 2007
Not possible when using the _blank attribute. You have to create and control the window size via
JavaScript.

Go here for a free FP add-in. called Spawn:
http://www.jimcosoftware.com/addins.aspx

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


"Tom Miller" <(E-Mail Removed)> wrote in message
news:462fa83e$0$30102$(E-Mail Removed)...
>I have a "Electronic Business Card" that I would like to have it display in a new window about the
>size of a regular/real business card. And nothing else but a close button on the border. No resize
>etc.
>
> The card itself is at: http://bccs.chatnfiles.com/ecard3.htm The link that currently displays it
> is in the left hand column of the main website: http://bccs.chatnfiles.com (Electronic Bussiness
> Card).
>
> I am assuming I need to set some parameters in the html code in conjunction with _blank target.
>
> I have tried pasting some javascript from w3schools that appears to do more or less what I want
> but the html button portion of the code seems to be broken. Or at least I get a script error and
> I am clearly having trouble figuring out what code it is referring to when it mentions a line
> number.
>
> So I really have 2 issues. One is to solve the presenting problem.
>
> The other is how do I get a browser to actually display the code it thinks is in error? I grabbed
> a copy of win32pad (a notebook replacement) which has line numbers but they don't seem to sync
> with the location listed of the error in IE6.
>
> I would be perfectly happy to do this in "just" html unless it turns out the _blank is actually
> javascript... so you can understand my confusion here.
>
> Tom (power user wannabe) Miller
> --
> This hobby has definitely gotten away from me!
> Try http://www.ChatNFiles.com which has a new telnet chat system and a HUGE file downloads
> collection. Ecard: http://bccs.chatnfiles.com/ecard3.htm
>
>
>
> --
> Posted via a free Usenet account from http://www.teranews.com
>



 
Reply With Quote
 
Tom Miller
Guest
Posts: n/a
 
      25th Apr 2007
> Not possible when using the _blank attribute. You have to create and
> control the window size via JavaScript.
>
> Go here for a free FP add-in. called Spawn:
> http://www.jimcosoftware.com/addins.aspx
>

Thank you. It generated the right code the first time. Then I tweaked the
size and possitioning in html view and it does exactly what I wanted.

Tom
--
This hobby has definitely gotten away from me!
Try http://www.ChatNFiles.com which has a new telnet chat system and a HUGE
file downloads collection. Ecard: http://bccs.chatnfiles.com/ecard3.htm



--
Posted via a free Usenet account from http://www.teranews.com

 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
form1.target='_blank'; Jonathan Wood Microsoft ASP .NET 8 4th Mar 2008 07:29 PM
<a target="_blank" /> opens half-size IE6 window John A Grandy Microsoft ASP .NET 5 8th May 2006 06:39 AM
Controlling target page size, text size. John Berg Microsoft Frontpage 6 23rd Jul 2005 05:11 PM
Problem Target Frame _blank =?Utf-8?B?QW5uZQ==?= Microsoft Frontpage 2 28th May 2004 08:26 PM
Anchor Target=_blank not working in IE6.0 Mohsin Shaikh Windows XP Internet Explorer 0 8th Oct 2003 04:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:59 AM.