flash改成JS实现

     <SCRIPT language=JavaScript type=text/javascript>
         <!--
         var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
         if (hasReqestedVersion) {
          AC_FL_RunContent(
           'codebase','//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0',
           'width','800',
           'height','170',
           'src','../images/flash/FlashNavigation',
           'quality','high',
           'pluginspage','//www.macromedia.com/go/getflashplayer',
           'FlashVars', 'variable=contact us'
          );
         } else {
          var alternateContent = '';
//          alternateContent += '<div><img src="../images/nav/Contact_Nav.jpg" width="800" height="170" border="0" alt="" usemap="#navmap" /></div>';
                                        alternateContent += '<div><img src="Nothing_Nav.jpg" width="800" height="170" border="0" alt="" usemap="#navmap" /></div>';

          
          alternateContent += '<div class="navsubnav"><img src="../images/nav/subnav_empty.jpg" width="800" height="44" border="0" alt="" usemap="#subnav_emptylinks" /></div>';
          alternateContent += '<div id="ourstory_rollover" class="navroll"><a href="../ourstory/index.aspx"><img src="../images/nav/ourstory_rollover.jpg" width="88" height="45" border="0" alt="" /></a></div>';
          alternateContent += '<div id="ourstory_char" class="navchar"><img src="../images/nav/ourstory_char.jpg" width="246" height="80" border="0" alt="" /></div>';
          alternateContent += '<div id="ourstory_subnav" class="navsubnav"><img src="../images/nav/ourstory_subnav.jpg" width="800" height="44" border="0" alt="" usemap="#ourstorylinks" /></div>';
          alternateContent += '<div id="locations_rollover" class="navroll"><a href="../locations/storelocations.aspx"><img src="../images/nav/locations_rollover.jpg" width="84" height="45" border="0" alt="" /></a></div>';
          alternateContent += '<div id="locations_char" class="navchar"><img src="../images/nav/locations_char.jpg" width="229" height="80" border="0" alt="" /></div>';
          alternateContent += '<div id="locations_subnav" class="navsubnav"><img src="../images/nav/subnav_empty.jpg" width="800" height="44" border="0" alt="" /></div>';
          alternateContent += '<div id="services_rollover" class="navroll"><a href="../services/index.aspx"><img src="../images/nav/services_rollover.jpg" width="77" height="45" border="0" alt="" /></a></div>';
          alternateContent += '<div id="services_char" class="navchar"><img src="../images/nav/services_char.jpg" width="232" height="80" border="0" alt="" /></div>';
          alternateContent += '<div id="services_subnav" class="navsubnav"><img src="../images/nav/services_subnav.jpg" width="800" height="44" border="0" alt="" usemap="#serviceslinks" /></div>';
          alternateContent += '<div id="parties_rollover" class="navroll"><a href="../parties/index.aspx"><img src="../images/nav/parties_rollover.jpg" width="70" height="45" border="0" alt="" /></a></div>';
          alternateContent += '<div id="parties_char" class="navchar"><img src="../images/nav/parties_char.jpg" width="253" height="80" border="0" alt="" /></div>';
          alternateContent += '<div id="parties_subnav" class="navsubnav"><img src="../images/nav/parties_subnav.jpg" width="800" height="44" border="0" alt="" usemap="#partieslinks" /></div>';
          alternateContent += '<div id="franchising_rollover" class="navroll"><a href="../franchising/index.aspx"><img src="../images/nav/franchising_rollover.jpg" width="104" height="45" border="0" alt="" /></a></div>';
          alternateContent += '<div id="franchising_char" class="navchar"><img src="../images/nav/franchising_char.jpg" width="246" height="80" border="0" alt="" /></div>';
          alternateContent += '<div id="franchising_subnav" class="navsubnav"><img src="../images/nav/subnav_empty.jpg" width="800" height="44" border="0" alt="" /></div>';
          alternateContent += '<div id="jobs_rollover" class="navroll"><a href="../jobs/index.aspx"><img src="../images/nav/jobs_rollover.jpg" width="43" height="45" border="0" alt="" /></a></div>';
          alternateContent += '<div id="jobs_char" class="navchar"><img src="../images/nav/jobs_char.jpg" width="240" height="80" border="0" alt="" /></div>';
          alternateContent += '<div id="jobs_subnav" class="navsubnav"><img src="../images/nav/subnav_empty.jpg" width="800" height="44" border="0" alt="" /></div>';
          alternateContent += '<div id="contact_rollover" class="navroll"><a href="../contact/index.aspx"><img src="../images/nav/contact_rollover.jpg" width="94" height="45" border="0" alt="" /></a></div>';
          alternateContent += '<div id="contact_char" class="navchar"><img src="../images/nav/contact_char.jpg" width="239" height="80" border="0" alt="" /></div>';
          alternateContent += '<div id="contact_subnav" class="navsubnav"><img src="../images/nav/contact_subnav.jpg" width="800" height="14" border="0" alt="" /></div>';
          document.write(alternateContent);
         }
         // -->
         </SCRIPT>

posted @ 2010-05-06 09:42  liuwei0214  阅读(321)  评论(0编辑  收藏  举报