Flash-Datei im Banner von postnuke. Nur wie ?

Status
Nicht offen für weitere Antworten.

fritzje610

Mitglied
Hallo zusammen,

ich habe das Problem, dass ich eine .swf-Datei im Banner von postnuke laufen lassen muss. Allerdings weiß ich nicht, wie ich das bewerkstelligen soll. Hier ist mal der Quelltext der home.htm des verwendeten Themes:

HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="content-type" content="text/html; charset=<!--[charset]-->" />
<meta name="description" content="<!--[slogan]-->" />
<meta name="robots" content="index,follow" />
<meta name="resource-type" content="document" />
<meta http-equiv="expires" content="0" />
<meta name="author" content="<!--[sitename]-->" />
<meta name="copyright" content="copyright (c) 2004 by <!--[sitename]-->" />
<meta name="revisit-after" content="1 days" />
<meta name="distribution" content="global" />
<meta name="rating" content="general" />
<meta name="keywords" content="<!--[keywords]-->" />
<title><!--[sitename]--> :: <!--[slogan]--></title>
<link rel="stylesheet" href="<!--[$themepath]-->/style/style.css" type="text/css" />
<link rel="shortcut icon" href="<!--[$imagepath]-->/favicon.ico" />
<!--[additional_header]-->
<!--[modulestylesheet]-->
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<div id="wrap"> 
  <!--  S T A R T   T I T L E   H E A D   B A R  --> </!--></!--></!-->
  <div id="head">
    <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','350','height','220','src','banner1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','banner1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="350" height="220">
      <param name="movie" value="banner1.swf" />
      <param name="quality" value="high" />
      <embed src="banner1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="350" height="220"></embed>
    </object></noscript>
    <h1><font color="white"><!--[sitename]--></!--></font></!--></!--></a> 
            <span class="small"><br /></span></h1> 
    <p id="description"> 
      <!--[slogan]-->
</!--></!--></!-->    </p> 
  </div> 
  <!--  E N D   T I T L E   H E A D   B A R  --> </!--></!--></!-->
    
  <!--  S T A R T   L E F T   S I D E B A R  --> </!--></!--></!-->
  <div id="left">
        <!--[$leftblocks]-->
</!--></!--></!-->  </div> 
  <!--  E N D   L E F T   S I D E B A R  --> </!--></!--></!-->
    
  <!--  S T A R T   M A I N   C O N T E N T  --> </!--></!--></!-->
  <div id="main"> 
        <!--[$centerblocks]-->
</!--></!--></!-->       <!--[$maincontent]-->
</!--></!--></!-->  </div> 
  <!--  E N D   M A I N   C O N T E N T  --> </!--></!--></!-->
    
  <!--  S T A R T   F O O T E R   B A R  -->
</!--></!--></!-->    <div id="bot">
        <!--[footmsg]-->
</!--></!--></!-->    </div> 
    <!--  E N D   F O O T E R   B A R  -->
</!--></!--></!--></div> 
</body>
</html>

Dummerweise sieht man nur ein weißes Feld, das auch noch an der falschen Position ist.
Es sollte eigentlich links vom Bannertext stehen. Hier noch der Text der dazugehörigen css-Datei:

HTML:
/*
Theme Name: Sharepoint like
Description: Simple theme, looks like MS Sharepoint Services, translated in Bulgarian.
Version: 1.5
Author: ADMIN-BG
Author URI: http://www.admin-bg.info
*/

body { margin: 10px 0px 10px 0px; padding: 0px; background-color: #aaaaaa; font-family: Verdana, Arial, sans-serif; font-size: 12px; }

#wrap { height: 100%; margin-left: auto; margin-right: auto; width: 90%; border: 2px solid #2557AD; background-color: #FFFFDD; }

#head { clear: both; height: 110px; padding: 20px 40px 0px 40px; border-bottom: solid 5px #FFD275; background-color: #2557AD; font-family: Arial, Times, serif; text-align: center; }
#head h1 { font-size: 32px; margin: 0px; padding: 0px; font-weight: bold; letter-spacing: 1px; color: #FFD275; }
#head h1 a:link, #head h1 a:visited { color: #ffffff; text-decoration: none; font-family: Verdana, Arial, sans-serif; }
#head #description {color: #ffffff; font-size: 14px; font-weight: normal; padding: 0px 30px 0px 30px; }
#head .small { font-size: 14px; color: #FFD275; }

#bot { clear: both; background-color: #2557AD; border-top: 5px solid #FFD275; padding: 5px; font-size: 10px; text-align: center; }
#bot a { color: #FFFFFF; }


#main { margin-left: 230px; padding: 20px; border-left: 1px #FFD275; }
#main textarea { width: 90%; }

.postend { margin: 5px 0px 30px 0px; padding: 0px; text-align: center; color: #FFD275; font-size: 12px; line-height: 0px; }
.meta { font-size: 10px; color: #2557AD; margin-bottom: 15px; }
.meta a:link, .meta a:visited { color: #FFD275; }
.meta a:hover { color: #FFD2FF; }

blockquote { border: 5px #FFD275; background-color: #E0E1CE; margin-left: 30px; margin-right: 30px; padding: 0px 10px 0px 10px; }


#left { float: left; width: 210px; padding: 20px 10px 20px 10px; border-right: 5px #FFD275; }
#left ul { margin-left: 0px; padding-left: 0px; font-weight: bold; }
#left ul li { margin-left: 0px; padding-left: 0px; margin-bottom: 20px; list-style-type: none; }
#left ul ul { border-top: 1px solid #FFD275; font-weight: normal; padding: 0px; margin: 0px; }
#left ul ul li { border: none; padding: 0px; margin: 0px; font-weight: normal; list-style-type: none; display: block; }
#left ul ul li a:link, #left ul ul li a:visited { display: block; padding: 2px 0px 2px 10px; margin: 0px; background-color: #E1ECFC; color: #003399; border-bottom: 1px solid #FFd275; text-decoration: none; }
#left ul ul li a:hover { background-color: #2557AD; color: #FFFFFF; }
/* Fix IE spaces. Hide from IE Mac \*/
* ul li a { height: 1%; }
/* End */
#left h2 { margin: 0px; padding: 0px; font-weight: bold; font-size: 12px; border: none; background: none; color: #000000; }

#cal { margin: 0px 0px 10px 0px; border: 1px solid #FFD275; background-color: #E1ECFC; }
#cal caption { border-bottom: 1px solid #003399; padding: 2px; }
#wp-calendar { width: 100%; }
#wp-calendar thead { font-size: 10px; }
#wp-calendar td { text-align: center;  color: #0033FF; }
#wp-calendar td a:link, #wp-calendar td a:visited { font-weight: bold; text-decoration: none;  color: #003399; }
#wp-calendar td a:hover { color: #003399; }

#about { margin: 0px 0px 20px 0px; padding: 0px; }


h2 { font-size: 14px; margin: 0px 0px 20px 0px; padding: 3px; background-color: #003399; color: #ffffff; }
h3 { font-size: 12px; font-weight: bold; border-bottom: 1px dashed #2557AD; margin: 0px 0px 5px 0px; padding: 0px 0px 2px 0px; color: #2557AD; }
h3 a:link, h3 a:visited { color: #2557AD; text-decoration: none; font-family: Comic Sans MS, Verdana; font-size: 16px; font-weight: normal;}
h3 a:hover { color: red; }

a:link, a:visited { color: #2557AD; }
a:hover { color: #2557AD; }

.trackback { font-size: 10px; }

#commentlist { list-style-type: none; margin: 0px; padding: 0px; }
#commentlist li { list-style-type: none; margin-bottom: 10px; padding: 10px; background-color: #E1ECFC; border-top: 1px solid #FFD275; border-bottom: 1px solid #FFD275; }
#commentlist cite { margin: 7px 0px 0px 0px; padding: 0px; font-size: 10px; font-style: normal; }
#commentlist p { margin-top: 0px; padding-top: 0px; }

.storycontent { font-family: Comic Sans MS, Verdana; font-size: 13px; font-weight: normal;}

Wie kriege ich das nun hin, das das gewünschte Ergebnis erzielt wird ?



Vielen Dank für die Hilfe !


Gruß

Michael
 
Hi,

das Thema wäre wahrscheinlich eher was fürs html-Board, als fürs Flashforum. Kannst Du einen Link zu der Seite posten, wo man sich das Problem mal in Aktion ansehen kann?

Gruß
.
 
Hi,

die Site ist noch nicht online. Stelle sie aber spätestens Montag mal ein. Vielleicht kann je jemand auch so schon was damit anfangen.


Gruß

Michael
 
Hi,

meine Vermutung geht in die Richtung, dass Dein Doctype (xhtml 1.0 strict) nicht mit dem embed-Tag zurechtkommt.

Ich verschiebe das Thema sicherheitshalber mal ins html-Forum.

Gruß
.
 
Hi,
ich habe mal postnuke auf meinem Webspace installiert und das Theme aus der betreffenden Installation übernommen. Wie man sieht, ist nur ein weißes Feld zu sehen, aber der Flash läuft dummerweise nicht. Außerdem sieht man auf der Startsite den Site-Name nicht. Hier man sich das Ganze mal ansehen. Vielleicht seht ihr ja wo es klemmt. Vielen Dank !


Gruß

Michael
 
Hi,


habe den Fehler gefunden. Dasx swf-File lag am falschen Platz. Die Überschrift ist auch wieder da. Vielen Dank an alle die mir geholfen haben.


Gruß

Michael
 
Hi,

ich doch noch einmal. Hier der aktuelle Link zu Site. Das ist der endgültige Platz, wo sie bleibt. Dummerweise läuft das Flash nur unter FF und Opera. Im IE tut sich gar nichts, egal ob IE6 oder 7. Die beiden Scripts habe ich hoch geladen und die liegen auch dort wo die html geholt wird. Der direkte Aufruf des Flashs funktioniert in beiden Versionen. Scheinbar ist der Aufruf irgendwo noch nicht so, dass er von jedem Browser gelesen werden kann. Nur wo?


Gruß

Michael
 
Oben im Banner soll links neben dem Seitenname ein Flash ablaufen. Im FF sieht man es auch. Im IE sieht man es nicht und ich weiß eben nicht, warum das so ist und wie ich das gefixt bekomme.

Gruß

Michael
 
Status
Nicht offen für weitere Antworten.
Zurück