Script Categories

Messages >>> Rotating Pulldown Menu.

Rotates site messages in a pulldown menu every few seconds. A good way to conserve screen space and even allows the user to simply click the pulldown menu to view all the messages at once.

Add the below code to the <body> section of your page:

<form name=menuform><select size=1 name="msg"> <option>You can lead a horse to water but cannot make it drink.
<option>Time flies like an arrow but fruit flies like a banana.
<option>Call me anything you like but don't call me late for dinner.
<option>I don't know what WW3 will be like but WW4 will be of sticks and stones.
<script language="javascript" type="text/javascript">      
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function rotate() {
menu = document.menuform.msg;
chosen = menu.selectedIndex;
menu.selectedIndex= (chosen == (menu.length-1)) ? 0 : chosen + 1;
// End -->

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

Online casino