{"id":1956,"date":"2012-11-01T14:54:08","date_gmt":"2012-11-01T14:54:08","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/11\/01\/banner-code\/"},"modified":"2021-11-19T01:58:10","modified_gmt":"2021-11-19T06:58:10","slug":"banner-code","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/","title":{"rendered":"Using HTML to show a swf flash banner in Joomla 3.1"},"content":{"rendered":"<p>In a previous tutorial, we showed you <a href=\"\/support\/edu\/joomla\/joomla-3\/create-banner\/\">how to create a Joomla 3.0 banner using an image<\/a>. Not all banners are images however, some banners may be flash banners (.swf files) for example. To show a flash banner, you will need to enter HTML code when creating the banner (instead of defining an image as the banner).<\/p>\n<h2>Steps for using HTML as a banner in Joomla 3.0<\/h2>\n<p>In the following steps we&#8217;ll show you how to create a banner using HTML instead of an image. If your banner is not an image, most likely it will be a flash banner, but it could be any HTML that you&#8217;d like. These steps assume that you already have the HTML ready that you want to use.<\/p>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/joomla\/joomla-3\/how-to-log-in-to-administrative-dashboard\/\">Log into your Joomla 3.0 admin dashboard<\/a><\/li>\n<li>In the top menu, click <strong>Components<\/strong> and then click <strong>Banners<\/strong><\/li>\n<li>Click <strong>New<\/strong> in the top left of the page<\/li>\n<li>Enter the details of your new banner and then click <strong>Save<\/strong> in the top left of the page. These are the details we entered:<br \/>\n<table class=\"article_table\">\n<tbody>\n<tr>\n<th>Name<\/th>\n<td>Enter a name for your banner. This name will not appear on your website, but will instead show in your Joomla dashboard, and help you manage this particular banner.<\/p>\n<p>We entered <em>My Flash Banner<\/em><\/td>\n<\/tr>\n<tr>\n<th>Category<\/th>\n<td>Select a category for the banner. If you plan to use many banners on your site, you may find it to be a good idea to create categories to help organize your banners.<\/p>\n<p>We haven&#8217;t created an categories yet, so we left this option as\u00a0<i>Uncategorized<\/i><\/td>\n<\/tr>\n<tr>\n<th>Type<\/th>\n<td>Select <strong>Custom<\/strong> as the banner type.<\/td>\n<\/tr>\n<tr>\n<th>Custom Code<\/th>\n<td>After setting <em>Custom<\/em> as the banner <em>Type<\/em>, you will see a <strong>Custom Code <\/strong>textbox appear. This is where you will need to enter the HTML that is required for your banner. We entered the following code:<\/p>\n<pre class=\"code_block\">&lt;div style=\"width:150px;height:100px;\"&gt;\n   &lt;object type=\"application\/x-shockwave-flash\" data=\"https:\/\/domain.com\/banner.swf\" width=\"150\" height=\"100\"&gt;\n      &lt;param name=\"movie\" value=\"https:\/\/domain.com\/banner.swf\"&gt;\n      &lt;param name=\"wmode\" value=\"opaque\"&gt; &lt;param name=\"flashvars\" value=\"direct_link=true\"&gt;\n      &lt;embed src=\"https:\/\/domain.com\/banner.swf\" width=\"150\" height=\"100\" wmode=\"opaque\" flashvars=\"direct_link=true\" \/&gt;\n   &lt;\/object&gt;\n&lt;\/div&gt;<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>That&#8217;s all there is to it! After you&#8217;ve <a href=\"\/support\/edu\/joomla\/joomla-3\/show-banner\/\">created a banner module<\/a> to show this banner, your flash \/ HTML banner will now show on your Joomla 3.0 website.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In a previous tutorial, we showed you how to create a Joomla 3.0 banner using an image. Not all banners are images however, some banners may be flash banners (.swf files) for example. To show a flash banner, you will need to enter HTML code when creating the banner (instead of defining an image as<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/\"> 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,4288],"tags":[4404],"class_list":["post-1956","post","type-post","status-publish","format-standard","hentry","category-joomla","category-joomla-3","category-website","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>Using HTML to show a swf flash banner in Joomla 3.1 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Not all banners are images. In this tutorial, we&#039;ll explain how to use HTML in a Joomla 3.0 banner to show a flash banner.\" \/>\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\/website\/banner-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using HTML to show a swf flash banner in Joomla 3.1 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Not all banners are images. In this tutorial, we&#039;ll explain how to use HTML in a Joomla 3.0 banner to show a flash banner.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/\" \/>\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-01T14:54:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-19T06:58:10+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"Using HTML to show a swf flash banner in Joomla 3.1\",\"datePublished\":\"2012-11-01T14:54:08+00:00\",\"dateModified\":\"2021-11-19T06:58:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/\"},\"wordCount\":340,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"keywords\":[\"Joomla v3\"],\"articleSection\":[\"Joomla\",\"Joomla 3\",\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/\",\"name\":\"Using HTML to show a swf flash banner in Joomla 3.1 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2012-11-01T14:54:08+00:00\",\"dateModified\":\"2021-11-19T06:58:10+00:00\",\"description\":\"Not all banners are images. In this tutorial, we'll explain how to use HTML in a Joomla 3.0 banner to show a flash banner.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using HTML to show a swf flash banner 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":"Using HTML to show a swf flash banner in Joomla 3.1 | InMotion Hosting","description":"Not all banners are images. In this tutorial, we'll explain how to use HTML in a Joomla 3.0 banner to show a flash banner.","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\/website\/banner-code\/","og_locale":"en_US","og_type":"article","og_title":"Using HTML to show a swf flash banner in Joomla 3.1 | InMotion Hosting","og_description":"Not all banners are images. In this tutorial, we'll explain how to use HTML in a Joomla 3.0 banner to show a flash banner.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-11-01T14:54:08+00:00","article_modified_time":"2021-11-19T06:58:10+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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"Using HTML to show a swf flash banner in Joomla 3.1","datePublished":"2012-11-01T14:54:08+00:00","dateModified":"2021-11-19T06:58:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/"},"wordCount":340,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"keywords":["Joomla v3"],"articleSection":["Joomla","Joomla 3","Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/","name":"Using HTML to show a swf flash banner in Joomla 3.1 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2012-11-01T14:54:08+00:00","dateModified":"2021-11-19T06:58:10+00:00","description":"Not all banners are images. In this tutorial, we'll explain how to use HTML in a Joomla 3.0 banner to show a flash banner.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/banner-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Using HTML to show a swf flash banner 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":{"id":4288,"name":"Website","slug":"website","link":"https:\/\/www.inmotionhosting.com\/support\/website\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1956","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=1956"}],"version-history":[{"count":5,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1956\/revisions"}],"predecessor-version":[{"id":92085,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1956\/revisions\/92085"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}