[Flash] header

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • [Flash] header

    hallo jungs ich wollte mal nachfragen ob es möglich ist eine flashdatei als header anzeigen zu lassen.

    hier mal die css vom template. hab es nur bis zum header gemacht das ding ist noch länger.

    PHP-Code:
    /* CSS Document */


    html {
    height 100%;
    }
    body {
    line-height 110%;
    font-family VerdanaArialHelveticasans-serif;
    font-size 13px;
    padding 0;
    margin 0;
    color #fafafa;
    background-color #20201f;
    background-image url(../images/bg.gif);
    background-repeat repeat;
    }
    body.contentpane {
    color #333333;
    background none;
    background-color #ffffff;
    }
    .
    clr {
    clear both;
    }
    .
    blog {
    width 100%;
    }
    #top_menu {
    width 100%;
    float left;
    height 40px;
    padding 0;
    margin 0;
    overflow visible;
    background-color #333333;
    background-image url(../images/top_menu.gif);
    background-repeat repeat-x;
    }
    #top_menu_inner {
    overflow visible;
    height 38px;
    padding 0;
    margin 0;
    padding-top 2px;
    }
    #top_menu_top {
    float left;
    height auto;
    background-color #101010;
    margin 0;
    padding 0;
    width 100%;
    background-image url(../images/top.gif);
    background-repeat repeat-x;
    }
    #top_menu_top_inner {
    height auto;
    margin 0;
    overflow hidden;
    color #fafafa;
    padding-left 5px;
    padding-right 5px;
    margin-top 5px;
    padding-top 5px;
    }
    #top_menu_top_two {
    float left;
    height 40px;
    background-color #333333;
    margin 0;
    padding 0;
    width 100%;
    background-image url(../images/top_menu_two.gif);
    background-repeat repeat-x;
    }
    #top_menu_top_two_inner {
    height 30px;
    padding 0;
    margin 0;
    float right;
    padding-top 2px;
    }
    #banner {
    float right;
    color #999999;
    padding-top 35px;
    padding-right 20px;
    }
    #banner_inner {
    border 4px solid #2c2c2c;
    padding 0;
    margin 0;
    }
    #banner_inner:hover {
    border 4px solid #444444;
    }
    #pathway {
    height 30px;
    color #2c2c2c;
    margin-bottom 4px;
    margin-left 4px;
    margin-right 4px;
    background-color #181818;
    background-image url(../images/pathway.gif);
    background-repeat no-repeat;
    margin-top 2px;
    border 1px solid #2c2c2c;
    }
    #pathway_text {
    font-family GenevaArialHelveticasans-serif;
    font-size 13px;
    overflow hidden;
    display block;
    height 30px;
    line-height 30px !important;
    line-height 22px;
    color #dcdcdc;
    float left;
    padding-left 40px;
    font-weight normal;
    font-variant small-caps;
    }
    #pathway_text a:hover {
    color #efefef;
    text-decoration none;
    }
    #pathway_text img {
    margin-left 2px;
    margin-right 2px;
    margin-top 6px;
    }
    #buttons {
    float left;
    margin 2px;
    padding 2px;
    width auto;
    }
    ul#mainlevel-nav {
    list-style none;
    padding 0;
    margin 0;
    font-size 11px;
    }
    ul#mainlevel-nav li {
    background-image url(../images/top_nav.gif);
    background-repeat repeat-x;
    color #efefef;
    font-family GenevaArialHelveticasans-serif;
    font-weight bold;
    float left;
    margin 0;
    padding 0;
    border-right 1px solid #2c2c2c;
    font-size 11px;
    height 35px;
    line-height 35px;
    white-space nowrap;
    }
    ul#mainlevel-nav li a {
    text-align center;
    font-family GenevaArialHelveticasans-serif;
    font-weight bold;
    font-size 11px;
    display block;
    padding-left 30px;
    padding-right 30px;
    text-decoration none;
    color #ffffff;
    background transparent;
    }
    #buttons > ul#mainlevel-nav li a {
    width auto;
    }
    ul#mainlevel-nav li a:hover {
    background-image url(../images/top_nav_hover.gif);
    background-repeat repeat-x;
    color #efefef;
    font-family GenevaArialHelveticasans-serif;
    font-weight bold;
    padding-left 30px;
    padding-right 30px;
    float left;
    margin 0;
    font-size 11px;
    white-space nowrap;
    }
    ul#mainlevel-nav li a#active_menu-nav {
    background-image url(../images/top_nav_active.gif);
    background-repeat repeat-x;
    color #ffffff;
    font-family GenevaArialHelveticasans-serif;
    font-weight bold;
    float left;
    margin 0;
    padding-left 30px;
    padding-right 30px;
    font-size 11px;
    height 35px;
    line-height 35px;
    white-space nowrap
    }
    ul#mainlevel-nav li a#active_menu-nav:hover {
    background-image url(../images/top_nav_active_hover.gif);
    background-repeat repeat-x;
    color #efefef;
    font-family GenevaArialHelveticasans-serif;
    font-weight bold;
    text-decoration line-through;
    float left;
    margin 0;
    padding-left 30px;
    padding-right 30px;
    font-size 11px;
    height 35px;
    line-height 35px;
    white-space nowrap
    }
    #search_inner_form {
    padding 2px;
    margin 2px;
    float right;
    width 180px;
    height 24px;
    margin-top 8px;
    margin-right 5px;
    }
    #search_inner {
    padding 2px;
    margin 2px;
    color #999999;
    font-family VerdanaArialHelveticasans-serif;
    font-size 11px;
    float right;
    height 24px;
    width 160px;
    padding-top 4px;
    }
    #header {
    height 140px;
    float left;
    width 100%;
    padding 0;
    margin 0;
    background-color #333333;
    background-image url(../images/header.jpg);
    background-repeat repeat-x;
    background-position center 0;
    }
    #content_top {
    background-image url(../images/content_top.gif);
    background-repeat no-repeat;
    height 28px;
    }
    #content_top_bar {
    width 100%;


    auf einer normalen htmlseite kann ich die flashdatei anzeigen lassen.

    <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    WIDTH=1680 HEIGHT=140>
    <PARAM NAME=movie VALUE="templates/Carbon_07/images/header.swf">
    <PARAM NAME=menu VALUE=false>
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=wmode VALUE=opaque>
    <PARAM NAME=scale VALUE=noscale>
    <EMBED src=templates/Carbon_07/images/header.swf menu=false quality=high wmode=opaque
    scale=noscale WIDTH=1680 HEIGHT=140 TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    </OBJECT>

  • #2
    Und schon mal ausprobiert die Datei in den Header einzubetten?
    Die Regeln | rtfm | register_globals | strings | SQL-Injections | [COLOR=silver][[/COLOR][COLOR=royalblue]–[/COLOR][COLOR=silver]][/COLOR]

    Kommentar


    • #3
      ja ich hab anstatt den pfad vom bild den javascriptcode genommen.


      oder was meinst du wie ich das einbetten soll.


      gruss


      scofield

      Kommentar


      • #4
        Das Flash Objekt hat doch nichts mit dem Stylesheet zutun. Das Objekt gehört natürlich in den HtML Code.
        Die Regeln | rtfm | register_globals | strings | SQL-Injections | [COLOR=silver][[/COLOR][COLOR=royalblue]–[/COLOR][COLOR=silver]][/COLOR]

        Kommentar


        • #5
          das versteh ich nicht ganz.

          also das ganze läuft unter joomla. und ich finde das es doch die einzigste möglichkeit ist die flashdatei als header einzubinden.

          ich muss doch in der css den headerpfad eingeben.

          kannst du mir da genauer helfen. ich bin da noch anfänger drin.



          trotz allem schon mal großen dank.

          Kommentar


          • #6
            das ist die html von meinem template wo muss ich dann den cod eingeben für die flash datei



            PHP-Code:
            <?php
            defined
            '_VALID_MOS' ) or die( 'Restricted access' );
            // needed to seperate the ISO number from the language file constant _ISO
            $iso explode'='_ISO );
            // xml prolog
            echo '<?xml version="1.0" encoding="'$iso[1] .'"?' .'>';
            ?>
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
            <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
            <?php mosShowHead(); ?>
            <?php
            if ( $my->id ) {
                
            initEditor();
            }
            $collspan_offset = ( mosCountModules'right''left' ) + mosCountModules'user2' ) ) ? 1;
            //script to determine which div setup for layout to use based on module configuration
            $user1 0;
            $user2 0;
            $colspan 0;
            $right 0;
            $left 0;
            $banner 0;
            $user3 0;
            $user4 0;
            $top 0;
            // banner combos
            //user1 combos
            if ( mosCountModules'user1' ) + mosCountModules'user2' ) == 2) {
                
            $user1 2;
                
            $user2 2;
                
            $colspan 3;
            } elseif ( 
            mosCountModules'user1' ) == ) {
                
            $user1 1;
                
            $colspan 1;
            } elseif ( 
            mosCountModules'user2' ) == ) {
                
            $user2 1;
                
            $colspan 1;
            }
            //banner based combos
            if ( mosCountModules'banner' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
                
            $banner 1;
            }
            //right based combos
            if ( mosCountModules'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
                
            $right 1;
            }
            //left based combos
            if ( mosCountModules'left' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
                  
            $left 1;
            }
            //top based combos
            if ( mosCountModules'top' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
                  
            $top 1;
            }
            //user4 based combos
            if ( mosCountModules'user4' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
                  
            $user4 1;
            }
            //user3 based combos
            if ( mosCountModules'user3' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
                  
            $user3 1;
            }
            ?>
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
            <?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ?>
            </head>
            <body>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td><div id="header">
                    <?php
                                        
            if ( $banner ) {
                                      
            ?>
                    <div id="banner">
                      <div id="banner_inner">
                        <?php mosLoadModules"banner", -); ?>
                      </div>
                    </div>
                    <?php
                                  
            }
                                  
            ?>
                  </div></td>
              </tr>
              <?php
                                        
            if ( $user3 ) {
                                      
            ?>
              <tr>
                <td><div id="top_menu">
                    <div id="top_menu_inner">
                      <?php mosLoadModules 'user3' ); ?>
                    </div>
                  </div></td>
              </tr>
              <?php
                                  
            }
                                  
            ?>
              <?php
                                        
            if ( $user4 ) {
                                      
            ?>
              <tr>
                <td><div id="top_menu_top_two">
                    <div id="top_menu_top_two_inner">
                      <div id="search_inner">
                        <form action="index.php" method="post">
                          <div align="center">
                            <input class="inputbox" type="text" name="searchword" size="15" value="<?php echo _SEARCH_BOX?>"  onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX?>') this.value='';" />
                            <input type="hidden" name="option" value="search" />
                          </div>
                        </form>
                      </div>
                    </div>
                  </div></td>
              </tr>
              <?php
                                  
            }
                                  
            ?>
              <?php
                                        
            if ( $top ) {
                                      
            ?>
              <tr>
                <td><div id="top_menu_top">
                    <div id="top_menu_top_inner">
                      <?php mosLoadModules 'top' ); ?>
                    </div>
                  </div></td>
              </tr>
              <?php
                                  
            }
                                  
            ?>
              <tr>
                <td id="content_outer" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0" class="content_table">
                    <tr valign="top">
                      <?php
                                        
            if ( $left ) {
                                      
            ?>
                      <td><div id="left_outer">
                          <div id="left_top"></div>
                          <div id="left_inner_float">
                            <div id="left_inner">
                              <?php mosLoadModules 'left', -); ?>
                            </div>
                          </div>
                          <div id="left_bottom"></div>
                        </div></td>
                      <?php
                                  
            }
                                  
            ?>
                      <td align="center" width="100%" id="content"><div align="center">
                          <div id="content_top_bar">
                            <div id="content_top">
                              <div id="content_right_top"></div>
                            </div>
                          </div>
                        </div>
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="content">
                          <tr>
                            <td colspan="<?php echo $colspan?>"><div id="pathway">
                                <div id="pathway_text">
                                  <?php mosPathWay(); ?>
                                </div>
                              </div>
                              <div id="main_content">
                                <?php mosMainBody(); ?>
                              </div></td>
                          </tr>
                          <?php
                                            
            if ($colspan 0) {
                                            
            ?>
                          <tr valign="top">
                            <?php
                                                  
            if ( $user1 ) {
                                                      
            ?>
                            <td width="50%"><div id="user1_outer">
                                <div class="user1_inner">
                                  <?php mosLoadModules 'user1', -); ?>
                                </div>
                              </div></td>
                            <?php
                                                  
            }
                                                  if ( 
            $colspan == 3) {
                                                     
            ?>
                            <?php
                                                    
            }
                                                  if ( 
            $user2 ) {
                                                      
            ?>
                            <td width="50%"><div id="user2_outer">
                                <div class="user2_inner">
                                  <?php mosLoadModules 'user2', -); ?>
                                </div>
                              </div></td>
                            <?php
                                                  
            }
                                                    
            ?>
                          </tr>
                          <tr>
                            <td colspan="<?php echo $colspan?>"></td>
                          </tr>
                          <?php
                                                
            }
                                            
            ?>
                        </table>
                        <div align="center">
                          <div id="content_bottom_bar">
                            <div id="content_bottom">
                              <div id="content_right_bottom"></div>
                            </div>
                          </div>
                        </div></td>
                      <?php
                                        
            if ( $right ) {
                                      
            ?>
                      <td><div id="right_outer">
                          <div id="right_top"></div>
                          <div id="right_inner_float">
                            <div id="right_inner">
                              <?php mosLoadModules 'right', -); ?>
                            </div>
                          </div>
                          <div id="right_bottom"></div>
                        </div></td>
                      <?php
                                  
            }
                                  
            ?>
                    </tr>
                  </table>
                  <div align="center">
                    <div id="copy">
                      <div id="copy_inner" class="copy_inner">Valid <a href="http://validator.w3.org/check?uri=referer" target="_blank">XHTML</a> &amp; <a href="http://jigsaw.w3.org/css-validator/" target="_blank">CSS</a> - Design by <a href="http://ah-68.de" target="_blank">ah-68</a> - Copyright &copy; 2007 by <strong><a href="<?php echo $mosConfig_live_site?>" target="_self">Firma</a></strong></div>
                    </div>
                  </div></td>
              </tr>
            </table>
            <?php mosLoadModules'debug', -);?>
            <div align="center">
            <a href="http://www.ctxtra.de/" target="_blank" >
            <img src="images/ctrackerXtra.png" border="0" alt="This Site is protected by ctrackerXtra" title="This Site is protected by ctrackerXtra">
            </div>
            </html>

            Kommentar


            • #7
              Den Code musst du genau an die Stelle einfügen, wo er auch später zu sehen sein soll.

              Kommentar

              Lädt...
              X