#1
  1. No Profile Picture
    Homie16
    Guest
    Devshed Newbie (0 - 499 posts)
    Can you please tell me how to do a javascript in a pop up?

    I would be greatful if you tell me!

    ------------------
    Thank you if you reply!!!!
    MvH:Micke
  2. #2
  3. No Profile Picture
    Spookster
    Guest
    Devshed Newbie (0 - 499 posts)
    Im assuming you wanted to open a popup window using javascript. Your request wasn't quite clear but heres a sample script:

    <HTML>
    <HEAD>
    <TITLE>Opening a Popup Window</TITLE>
    <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">
    <!-- Hide script from old browsers

    function popup(){

    popupwindow = window.open("somewhere.html","","toolbar=no,location=no,scrollbars=no,resizable=no,width=400,height= 200,left=500,top=200")

    }
    // End hiding script from old browsers -->
    </SCRIPT>
    </HEAD>
    <BODY>
    <a href="javascriptopup()">Open window</a>
    <br>
    <a href="javascriptopupwindow.close()">Close window</a>
    </BODY>
    </HTML>

    THis will open the window and you can change the options for size and you can change where the location on the screen where it opens but that only works in 4.0 or higher browsers.


    Spookster
  4. #3
  5. No Profile Picture
    Homie16
    Guest
    Devshed Newbie (0 - 499 posts)
    Thank you thatŦs kind of you
    i donŦt know so much about
    javascripts but i hope
    to learn more about it

Similar Threads

  1. Replies: 687
    Last Post: May 15th, 2005, 05:14 AM
  2. PHP on Apache
    By YtsE in forum PHP Development
    Replies: 12
    Last Post: March 25th, 2002, 11:12 PM
  3. Replies: 2
    Last Post: April 24th, 2001, 06:17 AM
  4. Replies: 0
    Last Post: April 24th, 2001, 03:56 AM
  5. donīt know enough about PHP
    By Flint in forum PHP Development
    Replies: 1
    Last Post: June 2nd, 2000, 08:38 AM

IMN logo majestic logo threadwatch logo seochat tools logo