Hjælp til 3d
Hejsa.Jeg har arbejdet med en del PHP og MYSQL så nu er jeg gået i krig med en 3d chat :O
Jeg har fået lavet mig et script til at rykke brugerne rundt med osv.. Men nu mangler jeg sq en kode der hedder : flyt_objekt.php
Og nu vil jeg gerne lige have hjælp til indholdet i flyt_objekt.php jeg har sat ´200 (da det er det højeste man kan afsætte) point fordi jeg ved det er en svær fil ;)
Men i kan jo ikke rigtig løse mit problem hvis i ikke har "move" scriptet.
Så det får i her... :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link href="css/style.css" type="text/css" rel="stylesheet">
</head>
<body>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
<script language="JavaScript" type="text/javascript">
function flyt_objekt(felt) {
window.objekt_flyt.location.href = "flyt_objekt.php?felt="+felt;
}
</script>
</body>
<script language="JavaScript">
<!--
window.open = SymRealWinOpen;
//-->
</script>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link href="css/style.css" type="text/css" rel="stylesheet">
</head>
<body>
<iframe width="0" height="0" name="objekt_flyt" src=""></iframe>
<iframe width="0" height="0" name="actions" src=""></iframe>
<iframe width="0" height="0" name="objekt_load" src="load.php"></iframe>
<div class="topic" align="left"></div>
<table cellspacing="0" cellpadding="0" width="21" height="41" border="1">
<tr>
<!-- Tabel 1 starter -->
<td width="58" height="86" onclick="flyt_objekt(1);"><div id="1"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(2);"><div id="2"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(3);"><div id="3"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(4);"><div id="4"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(5);"><div id="5"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(6);"><div id="6"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(7);"><div id="7"><img src="gfx/none.gif" width="58" height="86"></div></td>
<!-- Tabel 1 slutter -->
</tr>
<tr>
<!-- Tabel 2 starter -->
<td width="58" height="86" onclick="flyt_objekt(8);"><div id="8"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(9);"><div id="9"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(10);"><div id="10"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(11);"><div id="11"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(12);"><div id="12"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(13);"><div id="13"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(14);"><div id="14"><img src="gfx/none.gif" width="58" height="86"></div></td>
<!-- Tabel 2 slutter -->
</tr>
<tr>
<!-- Tabel 3 starter -->
<td width="58" height="86" onclick="flyt_objekt(15);"><div id="15"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(16);"><div id="16"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(17);"><div id="17"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(18);"><div id="18"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(19);"><div id="19"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(20);"><div id="20"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(21);"><div id="21"><img src="gfx/none.gif" width="58" height="86"></div></td>
<!-- Tabel 3 slutter -->
</tr>
<tr>
<!-- Tabel 4 starter -->
<td width="58" height="86" onclick="flyt_objekt(22);"><div id="22"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(23);"><div id="23"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(24);"><div id="24"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(25);"><div id="25"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(26);"><div id="26"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(27);"><div id="27"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(28);"><div id="28"><img src="gfx/none.gif" width="58" height="86"></div></td>
<!-- Tabel 4 slutter -->
</tr>
<tr>
<!-- Tabel 5 starter -->
<td width="58" height="86" onclick="flyt_objekt(29);"><div id="29"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(30);"><div id="30"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(31);"><div id="31"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(32);"><div id="32"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(33);"><div id="33"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(34);"><div id="34"><img src="gfx/none.gif" width="58" height="86"></div></td>
<td width="58" height="86" onclick="flyt_objekt(35);"><div id="35"><img src="gfx/none.gif" width="58" height="86"></div></td>
<!-- Tabel 5 slutter -->
</tr>
</table>
</body>
<script language="JavaScript">
<!--
window.open = SymRealWinOpen;
//-->
</script>
</html>
Håber der er nogen der vil hjælpe ..