Using HTML to show a swf flash banner in Joomla 3.0
Written by Brad MarkleIn 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 the banner).
Steps for using HTML as a banner in Joomla 3.0:
In the following steps we'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'd like. These steps assume that you already have the HTML ready that you want to use.
- Log into your Joomla 3.0 admin dashboard
- In the top menu, click Components and then click Banners
- Click New in the top left of the page
- Enter the details of your new banner and then click Save in the top left of the page. These are the details we entered:
Name 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.
We entered My Flash BannerCategory 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.
We haven't created an categories yet, so we left this option as UncategorisedType Select Custom as the banner type. Custom Code After setting Custom as the banner Type, you will see a Custom Code textbox appear. This is where you will need to enter the HTML that is required for your banner. We entered the following code: <div style="width:150px;height:100px;">
<object type="application/x-shockwave-flash" data="http://domain.com/banner.swf" width="150" height="100">
<param name="movie" value="http://domain.com/banner.swf">
<param name="wmode" value="opaque"> <param name="flashvars" value="direct_link=true">
<embed src="http://domain.com/banner.swf" width="150" height="100" wmode="opaque" flashvars="direct_link=true" />
</object>
</div>That's all there is to it! After you've created a banner module to show this banner, you're flash / HTML banner will now show on your Joomla 3.0 website.
Like this Article?
Tweet
Working with Banners in Joomla 3.0
Creating and Showing Banners | |
| 1. | How to create a new image banner in Joomla 3.0 |
| 2. | Using HTML to show a swf flash banner in Joomla 3.0 |
| 3. | How to show a banner in Joomla 3.0 |
Banner Categories and Clients | |
| 4. | How to create a banner Category in Joomla 3.0 |
| 5. | How to create a Banner Client in Joomla 3.0 |
Impression and Click Data | |
| 6. | Tracking Banner Impressions and Clicks in Joomla 3.0 |
Miscellaneous Tutorials | |
| 7. | How to change Joomla 3.0 Banner Sizes |
| 8. | Controlling which windows banners open into in Joomla 3.0 |
| 9. | Rotating Banners in Joomla 3.0 |
| 10. | How to show Joomla 3.0 banners side by side |
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed more Help?
Search
Ask the Community!
Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |

