Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 10-22-2007, 10:13 AM   #1 (permalink)
Love.Oasis
banned
 
Join Date: Oct 2007
Posts: 21
Love.Oasis is on a distinguished road
Change Image

I have a page containing a Drop-Down Box, with an image. How do I change the image upon selecting a different option in the Drop-Down Box?

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>

<body>
<select name="select">
  <option selected>Display Image 1</option>
  <option>Display Image 2</option>
  <option>Display Image 3</option>
  <option>Display Image 4</option>
  <option>Display Image 5</option>
</select>
<img src="Image 1.jpg">
</body>
</html>
Love.Oasis is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Status Bar for Image Map links Tehnsuko HTML, XML, Javascript, AJAX 8 06-30-2007 04:54 AM
switch a .gif image in asp.net datagrid rikb53 MS Technologies ( ASP, VB, C#, .NET ) 0 02-17-2006 12:39 PM
Stationary Image joehouse HTML, XML, Javascript, AJAX 4 08-05-2005 07:03 PM
table cell highlight and text change on mouseover EscapeCharacter HTML, XML, Javascript, AJAX 13 09-09-2003 12:28 AM


All times are GMT -8. The time now is 10:16 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting