<title> Dynamic Pull-down Menu </title>
<style>
Select.smallsel
{
Background-color:white;
COLOR: #000080;
Font-size:9pt
}
</style>
<script language=javascript>
<!--hide from old browsers ...
/* Dynamic Pull-down menu--written by Taylor Chen (Taylor999)
If you find any questions, please email me, Taylor@etang.com
*/
var info = new Array (
"Essay * The lie behind | The academician equivalent to the Deputy provincial? | A few jiling for education | A case of a budget black hole | The official is not expensive, the people are not cheap | saved trouble |
Sedan than Sedan said | This is a separate | Blood and tears of the joke | give Zhang Yimou untie! ",
"Life essay * Mulan beautiful? | An old ticket | Smell of wine | Time Tunnel | Last cashing ",
"Selected Essays * families also have democracy |" "Association of Treatment" | " Farmers are "not adjectives | Just a little bit more",
"Reader *" The tragedy of the contemporary "Shi Zi" | talk about the procedure | The director said to the people said | "In fact very clever");
var infoa=new Array (
"Focus on the topic * Anhui: state-owned enterprise leaders can be overage service | How to spend money in the new Century | Wuhan: Enterprises will bid farewell to administrative level",
"Book Bookstore * Lust",
"Taste garden" decipher "Chinese mystery" may read "Gossip about the Chinese" | A treat to eat le infinity | walk around up FLOAT | The literati will also be rich
To do and enjoy the ——— and Bai jokes to pick up | than who wrote thick ",
"Global Folk" * France built Green School | The Russian first lady talks about love history | The French brain drain has a reason | German computer talent can make an exception |
National Munich Beer Festival ",
"Character Spring and Autumn * I know the Hu Qiaomu's | self-confidence, meet the Globalization | Red and Black");
var mywork= new Array ("", INFO,INFOA);
/************************************************************************************************
******/
function Stringsplit (string, delimiter) {
if (string = null | | | string = = "") {
return null;
else if (string.split!= null) {
Return String.Split (delimiter);
} else {
var ar = new Array ();
var i = 0;
var start = 0;
while (start >= 0 && Start < string.length) {
var end = String.IndexOf (delimiter, start);
If (end >= 0) {
ar[i++] = string.substring (start, end);
start = end+1;
} else {
ar[i++] = string.substring (start, string.length);
start =-1;
}
}
return ar;
}
}
/************************************************************************************************
******/
var menu1 = new Array ();
var menu2 = new Array ();
/************************************************************************************************
******/
function Createmenus (WH) {
var infoname = new Array ();
INFONAME=MYWORK[WH];
for (Var i=0 i < infoname.length; i++) {
Menu1[i] = Stringsplit (Infoname[i], ' * ');
Menu2[i] = Stringsplit (menu1[i][1], ' | ');
}
var author = document.myForm.main;
var book = Document.myForm.title;
function Updatemenus (what) {
var sel = What.selectedindex;
if (sel >= 0 && sel < menu1.length)
var temp = Menu2[sel];
Else
var temp = new Array ();
What.form.title.length = Temp.length;
for (var i = 0; i < temp.length; i++) {
What.form.title.options[i].text = Temp[i];
What.form.title.options[i].value = Temp[i];
}
What.form.title.selected=0;
}
End of hiding-->
</script>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service