PDA


View Full Version : help fixing a costum module ? :) plz


easyskillz
02-17-2006, 01:06 PM
Ok here is the deal

i put this code in the module :

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
<script language="JavaScript"><!--
function goThere(form){
var linkList=form.selectThis.selectedIndex
if(!linkList==""){window.location.href=form.selectThis.options[linkList].value;}
}
//--></script>
</head>

<body>
<form name="dropMenu" id="dropMenu">
<p>
<select name="selectThis" size="1" onchange="goThere(this.form);">
<option selected="selected" value="">Select </option>
<option value="">-Casablanca- </option>
<option value="http://www.maroceve.com/index.php?page=zouma">---Zouma Club </option>
<option value="http://www.maroceve.com/index.php?page=pulp">---Pulp Club </option>
<option value="">-Rabat- </option>
<option value="http://www.maroceve.com/index.php?page=platinium">---Platinium </option>
<option value="">-Marrakech- </option>
<option value="http://www.maroceve.com/index.php?page=theatro">---Theatro </option>
<option value="http://www.maroceve.com/index.php?page=pacha">---Pacha </option>
</select>
</p>
</form>
<p>&nbsp;</p>
</body>
</html>



and i get this wierd problem :( ..My menu bar is outside of the module :(.

http://www.maroceve.com/images/grr.jpg

Brian
02-18-2006, 07:52 PM
There's no reason to have any of that code you have before and including your <body> tag.