-
Help with changing the banner image!!
Hello,
I am trying to change the banner of a website which is ".jpg" format into a flash file.
At First I thought if I upload the .SWF file into the .JPG directory and then change the name from register.jpg into banner.swf in the header.tpl.php then it will show the banner.swf in the homepage!! But when I changed the register.jpg to banner.swf file and looked at the homepage of the site there was a small squer showing instead of the banner.swf!!
Here is where I changed the name:
<center><a href="http://www.rematerd.com/register.php"><img src="http://www.rematerd.com/images/register.jpg" title="Subasta al Mejor Postor"</a><center/>
in the above code I just changed the regsiter.jpg into banner.swf but the banner.swf didn't show up!
This must be very simple to do but I can't find the way for some reason!
Any help or advise will be much appreciated.
Thank you
Kind Regards
-
-
You're going to need to embed it into your page. Give this a shot: http://animation.about.com/od/flasha...swfwebpage.htm
-
-
Images use an <img> tag. Flash is NOT an image (even though it's a"picture"). It uses a different type of embedding, either an <embed> or <object> tag, or actually usually BOTH to make it work in most browsers. Nile's information above will help, and there's a lot more information on google.
Note: you posted this in PHP for some reason, so I've moved it to HTML where it belongs. (The flash section would be fine too, but since this is about the html code, it's good there.) If this IS related to PHP, explain why and it can be moved back.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks