SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Apr 2002
    0 Post(s)
    0 Thread(s)

    Functions & window popup

    I have a number of windows that i want to open up in a seperate window, and i have tried the following code

    <script language="javascript">
    function popup(a url)
    { ("a url","Comments","width=500,height=400,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0") }

    with the link being <a href="javascript:popup(example.html)">

    as you can see, Im a complete newbie to JavaScript

    when i click on the link, nothing pops up and nothing happens. there is the little error on page status bar message, so i guess its something to do with my code....
    Last edited by gio; Aug 21, 2002 at 07:50.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts