{"id":8849,"date":"2023-07-16T13:25:31","date_gmt":"2023-07-16T04:25:31","guid":{"rendered":"https:\/\/www.auctionpro.co.kr\/?p=8849"},"modified":"2025-02-26T11:18:46","modified_gmt":"2025-02-26T02:18:46","slug":"window-open","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=8849","title":{"rendered":"window.open"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">&lt;h2&gt; \uc608\uc57d \ub418\uc5c8\uc2b5\ub2c8\ub2e4. &lt;\/h2&gt;\n\n\n&lt;input type=\"button\" value=\"\uc608\uc57d\uc0c1\ud0dc \ubcf4\uae30\" class=\"btn btn-primary\" onclick=\"popup('@Html.Raw(ViewData[\"link\"])');\" \/&gt;\n\n&lt;script&gt;\n    function popup(url)\n    {\n         window.open(url, \"#1\", \"dialogHeight:600px;dialogHeight:400px;dialogWidth:700px;dialogTop:300px;dialogLeft:400px;edge:Raised;center:Yes;help:No;Resiable:No;Status:No;\");\n   }\n\n&lt;\/script&gt;<\/pre><\/div>\n\n\n\n<p>noticeWindow.opener = self; \ucf54\ub4dc\uac00 \ud31d\uc5c5 \ucc3d\uc744 \ud604\uc7ac \ucc3d\uc73c\ub85c \ub2e4\uc2dc \uc5f0\uacb0\ud558\ub294 \uae30\ub2a5\uc744 \uc218\ud589\ud558\ub294\ub370, \uc774 \ub300\uc2e0 \uc0c8\ub85c\uc6b4 \ud31d\uc5c5 \ucc3d\uc744 \uc5ec\ub294 \ucf54\ub4dc\ub85c \ubcc0\ud658\ud558\ub824\uba74 window.open()\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, window.open()\uc744 \uc0ac\uc6a9\ud574 \ud31d\uc5c5 \ucc3d\uc744 \ub744\uc6b0\ub824\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:java decode:true \">function openNoticeWindow() {\n    const url = \"https:\/\/example.com\";  \/\/ \uc6d0\ud558\ub294 URL\n    const popupFeatures = \"width=600,height=400,scrollbars=yes\";  \/\/ \uc6d0\ud558\ub294 \ud31d\uc5c5 \ucc3d \uc635\uc158\n    const noticeWindow = window.open(url, \"noticePopup\", popupFeatures);\n\n    if (noticeWindow) {\n        noticeWindow.focus();\n    } else {\n        alert(\"\ud31d\uc5c5 \ucc3d\uc744 \uc5f4 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \ud31d\uc5c5 \ucc28\ub2e8\uae30\ub97c \ud574\uc81c\ud574 \uc8fc\uc138\uc694.\");\n    }\n}\n<\/pre><\/div>\n\n\n\n<p>\ucf54\ub4dc \uc124\uba85<br>url: \ud31d\uc5c5\uc73c\ub85c \uc5f4 \ud398\uc774\uc9c0\uc758 URL\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<br>popupFeatures: \ud31d\uc5c5 \ucc3d\uc758 \ub108\ube44, \ub192\uc774, \uc2a4\ud06c\ub864 \uc5ec\ubd80 \ub4f1\uc758 \uc635\uc158\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<br>window.open() \ud568\uc218\ub85c \ud31d\uc5c5 \ucc3d\uc744 \ub744\uc6b4 \ub4a4, \uc5f4\ub9ac\uba74 focus()\ub85c \ucc3d\uc774 \ud3ec\ucee4\uc2a4\ub418\ub3c4\ub85d \ud569\ub2c8\ub2e4.<br>\uc774\ub807\uac8c \ud558\uba74 opener = self; \uc5c6\uc774\ub3c4 \uc0c8 \ucc3d\uc744 \ud31d\uc5c5\uc73c\ub85c \uc5f4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Asp (param \ucd94\uac00 \ud558\uae30 \uc27d\uac8c)<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:asp decode:true \">\/\/ \uae30\ubcf8 URL \uc124\uc815\nvar baseUrl = 'http:\/\/manort.kr\/New_Popup.asp';\n\n\/\/ \ucffc\ub9ac \ud30c\ub77c\ubbf8\ud130 \ubb38\uc790\uc5f4 \uc0dd\uc131 (\uac01 \ud30c\ub77c\ubbf8\ud130\ub294 URL \uc778\ucf54\ub529 \ucc98\ub9ac)\nvar queryParams =\n  'ID=' + encodeURIComponent(ID) +\n  '&amp;Number=' + encodeURIComponent(Number) +\n  '&amp;PCC=' + encodeURIComponent(PCC) +\n  '&amp;RN=' + encodeURIComponent(RN) +\n  '&amp;lang=' + encodeURIComponent(lang);\n\n\/\/ \uc804\uccb4 URL \uc0dd\uc131 (\ubb38\uc790\uc5f4 \uc5f0\uacb0 \ubc29\uc2dd)\nvar url = baseUrl + \"?\" + queryParams;\n\n\/\/ \ud31d\uc5c5 \ucc3d \uc635\uc158 \uc124\uc815\nvar windowOptions = 'width=700,height=900,left=100,top=100';\n\n\/\/ \ud31d\uc5c5 \ucc3d \uc5f4\uae30 \ubc0f \ubd80\ubaa8 \ucc3d \uc9c0\uc815\nvar noticeWindow = window.open(url, '', windowOptions);\nnoticeWindow.opener = self;\n<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>noticeWindow.opener = self; \ucf54\ub4dc\uac00 \ud31d\uc5c5 \ucc3d\uc744 \ud604\uc7ac \ucc3d\uc73c\ub85c \ub2e4\uc2dc \uc5f0\uacb0\ud558\ub294 \uae30\ub2a5\uc744 \uc218\ud589\ud558\ub294\ub370, \uc774 \ub300\uc2e0 \uc0c8\ub85c\uc6b4 \ud31d\uc5c5 \ucc3d\uc744 \uc5ec\ub294 \ucf54\ub4dc\ub85c \ubcc0\ud658\ud558\ub824\uba74 window.open()\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=8849\" title=\"window.open\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[31,224],"tags":[],"class_list":["post-8849","post","type-post","status-publish","format-standard","hentry","category-html","category-netcore"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>window.open - AuctionPro<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.auctionpro.co.kr\/?p=8849\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"window.open - AuctionPro\" \/>\n<meta property=\"og:description\" content=\"noticeWindow.opener = self; \ucf54\ub4dc\uac00 \ud31d\uc5c5 \ucc3d\uc744 \ud604\uc7ac \ucc3d\uc73c\ub85c \ub2e4\uc2dc \uc5f0\uacb0\ud558\ub294 \uae30\ub2a5\uc744 \uc218\ud589\ud558\ub294\ub370, \uc774 \ub300\uc2e0 \uc0c8\ub85c\uc6b4 \ud31d\uc5c5 \ucc3d\uc744 \uc5ec\ub294 \ucf54\ub4dc\ub85c \ubcc0\ud658\ud558\ub824\uba74 window.open()\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.auctionpro.co.kr\/?p=8849\" \/>\n<meta property=\"og:site_name\" content=\"AuctionPro\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-16T04:25:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-26T02:18:46+00:00\" \/>\n<meta name=\"author\" content=\"golgol\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"golgol\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=8849#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=8849\"},\"author\":{\"name\":\"golgol\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"headline\":\"window.open\",\"datePublished\":\"2023-07-16T04:25:31+00:00\",\"dateModified\":\"2025-02-26T02:18:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=8849\"},\"wordCount\":19,\"commentCount\":0,\"articleSection\":[\"[Dev]HTML\",\"NetCore\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=8849#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=8849\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=8849\",\"name\":\"window.open - AuctionPro\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\"},\"datePublished\":\"2023-07-16T04:25:31+00:00\",\"dateModified\":\"2025-02-26T02:18:46+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=8849#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=8849\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=8849#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"window.open\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\",\"name\":\"AuctionPro\",\"description\":\"\uc625\uc158\ud504\ub85c\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\",\"name\":\"golgol\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?author=6\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"window.open - AuctionPro","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.auctionpro.co.kr\/?p=8849","og_locale":"ko_KR","og_type":"article","og_title":"window.open - AuctionPro","og_description":"noticeWindow.opener = self; \ucf54\ub4dc\uac00 \ud31d\uc5c5 \ucc3d\uc744 \ud604\uc7ac \ucc3d\uc73c\ub85c \ub2e4\uc2dc \uc5f0\uacb0\ud558\ub294 \uae30\ub2a5\uc744 \uc218\ud589\ud558\ub294\ub370, \uc774 \ub300\uc2e0 \uc0c8\ub85c\uc6b4 \ud31d\uc5c5 \ucc3d\uc744 \uc5ec\ub294 \ucf54\ub4dc\ub85c \ubcc0\ud658\ud558\ub824\uba74 window.open()\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c [...]","og_url":"https:\/\/www.auctionpro.co.kr\/?p=8849","og_site_name":"AuctionPro","article_published_time":"2023-07-16T04:25:31+00:00","article_modified_time":"2025-02-26T02:18:46+00:00","author":"golgol","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"golgol","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.auctionpro.co.kr\/?p=8849#article","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=8849"},"author":{"name":"golgol","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"headline":"window.open","datePublished":"2023-07-16T04:25:31+00:00","dateModified":"2025-02-26T02:18:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=8849"},"wordCount":19,"commentCount":0,"articleSection":["[Dev]HTML","NetCore"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.auctionpro.co.kr\/?p=8849#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.auctionpro.co.kr\/?p=8849","url":"https:\/\/www.auctionpro.co.kr\/?p=8849","name":"window.open - AuctionPro","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/#website"},"datePublished":"2023-07-16T04:25:31+00:00","dateModified":"2025-02-26T02:18:46+00:00","author":{"@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"breadcrumb":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=8849#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.auctionpro.co.kr\/?p=8849"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.auctionpro.co.kr\/?p=8849#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/www.auctionpro.co.kr\/"},{"@type":"ListItem","position":2,"name":"window.open"}]},{"@type":"WebSite","@id":"https:\/\/www.auctionpro.co.kr\/#website","url":"https:\/\/www.auctionpro.co.kr\/","name":"AuctionPro","description":"\uc625\uc158\ud504\ub85c","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.auctionpro.co.kr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2","name":"golgol","url":"https:\/\/www.auctionpro.co.kr\/?author=6"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/8849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8849"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/8849\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}