axius Posted November 14, 2007 Posted November 14, 2007 Hi, im pretty new to OSC, set up the website and now i want to replace the .jpg banner with a .swf banner, so i have opened up header.php and edited it so it looks for main.swf instead of main.jpg and uploaded the new image, and deleted the old one out of the directory. but still it will not pick up the flash banner, can someone please help me and let me know how to add this correctly. thank you for your time.
Guest Posted November 14, 2007 Posted November 14, 2007 Hi, im pretty new to OSC, set up the website and now i want to replace the .jpg banner with a .swf banner, so i have opened up header.php and edited it so it looks for main.swf instead of main.jpg and uploaded the new image, and deleted the old one out of the directory.but still it will not pick up the flash banner, can someone please help me and let me know how to add this correctly. thank you for your time. you need to have the swfobject.js file in your directory and call it in your code in order to display your flash element. When you do put in your flash element, you have to do it like this: <div id="flashcontent1">365RX Store</div> <script type="text/javascript"> var so1 = new SWFObject("includes/nav.swf", "Header", "217", "185", "8", "#000000"); so1.write("flashcontent1"); </script> that's just an example of some flash element that I used for a osC site that I did before. I hope that helps, and make sure you find that swfobject.js file
axius Posted November 14, 2007 Author Posted November 14, 2007 Thanks buddy :) fixed it now. thank you again.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.