Skip to Content
author's profile photo Former Member
Former Member

BSP screen in small window

Hi,

I have a BSP application in which I need to show up certain information in a small popup screen on user click on a button.

How to create a BSP page with certain dimensions (like in ABAP - window starting at x..) and open it up as a popup from a BSP screen user click??

Kindly suggest.

Thanks,

Krish

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 06:30 PM

    here is a sample code to open a window:

    sample1:

    <HTML>

    <TITLE>TESTTTTT</TITLE>

    documents_todo.htm',window.name + 'x','width=600,height=700')">

    </BODY>

    </HTML>

    sample2:

    OnClick="window.open(this.href,'_blank',

    'width=500,height=500,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');

    return false;"

    Message was edited by: manasa

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      check the below code. here a button called prin is used and that button is attached to a page called document_print.htm

      l_string = 'NewWindowPrint();htmlbevent.cancelSubmit = true;'.

      <htmlb:button id = "<%= lw_buttons-id %>"

      text = "<%= lw_buttons-text %>"

      tooltip = "<%= lw_buttons-text %>"

      disabled = "<%= l_disabled %>"

      design = "<%= l_design %>"

      onClick = "<%= lw_buttons-id %>"

      onClientClick = "<%= l_string%>"

      width = "90" />

      <!--

      function NewWindowPrint() {

      WindowPrint =

      window.open("document_print.htm", "Print", "dependent=yes resizable=yes toolbar=yes");

      WindowPrint.focus();

      }

      orelse you can use the

      OnClick="window.open(this.href,'_blank',

      'width=500,height=500,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1');

      return false;" in the button attribute

      PS: Please assign points accordingly if the suggestions are of any help to you.

      Message was edited by: manasa

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 07:01 PM

    Thanks Manasa. I got an idea of using script to open my bsp page in a small window.

    Thanks,

    Krish

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.