...

View Full Version : Looking for a guide



AlCapwn
05-05-2010, 12:43 AM
Are there any guides out there on how to make a drop down list with css/html and picking a certain selection from that list will bring you to a certain page on the website?

frankle
05-05-2010, 07:34 AM
Try the code below:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<script>
function web(opt){
location=opt.options[opt.selectedIndex].value
}
</script>
<select onChange="web(this)">
<option value="">---Select---</option>
<option value="http://www.google.com">Google</option>
<option value="http://www.codingforums.com" selected="selected">Coding Forum</option>
</select>
</body>
</html>

Hope it works for you.

Regards.

effpeetee
05-05-2010, 09:27 AM
Quite a lot of help here.
(http://www.exitfegs.co.uk/Sources.html)
Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum