Want to open I small popup widow from a from action...

Posted on 2006-04-09
Last Modified: 2008-02-01
I cant to open I small popup widow froma from action

I use the following line

<form name=comentario method=post action=detalles.asp target="tinyWindow" onsubmit="'', 'tinyWindow', 'toolbar,width=150,height=100,resizable=1');">

But it opens a new browser fullsize window.... I have no script in theheader... is it necesarry?

Question by:robrodp
    LVL 28

    Accepted Solution

    I'm sure you can adapt from this example

    <SCRIPT TYPE="text/javascript">
    function popupform(myform, windowname)
    if (! window.focus)return true;'', windowname, 'height=200,width=400,scrollbars=yes');;
    return true;

       onSubmit="popupform(this, 'join')">
    name: <INPUT NAME="realname"><BR>
    email: <INPUT NAME="email"><BR>


    LVL 7

    Expert Comment

    Here's a working example I put together a long time ago that others have used with great success:
    LVL 28

    Expert Comment

    Thanks for the points and the grade


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Suggested Solutions

    Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
    This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
    In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
    The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

    758 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

    11 Experts available now in Live!

    Get 1:1 Help Now