Type: Posts; User: madmenyo
Search took 0.01 seconds.
Fixed it, had to make the "card" a class offcourse...
I am gonna generate floating div that are going from left to right and go down when the container div ends. But they don't go all the way down, the 2nd row largely overlaps the 1st row so...
So i fixed it.... with this code in front of the sent.
var posX = "posX=" + x;
var posY = "&posY=" + y;
var position = posX + posY;
Wich build a single string to pass to. I have...
I got this ajax function
function Ajaxflylocal(x, y)
I need to pass these (x, y) varibales trough to navflylocal.php
Now how to get this array data into my HTML file to load the 9 tiles into my map container with AJAX? I'm hoping to learn this today. I'm not sure if i should somehow pass this PHP array to my html...
Yeah i should have looped trough my query to give each result a different ID.
I got this now:
$mapquery = mysql_query ("
I figured the query probably overwrites mapgen[tileID] therefor it just returns 1 value. If i do a num_rows it actually returns 9 so thats good.
Is there a mysql function that avoids rows being...
Hey i'm trying to create a map for a game. I didn't know where to put this as this thread will handle HTML, CSS, JS, PHP, MYSQL and AJAX.
My experience, (just to show how much i can or can't do)...
It finally works now! Could you explain a little more about the doctype? For what purpose should i use strict.dtd or rather loose.dtd?
Also why does this work:
I'm having a problem with the game() function doing nothing inside firefox. When run in opera or IE it works perfectly but when squareman gets lower then 350 px in firfox nothing happens...