Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » files .swf in sidebar...

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1258 Views
  • Rube_25
    Community Member
    36 Posts

    files .swf in sidebar... Link to this post

    Hi everybody

    I have my sidebar, and I want to include files .swf

    this is what I did:

    <div id="submenubar" class="typography">
       <div class="sidebarBoxAnghie">
          <ul id="Menu2">
              <% control Menu(2) %>
              <% if Children %>
                  <li class="$LinkingMode"><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levela">$MenuTitle</a>
               <% else %>
                    <li><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode">$MenuTitle</a>
                <% end_if %>   
                 <% if LinkOrSection = section %>
                    <% if Children %>
                      <ul class="sub">
                                <span class="roundWhite">
                                <% control Children %>
                                    <li><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levelb">$MenuTitle.LimitCharacters(22)</a></li>
                                <% end_control %>
                     <% end_if %>
                <% end_if %>
             <% end_control %>
          <div class="clear"></div>
    <br />
    <br />

    <script type="text/javascript">startIeFix();</script>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="170" height="130" style="z-index=-100">
                 <param name="movie" value="/themes/pixelgreen/images/process.swf" />
                 <param name="quality" value="high" />
                 <embed src="/themes/pixelgreen/images/process.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="170" height="136" wmode="transparent"></embed>

    <!-- --><script type="text/javascript">endIeFix();</script>



    and it works perfect..

    I want to change the files. swf on different pages, to be dynamyc

    I'm trying to:

    if and else    
    but I get no result...

    please help me ...


    this is my web:

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.