spacer
NC State University Home  College of Textiles Home
Search this site:
 
Intranet
Submit A Calendar Event
IT Projects
CAT 6 Rewiring Project
Computer/Software Order Status
Distance Education Classes
Use the Image Database
Departments
Textile & Apparel Technology & Management
Textile Engineering, Chemistry & Science
Textile Extension Education For Economic Development
TexLabs - Analytical and Product Development Services
Academic Programs
Business Services
Student & Career Services
Centers, Programs & Initiatives
People
Intranet
ITT Alliance
Comments/Suggestions
Home --> Information Technology

CF/JS Menu Change

Put this in the HEAD section(substitute your form name for myform):

<script language="JavaScript">
function change(){
document.myform.submit();
}
</script>

Put this in the body:

<form name="myform" method="post" action="">
<select name="item" onchange="change();">
<cfif IsDefined("Form.item")>
<cfoutput>
<option <cfif #Form.item# EQ "">selected</cfif>>Choose an item..</option>
<option value="1" <cfif #Form.item# EQ "1">selected</cfif>>item1</option>
<option value="2" <cfif #Form.item# EQ "2">selected</cfif>>item2</option>
</cfoutput>
<cfelse>
<option>Choose an item</option>
<option value="1">item1</option>
<option value="2">item2</option>
</cfif>
</select>
</p>
<p>
<cfif IsDefined("Form.item")><cfoutput>#Form.item#</cfoutput></cfif>
</p>
</form>

 
TCO
Support
Student Computing
Computer Labs
Nomadic/Wireless Coverage
Order Status
TCO Staff
 
Media Services
CD/DVD Media
Online Tutorials
Media Check History
Streaming/Recording Links
Web Services
Current/Past Projects
Server Structure
Wolfware/WebCT/Webassign
Free Images and Music
Code Examples
Cold Fusion Help
spacer
spacer