News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Flash banner auto size

Started by Kardamilas, February 21, 2015, 08:33:33 PM

Previous topic - Next topic

Kardamilas

Goodevening,i managed to add flash banner to my forum but i cant make it to auto adjust its
width depending screen resolution...

my code is below if someone can help.

function template_body_above()
{
   global $context, $settings, $options, $scripturl, $txt, $modSettings;

   echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
   <div id="header"><div class="frame">
      <div id="top_section">
         <h1 class="forumtitle">
            <a href="', $scripturl, '"><embed src="http://just11.gr/banner3.swf" width="1097" height="121" alt="' . $context['forum_name'] . '" /></a>
         </h1>';



My forum is this

http://www.tdmhellas.gr/ [nofollow]

thanks in advance

Kardamilas


Advertisement: