SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2001
    Location
    Viet Nam
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    need help!! Javascript

    how can I close a window that i opened using the window.open after it play an embbed sound ???

    thanks.

  2. #2
    Spam Can Kill!!! Disk-t's Avatar
    Join Date
    Jul 2001
    Location
    n/a
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First, you have to find out how much time the thing lasts. Then, lets say the song lasts 20 seconds:

    <body onLoad="setTimeout('window.close()',20000)">


Bookmarks

Posting Permissions

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