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

Open new Window Properties...

Hi,

I am using tableview iteratror..by using the foll code,

<i>

bee = cl_htmlb_link=>factory( id = taskid

reference = link

text = 'press me'

target = '_blank').

</i>

on clicking the link a new page is opening.How to control the newly opened window properties ?

Is it similar to that of javascript ..(scrolling=no,width=100,height=200) ?

Thanks in Advance.

Rgds,

~J.Banupriya

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2006 at 09:25 PM

    Hi,

    use the parameter onClientClick to provide the javascript function name that is gonna be called, and then, in the view where you pass the code of your bee, you create the javascript function.

    <script language=javascript>

    function myopen() {

    myWindow=window.open("test2.htm", "test2", "target=_blank, fullscreen=no, toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no, width=800,height=600,left=0,top=0");

    }

    </script>

    bee = cl_htmlb_link=>factory( id = taskid

    reference = link

    text = 'press me'

    <b>onClientClick = 'myopen()'</b>

    target = '_blank').

    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.