Oh, sorry about that.
I guess I'll revert.
But the thing is, this 'News' section never has its id changed =/
So my much slower function and your get function doesn't really have anything to do with nodeValue returning null =x
I have a few elements that get removed and added again over the course of the users visit.
And so, I changed your 'get' function.
function get (id) {
if if (elements[id] == document.getElementById(id)) {
return elements[id];
} else if (document.getElementById(id)) {
return...
Oh, Got it -____-
I made a call to 'refreshCookies' without giving it a variable.
entries.js, line 300
[EDIT]
Uploaded (again)
Hopefully this will fix it.
Changed it to: refreshCookies(null)
And made refreshCookies not set a string+'.u'/'.p' cookie if 'string' is null
[EDIT=2]
Although, I...
I think I just fixed it ><
Try it again? =x
I just noticed that if you remove all the entries (Assuming you added some) and refresh, the very last entry you removed will still be there =x
Because I made 'refreshCookies' not work if there is nothing in the list.
(Which is what happens when...
Sorry for the long wait ><
I've been going out a lot (New Year's and stuff)
Anyways, here is my entry ^^
I kinda' rushed..
I've also never tried a linked list before, so I decided that now would be a good a time as any.
I don't really know what it is, so I just randomly tried to make one, it...
Posting and participating in potentially legendary thread.
Username: SineCosine
Notable Skills: Reading 3000+ lines of code in Notepad =P
Relevant Languages: HTML, Javascript, CSS, PHP, SQL
Other Notes: More server-side scripting and less client-side scripting. Been AGES since I last touched PHP...
So, I've decided to stop using innerHTML for good and start using textNode.
Problem is, I can't do basic things using textNode =/
alert(get('News').innerHTML);
alert(get('News').firstChild.nodeValue);
First alert gives me the intended effect:
<div>
<center>...
Oh, I'll keep the associative arrays bit in mind ^^
I don't get what '{'key':i}' is =x
It.. Creates an object? o.0
Never seen or used that before ><
And 'Food' is a String array ._.
I call a String constructor on a String ._.
[EDIT]
I should have tested before asking -______-
<html>
<head>...
@TTE
Yea, just filling empty space =x
@JerseyFoo
I've got a lot of questions =x
I have yet to try out the code because there's so much I don't understand ><
var eles = [];
function get(id){
return eles[id] || (eles[id] = document.getElementById(id)) ||...
I apologize for not answering sooner,
I kinda'... Dozed off..
Anyways, I'll try and get only the important bits in.. ><
And I apologize for using capital letters as variable names =x
A habit I have yet to get rid of ><
var Songs = [];
//I have...
I made this blog dedicated to providing information about a music game.
There is a section with the game's Song List.
The Song List contains the following information:
Artist Name
Song Name
Location
Single (A difficulty type)
Double (A difficulty type)
Single Performance (A...