»
AnglaisFran�aisVietnamien

Imprimer - Animated Link Box script - JavaScriptBank.com

Version compl�te: jsB@nk » Form » Dropdown » Animated Link Box script
URL: https://www.javascriptbank.com/animated-link-box-script.html

Animated Link Box script © JavaScriptBank.comLorsque les visiteurs cliquent sur le bouton spécifié, le code fait que l'option clignotant.

Version compl�te: jsB@nk » Form » Dropdown » Animated Link Box script
URL: https://www.javascriptbank.com/animated-link-box-script.html



JavaScript
<script><!--//Animated Link Box script- By Website Abstraction JavaScript site//specify # of frames for animation (integer above 2)var setframes=6/////no need to edit below here///////////var selected=-1var switchit=-1var cycle=0function animate_go(){if (cycle>=setframes){document.take.take2.selectedIndex =selectedwindow.location=document.take.take2.options[document.take.take2.selectedIndex].valuereturn}switchit=(switchit==-1)? selected : -1document.take.take2.selectedIndex =switchitcycle++setTimeout("animate_go()",100)}//-->          </script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<form name="take"><table border="0" cellspacing="0" cellpadding="0">    <tbody><tr>      <td width="100%">        <select name="take2" size="5" style="width: 200px;">            <option value="http://javascriptbank.com">JSBank</option>            <option selected="selected" value="http://javascriptbank.com/">JSBank</option>            <option value="http://javascriptbank.com/">Item 1</option>            <option value="http://javascriptbank.com/">Item 2</option>            <option value="http://javascriptbank.com/">Item 3</option>         </select></td>    </tr>    <tr>      <td width="100%"><div align="center"><p><input type="button" value="Go there&gt;&gt;" name="B1" onclick="selected=document.take.take2.selectedIndex;cycle=0;animate_go()"></p></div></td>    </tr>  </tbody></table></form><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->