Click here to Skip to main content
15,891,184 members
Articles / Web Development / HTML

Dropdown list using an IFrame

Rate me:
Please Sign up or sign in to vote.
3.40/5 (13 votes)
19 Mar 2006CPOL 51.5K   553   20  
Creating a dropdown list using an IFrame
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0022)http://www.codeproject.com/ -->
<HTML>
	<HEAD>
		<LINK href="styles.css" type="text/css" rel="stylesheet">
		<SCRIPT language="javascript" src="popup.js"></SCRIPT>
	</HEAD>
	<body>
		<form name="Form1">							
			<input name="txtName" type="text">
			<A href = "javascript:ShowPopup(document.Form1.txtName, document.Form1.imgDropDown);">
			<IMG name="imgDropDown" align="middle" src="dropdown.jpg" border="0"></A><br>
			<select><option>any format<option>Adobe Acrobat PDF (.pdf)<option>Microsoft Word (.doc)</select>
		</form>
	</body>
</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
William is currently working for Toshiba. His programming experience includes C/C++, C#, MFC, Java, ASP.NET and SQL. His Internet experience includes XML, SOAP and UI design. He is MCSD.NET, MCDBA and MCT certified and has a MS degree in CS.

Willaim was born in Taiwan but lives in USA. For relaxation he enjoy traveling and art.

Comments and Discussions