It works great in FF, but when I test in IE it DOES SHOW rounded corners and the gradient, but the gradient's corners overflow the rounded corners.......
Any ideas?
Example is here:...
Type: Posts; User: lmbarns; Keyword(s):
It works great in FF, but when I test in IE it DOES SHOW rounded corners and the gradient, but the gradient's corners overflow the rounded corners.......
Any ideas?
Example is here:...
I'm struggling to understand how you pass a js variable into the php file.
I have 2 php files. One selects a record and displays it in a table.
The second is an update.php that I want to use...
I'm trying to build an entry form that takes 2 string input textfields and assigns the input to 2 variables upon submit.
I haven't even started with the php, I'm trying to design the front end...
This is a project for class, I have to do it their particular way, which requires taking a couple textfields for input, adding the entries to a 2d array, and displaying the results in a textArea for...
--Background:
I've made simple forms on my bluehost account and used their cgi script to handle it when they submit it, which just populates an email with the information and forwards it to a couple...
I ended up finding it was my "Use hardware acceleration" setting in firefox that breaks it. If I uncheck it, it loads the larger maps. I think my video card is probably going...
Thanks for responding. I'm on a win 7 machine. I imagine it's probably going to max the cpu even idle because of some setinterval() functions set with an interval of 1, aren't those in milliseconds? ...
That pretty much explains it. Sadly FF seems to be different from the other browsers.
It does loop through a couple arrays, and create a couple new arrays. It hangs at the point where it's...
Google chrome runs my javascript tile engine over 200fps, safari more than 120fps, with a map size 500 tiles x 300 tiles with no limit in site! (runs same speed with 150,000 tiles as it did at 1,000...
I'm trying to figure it out myself. This is the functionality I'm looking for http://vimeo.com/24149718 which is part of an article at AT&T Developer website...
Could you not "stage" the data on the client with localstorage, then if they want to make the order they "submit" it to the server with the php?
edit::I got node.js up and running and think it's going to be better for me instead....
edit again: Tried adding onclick to the div when it's created, but have been having trouble getting it working right. Currently:
pack.innerHTML += '<div id="'+i+'" class="clickable"...
Thanks for the clarification. It ended up still not working, then I realized I'm an idiot. Dropping the quotes made the "active" property a boolean, which is what I wanted, but still gave the...
I don't get it, if I declare things manually it works fine, if I use a constructor to make the same object with same set of properties I can console.log that the correct properties and values are...
In an html5 game using javascript in notepad. So far I've been using just 1 of each type of object. When you kill a monster, it's quickly moved off the canvas to -1000x, then when it's respawned it's...
Thank you for such a quick response. Happy new year.
Exactly what I was looking for. Never seen the "+" used after the = other than to concatenate(sp?) things together or increment stuff.
I had this going so well and hit another roadblock that seems like it should be way simpler than I'm making it.
I made several other arrays following this format and they're amazing. I made a...
Ugh, thank you so much John. Honestly you need to make games, you could pump them out in no time......
Was it because I was testing locally that it didn't work? The code you just posted doesnt...
That gave a new error
I don't have a clue what that url is to ^^ atdmt.com has nothing to do with anything I'm writing...must be from the json library? I downloaded the json2 file off google...
Sorry it was
Closest thing I've gotten towards working is this:
if(localStorage.getItem('index0') < playerLoot[lootArray[0]]){ console.log('bingo! ');
}
That actually now throws...
Are the individual "properties" objects as well? Reason I ask is because
function test() {
localStorage.setItem('lootIndex0', playerLoot[lootArray[0]]);
localStorage.getItem('lootIndex0'); //...
Thank you so much guys. I realized I was confused, initially I thought I was using arrays, then after endless reading through searches it was apparent that hash tables != arrays....
Before...
var lootedItem;
var loot = {
"silver": 3,
"bronze": 3,
"copper": 3,
"platinum": 1,
"iron": 5,
"stone": 5
};
edit::Jeez I think I got it to work, of course i post it and 5 min later I solve it after trying to solve it for more than 6 hours I didn't have
div.style.width = baseval + "px";
ugh, it still...