Search:
Type: Posts; User: cyberfox
Search :
Search took 0.01 seconds.
it would be so very delicious if you would be so kind.
http://www.freefilehosting.net/project_4
altho as code changed and the need to have a copy of the array has disappeared
but i would still...
i know the difference, i use slice to get a fragment of and array, and splice to add objects to the array.
but i don't know why its saying that splice no longer exists after applying your function.
ok i found a solution somewat.
after using the function u gave me i delete it:
delete Array.prototype.clone;
oh snap. the Array.splice function apparently starts to fail. Firebug says its not a function.
tilesMap[iy].splice is not a function...
i have a simple piece of code that is basically raping me hard.
var array1=[
[0,0,0,0],
[0,0,0,0],
[0,0,0,0],
[0,0,0,0]
];
ok i found out that i can creating funciton inside an array like:
var gameObjectsList=[
function wanker(){
this.velocity=54;
this.length=8;
this.update=function(){
}
i dunno if its me that's a stupid simpleton. The thing you're trying to achieve would it be possible to achieve by just appending text like this:
document.getElementById().innerHTML+='<fieldset...
word wrapping is just a displaying function. i don't think it cares about line numbering. u could measure the height of the element that the text is in and divide it by line-height.
ok so title might be misleading, but i don't really know how to express it shortly.
What im trying to create is a grid where i have a cursor i control with the arrow keys. Now i want to be able to...
that explains. so only firefox can run from file:.
thnx for the help ^^
clever solution, ill use that instead, but it still wont work in chrome:
http://localhostr.com/files/obJMYCW/readFile.html
actually i found something in html5. its very quirky but...
var reader = new FileReader();
function readText(){
reader.readAsText(document.getElementById("file1").files[0]);...
I've been googling for a few hours on this with no luck.
im wondering if its possible to have a <input type="file"> and pass that data into a variable (and then execute it as code using eval())
...