Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Check popup open

Check popup open

Scheduled Pinned Locked Moved Web Development
helpjavascript
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AnhTin
    wrote on last edited by
    #1

    hi all i have some code check popup open but have some problem in the fist link will open popup with pram is width="300" and height="300" but when this popup is open when i click the link "open3" the window don't rezise width and height to "200" and "200" Some body help me if this popup is open and close this it and open new popup OR if this popup is open, resize this popup with new pram var newwindow; function popUp(url, w, h, namn) { newwindow=window.open(url, namn, 'width='+ w +', height=' + h + ' resizable=no, scrollbars=auto, toolbars=no, location=no, directories=no, status=no, menubar=no, copyhistory=no'); if (window.focus) {newwindow.focus()} } [open1](javascript:popUp( 'http://www.svt.se', 300, 300, 'little' )) [open2](javascript:popUp( 'http://www.abb.se', 500, 500, 'bigger')) [open3](javascript:popUp( 'http://www.svt.se', 200, 200, 'little' )) [open4](javascript:popUp( 'http://www.abb.se', 900, 900, 'bigger'))

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups