Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

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: 1251 Views
  • Rube_25
    Avatar
    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">
                         <li>
                             <ul>
                                <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 %>
                                </span>
                              </ul>
                           </li>
                       </ul>
                     <% end_if %>
                <% end_if %>
             </li>
             <% end_control %>
          </ul>
          <div class="clear"></div>
          </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>
                </object>

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


          

    </div>

       
    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 ...

    Rube

    this is my web:
    http://draft.processmaker.com/screenshots/

    1251 Views
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.