Solved

Target=_blank doesn't work

Posted on 2004-09-18
12
1,766 Views
Last Modified: 2013-12-18
I've created a form for web, inserted a hospot button with the following command

@Command([Compose];"CHI" )

I went to properties of the button, then <HTML> tag, then Other, and wrote target=_blank

It composes the CHI form but within the same window.

any idea to open it in a new window ??
0
Comment
Question by:ninteen83
  • 4
  • 2
  • 2
  • +2
12 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
Comment Utility
It is not possible using only standard Notes. You need to write some HTML and JavaScript on the form to do this.

HTML:
- create a button with an HREF to the form and a TARGET=_blank
- set passthru-HTML property
- code in its simplest form:
    <INPUT TYPE=BUTTON ONCLICK='window.open("../yourform?openform")'>
0
 

Author Comment

by:ninteen83
Comment Utility
I tried to compose CHI through html .. by writing <INPUT TYPE=BUTTON .... but it didn't satisfy my need. got some problem with that... therefore I'm using a hospot button to compose CHI form. and need to open it in a new window ..

I'm sure there can be a way ..
0
 
LVL 46

Expert Comment

by:Sjef Bosman
Comment Utility
Nope. Tell us what you did with an <INPUT> tage, and why it didn't satisfy your need. What's the problem?
0
 
LVL 46

Expert Comment

by:Sjef Bosman
Comment Utility
To be more specific: an <INPUT> tag does not have a TARGET parameter. If you change it to any other hotspot that generates an <A> tag, then it will work, but you won't have a button :(
0
 
LVL 24

Expert Comment

by:HemanthaKumar
Comment Utility
1983, It is right there...

In the hotspot property define the frame (on the first tab) as _blank. This will take care of creating the form in a new window.

~Hemanth
0
 
LVL 24

Expert Comment

by:HemanthaKumar
Comment Utility
sjef, you can add &BaseTarget=_blank to the url method that you mentioned to define a new window
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 3

Accepted Solution

by:
Andrea Ercolino earned 100 total points
Comment Utility
Use
  @SetTargetFrame( "_blank" );
  @Command( [Compose]; "CHI" )

0
 
LVL 46

Expert Comment

by:Sjef Bosman
Comment Utility
RAPUTA: brilliant! R6 of course...
0
 
LVL 63

Expert Comment

by:Zvonko
Comment Utility
@SetTargetFrame was already in R5.

My proposal is to put this into onClick event of the button for the Web handler:
window.open('CHI?OpenForm')

But the Web handler is available only in R6.
In R5 you have to change the Button language from Formula to JavaScript.
Then you can enter the upper formula in onClick event:
window.open('CHI?OpenForm')

0
 

Author Comment

by:ninteen83
Comment Utility
RAPUTA : It works fine. thanks

Zvonko : It works too .. but I got some problems with html and javascript :s
0
 
LVL 63

Expert Comment

by:Zvonko
Comment Utility
It's OK :-)
0
 
LVL 3

Expert Comment

by:Andrea Ercolino
Comment Utility
Thank you for the points, nintee83!! :-)

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now