MyBB Community Forums

Full Version: Code Help Please
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to add this in my header_guest

<div align="center"><param name=movie value="http://www.gjsports.co.uk/images/ads/gjbanner468x60.swf">
      <param name=quality value=high>
      <embed src="http://www.gjsports.co.uk/images/ads/gjbanner468x60.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">
      </embed></div>

When i add it, that page goes massive and all out of order.

How can i add it so it just shows the banner and the page stays "normal" lol.

Thanks
It should messed up your forum header as it is using /embed mycode,
Try using <i frame> mycode to solve the problem,,

Occasionally I didnot suggest to use this swf extension flash file in the header, Use a linkt o display this kind of file, to any where else
Ghazal, the whole point of a flash movie is for it to be seen, not linked to. Your iframe solution is probably the worst I could think of...

nathandawe, the code you've posted looks fine to me. Where exactly are you placing this in the template?
Images attatched.
Thanks for help .. not
(2009-05-11, 04:00 PM)nathandawe Wrote: [ -> ]Thanks for help .. not

Nathandawe, remember we're volunteers here and don't always have the opportunity to answer your questions with a rapid response. We can only answer your questions as quickly as we can. Personally, I think a response within 24 hours is pretty good support considering this isn't even a MyBB problem.

Your code doesn't seem correct. Other than that, I can't see a problem.

<div align="center"><param name="movie" value="http://www.gjsports.co.uk/images/ads/gjbanner468x60.swf">
      <param name="quality" value="high">
      <embed src="http://www.gjsports.co.uk/images/ads/gjbanner468x60.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">
      </embed></div>
Any body know?
Try removing that extra </center> tag you have after 'to find out more' and secondly, remove the align="center" from your div tag you are adding; you have about 3 centerings when only one is needed.

What's happening is there's an extra </div> tag terminating your layout.