|
|
Joined: Sep 2003
Posts: 803
Coder
|
Coder
Joined: Sep 2003
Posts: 803 |
I have a user that created a flash banner for me it looks awesome but I cant add it. What would be the code to make it display the .swf file instead of the jpg or gif?
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
Junior Member
Joined: May 2003
Posts: 1,068 |
Try this, change the name/path to your file and the demensions to match your own. It's also centered so you can play with that too. <br /><div align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="468" height="60"><br /> <param name=movie value="http://www.yoursite.com/test.swf"><br /> <param name=quality value=high><br /> <embed src="http://www.yoursite.com/test.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"><br /> </embed> <br /> </object></div><br />
|
|
|
|
Joined: Jun 2003
Posts: 1,025
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 1,025 |
This is our header code, you should be able to get it to work: <br /><body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br /><table align="center" width="100%" cellpadding="0" cellspacing="0"><br /> <tr> <br /> <td bgcolor="#003366"> <br /> <div align="center"> <br /> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"<br /> codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"<br /> width="780" height="89" align=""><br /> <param name=movie value="http://www.yourdomain.com/threadsinstall/yourheader.swf"><br /> <param name=menu value=false><br /> <param name=quality value=best><br /> <param name=bgcolor value=#000033><br /> <embed src="http://www.yourdomain.com/threadsinstall/yourheader.swf" width="780" height="89" align="" menu=false quality=best bgcolor=#000033<br /> type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer"></embed> <br /> </object><br /> </div></td><br /> </tr><br /></table><br /><table align="center" width="780" cellpadding="0" cellspacing="0"><tr><td><br />
|
|
|
|
Joined: Sep 2003
Posts: 803
Coder
|
Coder
Joined: Sep 2003
Posts: 803 |
Worked.
still playing with the settings....
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 21,079
Joined: March 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|