Jump to content

The last poster wins


TheCalliton

Recommended Posts

Muahahaha! I have figured it out! I was trying to use a method that simply wouldn't work for what I was trying to achieve.

 

This is what I've got now...

<html>

<head>
	
	<script language="javascript">
	function showimage()
	{
		if (!document.images)
		return
		document.images.pictures.src=document.myimages.picture.options[document.myimages.picture.selectedIndex].value
	}

	</script>

</head>

<body>

	<table border="0" cellspacing="0" cellpadding="0">
	<tr>
	<td width="100%"> <form name="myimages"> <p>
	<select name="picture" size="1" onChange="showimage()">
	<option selected value="maps.gif">Maps</option>
	<option value="weather.gif">Weather</option>
	<option value="beach.gif">Beach Conditions</option>
	<option value="traffic.gif">Traffic</option>
	</select>
	</p>
	</form>
	</td>
	</tr>
	<tr>
	<td width="100%"><p align="center"><img src="me.gif" name="pictures" width="99" height="100"></td>
	</tr>
	</table>

</body>

</html>

This is working, so yeah, all good.

(I used Google for some help, I'll admit. Reckon I'll need to reference my source if I'm handing this in with my assignment?)

Edited by billyro
Link to comment
Share on other sites

Hmm lol i have to really crank up the audio to drive my sennheiser px 250 to a proper loudness, its at around 60db on the volume control on my HD Pioneer receiver.

 

Even with a decent sound card.. :teehee: The headphone dac on the Pioneer isn't the greatest, sounds a tad flat.

Edited by Thor.
Link to comment
Share on other sites

Muahahaha! I have figured it out! I was trying to use a method that simply wouldn't work for what I was trying to achieve.

 

This is what I've got now...

<html>

<head>
	
	<script language="javascript">
	function showimage()
	{
		if (!document.images)
		return
		document.images.pictures.src=document.myimages.picture.options[document.myimages.picture.selectedIndex].value
	}

	</script>

</head>

<body>

	<table border="0" cellspacing="0" cellpadding="0">
	<tr>
	<td width="100%"> <form name="myimages"> <p>
	<select name="picture" size="1" onChange="showimage()">
	<option selected value="maps.gif">Maps</option>
	<option value="weather.gif">Weather</option>
	<option value="beach.gif">Beach Conditions</option>
	<option value="traffic.gif">Traffic</option>
	</select>
	</p>
	</form>
	</td>
	</tr>
	<tr>
	<td width="100%"><p align="center"><img src="me.gif" name="pictures" width="99" height="100"></td>
	</tr>
	</table>

</body>

</html>

This is working, so yeah, all good.

(I used Google for some help, I'll admit. Reckon I'll need to reference my source if I'm handing this in with my assignment?)

 

Glad you got it figured out.

I don't think you need to reference the source, you just looked up on some code cheat sheets anyway that's totally ok for coders.

 

 

And yes it's hot, bugs are everywhere, there's a storm going on atm and its Thursday. I hate Thursdays.

Link to comment
Share on other sites

Good thing about the southern hemisphere: it's getting to winter about now. I am sitting here enjoying a beautiful breeze through my window, while you guys are sweating bullets without even doing anything. :D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...