{"id":1958,"date":"2012-11-01T18:38:11","date_gmt":"2012-11-01T18:38:11","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/11\/01\/open-same-window\/"},"modified":"2021-08-16T23:29:48","modified_gmt":"2021-08-17T03:29:48","slug":"open-same-window","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/","title":{"rendered":"Controlling which windows banners open into in Joomla 3.1"},"content":{"rendered":"<p>There are many settings available for <a href=\"\/support\/website\/introduction-memcached-server-side-caching\/\">banners in Joomla 3.0<\/a>. One such setting, which we discussed in our last article, is <a href=\"\/support\/edu\/joomla\/joomla-3\/banner-size\/\">adjusting your banner size<\/a>. In this tutorial, we will review how you can control the window that banner clicks open up to.<\/p>\n<p>This setting in Joomla is referred to as:<\/p>\n<p><strong>Target<\/strong><br \/><em>Target window when the link is clicked<\/em><\/p>\n<p>\u00a0<\/p>\n<h2>The following options are available:<\/h2>\n<p>Below we have outlined the three target options that are avaiable for you to choose. We&#8217;ve also listed the HTML syntaxt that Joomla uses when you choose each of these settings.<\/p>\n<p>\u00a0<\/p>\n<h3>Open in parent window<\/h3>\n<p>Normal link behavior. When the link is clicked, the user navigates to the new page in the current browser window<\/p>\n<div class=\"code_block\">&lt;a<br \/>href=&#8221;\/index.php\/component\/banners\/click\/1&#8243;&gt;<\/div>\n<p>\u00a0<\/p>\n<h3>Open in new window<\/h3>\n<p>When the user clicks the link, the link appears in a new tab<\/p>\n<div class=\"code_block\">&lt;a<br \/>href=&#8221;\/index.php\/component\/banners\/click\/1&#8243; <span style=\"color: #ff0000;\"><strong>target=&#8221;_blank&#8221;<\/strong><\/span>&gt;<\/div>\n<p>\u00a0<\/p>\n<h3>Open in popup<\/h3>\n<p>After clicking the link, the URL opens up in an entirely different window<\/p>\n<div class=\"code_block\">&lt;a<br \/>href=&#8221;\/index.php\/component\/banners\/click\/1&#8243;<br \/><span style=\"color: #ff0000;\"><strong>onclick=&#8221;window.open(this.href, &#8221;,&#8217;toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=550&#8242;); return false&#8221;<\/strong><\/span><br \/>&gt;<\/div>\n<p>\u00a0<\/p>\n<h2>Changing the banner target<\/h2>\n<p>This tutorial assumes that you&#8217;ve created a banner and are <a href=\"\/support\/edu\/joomla\/joomla-3\/show-banner\/\">showing it with a banner module<\/a>.<\/p>\n<ol class=\"article_list\">\n<li>Log into your Joomla 3 admin dashboard<\/li>\n<li>In the top menu, click <strong>Extensions<\/strong> and then click <strong>Module Manager<\/strong><\/li>\n<li>In the list of modules on the page, click the banner module that you would like to work with<\/li>\n<li>Click the <strong>Basic Options<\/strong> tab at the top of the page<\/li>\n<li>Find the <strong>Target<\/strong> setting, choose your desired option to the right, and then click the <strong>Save<\/strong> button in the top left<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>There are many settings available for banners in Joomla 3.0. One such setting, which we discussed in our last article, is adjusting your banner size. In this tutorial, we will review how you can control the window that banner clicks open up to. This setting in Joomla is referred to as: TargetTarget window when the<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4403,94],"tags":[4404],"class_list":["post-1958","post","type-post","status-publish","format-standard","hentry","category-joomla","category-joomla-3","tag-joomla-v3"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Controlling which windows banners open into in Joomla 3.1 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Besides opening in the current window, you can configure Joomla 3.0 banners to open in a new tab or in a new window.\" \/>\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.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Controlling which windows banners open into in Joomla 3.1 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Besides opening in the current window, you can configure Joomla 3.0 banners to open in a new tab or in a new window.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-01T18:38:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:29:48+00:00\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"Controlling which windows banners open into in Joomla 3.1\",\"datePublished\":\"2012-11-01T18:38:11+00:00\",\"dateModified\":\"2021-08-17T03:29:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/\"},\"wordCount\":296,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"keywords\":[\"Joomla v3\"],\"articleSection\":[\"Joomla\",\"Joomla 3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/\",\"name\":\"Controlling which windows banners open into in Joomla 3.1 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2012-11-01T18:38:11+00:00\",\"dateModified\":\"2021-08-17T03:29:48+00:00\",\"description\":\"Besides opening in the current window, you can configure Joomla 3.0 banners to open in a new tab or in a new window.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Controlling which windows banners open into in Joomla 3.1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Controlling which windows banners open into in Joomla 3.1 | InMotion Hosting","description":"Besides opening in the current window, you can configure Joomla 3.0 banners to open in a new tab or in a new window.","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.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/","og_locale":"en_US","og_type":"article","og_title":"Controlling which windows banners open into in Joomla 3.1 | InMotion Hosting","og_description":"Besides opening in the current window, you can configure Joomla 3.0 banners to open in a new tab or in a new window.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-11-01T18:38:11+00:00","article_modified_time":"2021-08-17T03:29:48+00:00","author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"Controlling which windows banners open into in Joomla 3.1","datePublished":"2012-11-01T18:38:11+00:00","dateModified":"2021-08-17T03:29:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/"},"wordCount":296,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"keywords":["Joomla v3"],"articleSection":["Joomla","Joomla 3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/","name":"Controlling which windows banners open into in Joomla 3.1 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2012-11-01T18:38:11+00:00","dateModified":"2021-08-17T03:29:48+00:00","description":"Besides opening in the current window, you can configure Joomla 3.0 banners to open in a new tab or in a new window.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-3\/open-same-window\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Controlling which windows banners open into in Joomla 3.1"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=1958"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1958\/revisions"}],"predecessor-version":[{"id":85386,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1958\/revisions\/85386"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}